Removing DSM PowerShell drives

Removes the specified PowerShell drive(s).


In order to remove all connected DSM PowerShell drives, you can use the Remove-EmdbDrive cmdlet without any parameters:


Alternatively you can use the Name-parameter and specify a wildcard:

Remove-EmdbDrive -Name *

In case you have several connected drives and want to disconnect a specific one, you specify the name of the drive in question:

Remove-EmdbDrive -Name dsm_test