Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.23 KB

powershell-depot

The place where I dump PowerShell cmdlets

Installation

To run any of these scripts you'll need Windows PowerShell installed (it is built in on Windows 7 and above), and you will need to set an appropriate script execution policy, see: TechNet

'VMware' cmdlets

To run any cmdlets stored under 'VMware' you will need to have vSphere PowerCLI installed (link correct on 27/08/2014).

All cmdlets that use PowerCLI will check to see if the needed PSSnapIns are loaded, and adds them if not. They will also connect to a VIServer (vSphere/vCenter) if the session they are running in does not have an active connection.

To set the server you want to connect to when using PowerCLI, replace ___VCENTER_SERVER___ with the fully qualified domain name of your vSphere/vCenter server.

Conventions

Where possible I will be following Don Jones' Best Practices and Darkoperator's Style Guide.