Function name:
Remove-PCBSVmfsDatastore
Function action:
-
Dismounts and removes an existing Everpure Cloud Dedicated VMFS datastore from AVS.
-
Removes the volume from the Everpure Cloud Dedicated host group and deletes the volume in Everpure Cloud Dedicated.
Invoked when: An Everpure Cloud Dedicated VMFS datastore needs to be removed.
Example:
Remove-PCBSVmfsDatastore -ClusterName "mycluster" -DatastoreName "myDatastore" -AVSCloudName "myAVSCloudName" -AVSResourceGroup "myAVSResourceGroup"
Additional Optional Arguments:
-PureCloudBlockStoreConnection $CBSConnection
If you have multiple Everpure Cloud Dedicated connections in your PowerShell session you may pass this variable to select the Everpure Cloud Dedicated connection you want to use.
-TimeoutInMinutes 60In some environments, the Remove VMFS Datastore function can take long time to complete and script may fail due to a timeout. You can increase the timeout by using this optional argument.