Created for use when migrating over to PowerCLI 6.5
Functions which can be used to detect where scripts (.ps1) are referencing either the PowerCLI Initialization script or Add-PSSnapin functions to start working with PowerCLI:
Get-PowerCLIInitialization
Get-PowerCLISnapinUse
Function used to update the path to the Initialization script found by the above function:
Update-PowerCLIInitialization
Function used to change from adding in the PowerCLI snapins to now importing the PowerCLI modules:
Update-PowerCLISnapinUse
This script will create a Report of LUNs with Paths that have more than
one unique LUN ID or have more than the defined Paths. Information’s
will be gathered via ESXCLI. This is necessary to report also hidden
Paths!
Script returns thin provisioned info on datastores. Pester file is a way
to validate that future changes made to the script don't break existing
functionality