Retrieving DSM PowerShell drives

Retrieves the specified DSM PowerShell drive(s).


Examples:


The following example retrieves all currently connected DSm PowerShell drives:


Get-EmdbDrive


If you just want to retrieve a dedicated drive, e.g. the one with the name "emdb", you specify the Name-parameter and use the code below:


Get-EmdbDrive -Name "emdb"


If, for example, you want to know, if the communication with the BLS is done via http oder encrypted via https, you can store the drive in a variable and then check the UseTLS-property:


$MyDrive = Get-EmdbDrive -Name "emdb"

$MyDrive.UseTLS