Load PowerCLI into the PowerShell session as a module

Last year, VMware wrote about “PowerCLI 6.0 – Introducing PowerCLI Modules.” Although I’ve been using PowerCLI 6.0 since then, I missed the note from Alan Renouf that made it easy to load all of the PowerCLI functionality into a PowerShell session as a module instead of having to launch PowerCLI. Here was his tip/trick: 1 …

Running PowerShell as different user

If you want to launch PowerShell as a different user other than administrator, you won’t find a Run As menu to enter other credentials. After a bit of searching, I found that the following code works best in launching a new PowerShell windows as a different user. 1 2 3 4 5 6 7 8 …