NAME
Add-DcsvCenterDataStore
SYNOPSIS
Adds a VMFS datastore on a virtual disk that is served to a VMware host or virtual machine.
SYNTAX
Add-DcsvCenterDataStore -VimClient <Object> -VirtualDisk <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Adds a VMFS datastore on a virtual disk that is served to a VMware host or virtual machine. The datastore will span the entire virtual disk.
PARAMETERS
- -VimClient<Object>
- VimclientHostData object, name, or ID that identifies the ESXi host or virtual machine. (The VimClientHostData object is a type of ClientHostData and can be retrieved from invoking Get-DcsClient.)
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -VirtualDisk<Object>
- VirtualDiskData object, name, or ID that identifies the virtual disk.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
VirtualDiskData : Object that identifies and describes the virtual disk.
OUTPUTS
NOTES
Also see Get-DcsvCenter, Add-DcsvCenterDataStore, Set-DcsvCenterProperties, Remove-DcsvCenter, Set-DcsvCenterMultipathPolicy
EXAMPLES
Add-DcsvCenterDataStore -VimClient (Get-DcsClient -Client audi.datacoresoftware.com) -VirtualDisk "Virtual disk 1"
The cmdlet Add-DcsvCenterDataStore is invoked and the object used for the parameter VimClient is retrieved by invoking Get-DcsClient for the VMware Host named "audi.datacoresoftware.com". The value of the parameter VirtualDisk is the name "Virtual disk 1".