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

Reply To: Powershell remoting timeout

That’s a built-in defense mechanism in AD. You’re asking for, potentially, a LOT of data, and it costs the DC a lot to produce it, transmit it, and so on. Your client then has a lot of resources in...

View Article


Reply To: Is Desired State Configuration designed for the masses? How about...

Hey Peter, Regarding scale, the pull service is very scalable, since the majority of the computational work is done out of band in generating the configs. The main scalability concern for the pull...

View Article


Image may be NSFW.
Clik here to view.

Reply To: Powershell remoting timeout

Thanks for the fast and great reply. You always seem to make everything sound so simple Is there a way to cycle through letters like numbers in a foreach loop for(a-z)? Otherwise would I just loop...

View Article

Reply To: Powershell remoting timeout

(BTW, know also that this has nothing to do with Powershell Remoting… it’s an AD thing) I’d just use the pagesize, yeah.

View Article

Need script to import folder list from csv and create a zip file for each folder

Hello, I am trying to import folder list from csv and create a zip file file for each folder . For example : C:\Inetpub\vhost\site1.com C:\Inetpub\vhost\site2.com C:\Inetpub\vhost\site3.com...

View Article


Reply To: Need script to import folder list from csv and create a zip file...

Why don’t you start by sharing some of what you’ve already done, and let us know where you’re having difficulty. It’s a lot easier to answer a question than to try and write an entire script for you.

View Article

Reply To: Need Help with Advanced Functions

Yeah I did get that. I had a brain fart and had to fix something in my script and now it’s working. This forum is great. Everyone responds so quickly. I appreciate everyone trying to help me out with...

View Article

Image may be NSFW.
Clik here to view.

Slightly off topic Question for Don – Lab Machine

Hey Don, I shot you off a facebook message yesterday but then realised you may not actually check your facebook messages. I probably need to get onto this Twitter thing … Anyhow this is probably...

View Article


Reply To: Get-ADComputer Script Best Practice

@Dave Wyatt – Thank you sir.

View Article


Reply To: The CIM namespace root/Microsoft/Windows/DesiredStateConfiguration...

Can anyone direct me further? I am having a heck of a time trying to push anything to a Windows 2008 R2 server. Nothing seems to work. Thanks!

View Article

Reply To: Slightly off topic Question for Don – Lab Machine

I like the BRIX because it’s crazy-portable, which is important to me. A Micro ATX probably offers more options in a larger form factor. For me, the BRIX performance has been stellar. I have an Origin...

View Article

Reply To: Slightly off topic Question for Don – Lab Machine

Awesome thanks Don. I can get away with an i7, 16GB ram and 250GB SSD for just under $1000AUD, which is what I was hoping for. Could probably get away with a micro ATX for about $800, but the...

View Article

Reply To: Need Help with Advanced Functions

Okay, attached is my script. I would greatly appreciate some feedback and constructive criticism if anyone would like to offer that may be able to help me improve it. Thanks again everyone

View Article


Get-AdComputer cmdlet on Windows 2003 SP2 Server

I am using Windows 2003 SP2 as my Domain Controller. I have installed the Active Directory Management Gateway Service which the intention of enabling Get-AdComputer cmdlet in Powershell v2. But...

View Article

Manage PSSessionConfigurations

Dear Powershell community, I’m planning to use a set of powershell endpoints (helpdesk, development, admins, audit,…) to manage a bunch of highly secure workstations. With the...

View Article


Reply To: Get-AdComputer cmdlet on Windows 2003 SP2 Server

The ActiveDirectory module itself requires at least Windows 2008 R2 or Windows 7. It is installed automatically on Domain Controllers that are 2008 R2 or later, but otherwise, you have to install the...

View Article

Reply To: Need Help with Advanced Functions

Your code style is good; nice and readable with consistent bracing and indentation, plus good use of blank lines to group code into logical chunks. In terms of functionality, you’ve kind of tied your...

View Article


WinRM doesn't work from one host?

I’m trying to do some powershell remoting and having issues from one host. I have winRM configured via GPO with trustedhosts * Checking the client settings at WSMAN:\localhost\Client are identical...

View Article

Need help with a broken ForEach

I am attempting to write a script that takes a list of IP address’s, finds alive hosts, then checks to make sure that a specific service is installed. If the service is NOT installed it should be...

View Article

Reply To: Need help with a broken ForEach

You’re checking $sname. I don’t see you defining it anywhere. If the service doesn’t exist, $svc would be null. $sname presumably contains the name of the service you’re looking for. It’ll never be...

View Article
Browsing all 13067 articles
Browse latest View live