PowerShell connectivity methods to Devolutions Server
Method 1: Using Remote Desktop Manager Cmdlets
$dsname = "DVLS PowerShell"
$ds = Get-RDMDataSource -Name $dsname
# If the workspace doesn't exist, create it.
if ([string]::IsNullOrEmpty($ds))
{
$dsname = "DVLS PowerShell"
$dsurl = "https://your_dvls_url"
$appkey = "your_appkey"
$appsecret = "your_appsecret"
$ds = New-RDMDataSource -DVLS -Name $dsname -Server $dsurl -ScriptingTenantID $appkey -ScriptingApplicationPassword $appsecret -SetDatasource -WarningAction SilentlyContinue
Set-RDMDataSource $ds
}
Set-RDMCurrentDataSource $dsMethod 2: Using Devolutions Server Cmdlets
See also
PreviousEssential information about credential property GUIDs in Devolutions ServerNextRun as custom PAM providers PowerShell scripts with execution context
Last updated
Was this helpful?