Tag Info

Hot answers tagged


can I put PowerCLI "code" (Cmdlets, etc.) inside a PS1 file, along with other PowerShell code, and execute it like a normal PS1? Yes. But if you want it to work as expected (as when you use the PowerCLI console) you'll need to initialize the environment. You can see how this is done by examining the shortcut "VMware vSphere PowerCLI.lnk", the target ...

Only top voted, non community-wiki answers of a minimum length are eligible