I am running it from inside a PowerCLI window.
Basically I navigate to script1 .. run that script from my main powercli window.. and the code I posted is part of that script.
I am running it from inside a PowerCLI window.
Basically I navigate to script1 .. run that script from my main powercli window.. and the code I posted is part of that script.