Forum / Remote Desktop Manager - PowerShell Repository

Online Detection - change all to Port Scan

  • Create an Issue
  • Cancel

I implemented the feature to change Online Detection into Port scan into my Powershell script

Example Script to change all Sessions:


$RDMSnapin = Get-PSSnapin -Name *Remote.Desktop* -Registered | sort version -Descending | select -First 1
Add-PSSnapin $RDMSnapin
$RDMSessions = Get-RDM-Session
foreach ($Session in $RDMSession) {
Set-RDM-Property -NoRefresh -ID $Session.id -Property "PingConnectionMethod" -Value 'PortScan'
}

edited by Peter Cermak (POI) on 11/15/2013

Clock7 yrs