powershell-toolkit icon indicating copy to clipboard operation
powershell-toolkit copied to clipboard

Optimize-Unmap cmdlet

Open barkz opened this issue 9 years ago • 0 comments

This cmdlet is still under development as a pre-release. There are numerous PowerCLI errors that need to be addressed.

Example: get-scsilun : 19.05.2016 13:38:56 Get-ScsiLun Object reference not set to an instance of an object. At C:\Program Files\Pure Storage\PowerShell\Modules\PureStoragePowerShellToolkit\PureStoragePowerShellToolkit.psm1:113 char:11 $lun = get-scsilun -datastore $datastore | select-object -last 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : NotSpecified: (:) [Get-ScsiLun], VimException FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.GetScsiLun WARNING: The Get-EsxCli cmdlet provides a new interface to the ESXCLI functionality. Use the -V2 parameter to switch to the new cmdlet interface Check the cmdlet help for more information. Scripts that use the old cmdlet interface may not be compatible across two different versions of the ESX server. The old cmdlet interface is deprecated and will be removed in a future version. get-esxcli : 19.05.2016 13:38:56 Get-EsxCli Value cannot be found for the mandatory parameter VMHost At C:\Program Files\Pure Storage\PowerShell\Modules\PureStoragePowerShellToolkit\PureStoragePowerShellToolkit.psm1:114 char:12 $esxcli=get-esxcli -VMHost $esx

barkz avatar May 23 '16 15:05 barkz