Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Reply To: Delete lines with a script

attached cabeza.txt

View Article


Reply To: Delete lines with a script

I can honestly say that I don’t understand your message. Is it working? Is it not working? If it isn’t, what is not working and what errors do you observe? This also seems unrelated to the original...

View Article


Reply To: DSC Pull Server Failure

I know WMF 4 was installed because when I first started learning about DSC and using this server it only had PS 3.0 installed, so I downloaded and installed the entire WMF 4. If installing a DSC pull...

View Article

Reply To: PSsession between Two machines which is not in domain

It’s possible, but you can’t use the default Kerberos authentication in that scenario. Off the top of my head, I don’t remember if the PSRemoting commands automatically fall through to NTLM...

View Article

Reply To: PSsession between Two machines which is not in domain

Look for the free E-Book “A Layman’s guide to PowerShell Remoting” http://www.ravichaganti.com/blog/?page_id=1301 I believe page 43 or 34 I’m dyslexic. Anyway it goes on to tell you how to use the...

View Article


Reply To: IIS Log File Maintenance

I know this is not PowerShell but I have been using this service for years and years… http://www.iislogs.com/ It’s a third party utility that runs as a service and manages archiving your IIS Logs for...

View Article

Reply To: Delete lines with a script

Yes Robert. The code you send me works very well and with it also the whole program. I just wanted to share the whole code for you to see. Kind regards. No other help needed for the moment.

View Article

Reply To: PowerShell Web Access – Connectivity Issues

Awesome.. I will have to dig up my copy of it. Thanks!

View Article


Rename-Computer error

Trying to rename a remote computer how I get the error “Cannot establish the WMI connection to the computer ‘computer’ with the following error message: Not Found.” I am specifying domain creds I can...

View Article


Reply To: PSsession between Two machines which is not in domain

I’ll actually suggest the remoting book at powershell.org/wp/ebooks which includes a full walk through of how to set this up.

View Article

AD Module on SBS 2008

I am new to Powershell and have version 3 installed on an SBS 2008 server and on a Win7 machine with remote administration installed. Is there a way I can use the AD module/commands (I.e. ADComputer,...

View Article

Reply To: AD Module on SBS 2008

Install the RSAT on a client. Install the AD Web Service on the server. Run the commands on your client.

View Article

Reply To: AD Module on SBS 2008

Well, on Windows Server 2008, you could download and install the AD Management Gateway Service on the domain controller. http://www.microsoft.com/en-ca/download/details.aspx?id=2852 I don’t know...

View Article


Image may be NSFW.
Clik here to view.

Reply To: DSC Lab using Brix

Still learning here, and have a little to play around with it. I’m assuming unattended install so that you can spin up a VM and basically have it assigned an IP address and stuff so you don’t actually...

View Article

Reply To: DSC Lab using Brix

I actually set the VM up to a point manually and then snapshot that. That way part of what I demo is doing the rest with DSC. Then roll back and start over. I wrote some commands on the host that...

View Article


Reply To: DSC Lab using Brix

Ah, gotcha. I think that’s going to be a little more than what I can do initially, but it gives me good ideas for where to go. I think I may start with the unattended install to get it up to bare...

View Article

Security group to computer object?

Good day, I was attempting to take a domain local group, add them to the security of a computer object and provide them read access. This will be for every computer object in an ou. For instance...

View Article


Add multiple instances of a noteproperty to an object

Hello all, I’ve got a list of ADSiteNames and Subnets. My ideal output is: Name: SiteName Subnets: subneta subnetb subnetc So that I could pipe this on to a further command and do somethning with each...

View Article

Image may be NSFW.
Clik here to view.

Reply To: Add multiple instances of a noteproperty to an object

hi, Kind of hard when we don’t have the “source-data” of your $sites variable You could use the export-clixml cmdlet next time and add the xml from that as a file attatchment. That way we can import...

View Article

Reply To: AD Module on SBS 2008

I was able to in stall Remote admin tools on my Win 7 machine including the AD module for powershell. That works fine. On my SBS 2008 SP2 I tried downloading the web service from this link below and...

View Article
Browsing all 13067 articles
Browse latest View live