Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Optimize-Unmap cmdlet #3

@barkz

Description

@barkz

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions