Get-VmfsDatastoreInfo Provides partition information for all the extents in the datastore. Get VmfsDatastoreInfo The function will display partition information for all the extents used by the datastore. Get-VmfsDatastoreInfo Datastore The name of the Datastore or a PowerCLI Datastore object PSObject Datastore The name of the Datastore or a PowerCLI Datastore object PSObject PSObject System.Management.Automation.PSObject System.Object -------------------------- EXAMPLE 1 -------------------------- PS C:\> Get-VmfsDatastoreInfo -Datastore MyDS Will return partition information for the Datastore named MyDS -------------------------- EXAMPLE 2 -------------------------- PS C:\> Get-Datastore -Name My* | Get-VmfsDatastoreInfo This example will return partition information for all the Datastore objects that are returned by the Get-Datastore PowerCLI cmdlet Get-VmfsDatastoreIncrease Displays the increase options for a datastore Get VmfsDatastoreIncrease The function will provide all the Expand and Extend options for a specific datastore Get-VmfsDatastoreIncrease Datastore The name of the Datastore or a PowerCLI Datastore object PSObject Datastore The name of the Datastore or a PowerCLI Datastore object PSObject PSObject System.Management.Automation.PSObject System.Object -------------------------- EXAMPLE 1 -------------------------- PS C:\> Get-VmfsDatastoreIncrease -Datastore MyDS The exmaple will list all Expand and Extend options available for the Datastore, named MyDS -------------------------- EXAMPLE 2 -------------------------- PS C:\> Get-Datastore -Name MyDS* | Get-VmfsDatastoreIncrease The Expand and Extend options for all Datastore retruned by the PowerCLI Get-Datastore will be returned. New-VmfsDatastoreIncrease Increase the capacity of a Datastore New VmfsDatastoreIncrease The capacity of the Datastore in increased through an Expand or an Extend. To allow successful completion there shall be free capacity on one of the Extents, or there shall be free LUNs available. With the Expand or Extend switches the caller selects which type of capacity increase is used. New-VmfsDatastoreIncrease Datastore The name of the Datastore or a PowerCLI Datastore object PSObject CanonicalName The Canonical name of the LUN on which to create a new Extent, or the name of the LUN on which to apply the Expansion. If this parameter is not provided, the function will sort the available LUN alphanumerically on the Canonical names and slect the first one. String IncreaseSizeGB The amount of GB by which to increase the size of the Datastore. If this parameter is not used, all of the available Expand or Extend diskspace will be used. Int32 Expand A switch to indicate if the Datastore shall be Expanded SwitchParameter New-VmfsDatastoreIncrease Datastore The name of the Datastore or a PowerCLI Datastore object PSObject CanonicalName The Canonical name of the LUN on which to create a new Extent, or the name of the LUN on which to apply the Expansion. If this parameter is not provided, the function will sort the available LUN alphanumerically on the Canonical names and slect the first one. String IncreaseSizeGB The amount of GB by which to increase the size of the Datastore. If this parameter is not used, all of the available Expand or Extend diskspace will be used. Int32 Extend A switch to indicate if the Datastore shall be Extended SwitchParameter Datastore The name of the Datastore or a PowerCLI Datastore object PSObject PSObject IncreaseSizeGB The amount of GB by which to increase the size of the Datastore. If this parameter is not used, all of the available Expand or Extend diskspace will be used. Int32 Int32 CanonicalName The Canonical name of the LUN on which to create a new Extent, or the name of the LUN on which to apply the Expansion. If this parameter is not provided, the function will sort the available LUN alphanumerically on the Canonical names and slect the first one. String String Expand A switch to indicate if the Datastore shall be Expanded SwitchParameter SwitchParameter Extend A switch to indicate if the Datastore shall be Extended SwitchParameter SwitchParameter System.Management.Automation.PSObject System.Object -------------------------- EXAMPLE 1 -------------------------- PS C:\> New-VmfsDatastoreIncrease -Datastore MyDS -Expand The capacity of the Datastore, named MyDS, will be Expanded with all available free space on the first extent of the Datastore. -------------------------- EXAMPLE 2 -------------------------- PS C:\> New-VmfsDatastoreIncrease -Name MyDS -Expand -IncreaseSizeGB 25 The capacity of the Datastore, named MyDS, will be Expanded with 25GB on the first extent of the Datastore. Provided if course, this amount of free space is available. -------------------------- EXAMPLE 3 -------------------------- PS C:\> New-VmfsDatastoreIncrease -Datastore 'TestDS' -Expand -IncreaseSizeGB 15 -CanonicalName 'naa.600507680180732f1800000000000011' The capacity of the Datastore MyDS will be increased with 15GB on the extent with the Canonicalname naa.600507680180732f1800000000000011 -------------------------- EXAMPLE 4 -------------------------- PS C:\> New-VmfsDatastoreIncrease -Datastore MyDS -Expand -CanonicalName 'naa.600507680180732f1800000000000012' The capacity of the Datastore MyDS will be increased with all available free space on the extent with the Canonicalname naa.600507680180732f1800000000000012 -------------------------- EXAMPLE 5 -------------------------- PS C:\> New-VmfsDatastoreIncrease -Datastore MyDS -Extend A new Extent will be added to Datastore MyDS. All available free space of the LUN will be allocated. The available LUNs are ordered alphanumerically by their Canonicalname, and the first LUN is used. -------------------------- EXAMPLE 6 -------------------------- PS C:\> Get-Datastore -Name MyDS | New-VmfsDatastoreIncrease -Extend -IncreaseSizeGB 50 The capacity of the Datastore returned by the PowerCLI Get-Datastore cmdlet will be increased by 50GB. This is done by adding a new Extent to the Datastore. The available LUNs are ordered alphanumerically by their Canonicalname, and the first LUN is used.