Watch-VPASActivePSMSession
Synopsis:
MONITOR ACTIVE SESSION |
Description:
USE THIS FUNCTION TO MONITOR ACTIVE PSM SESSION |
Syntax:
Watch-VPASActivePSMSession -SearchQuery <String> [-OpenRDPFile] [-token <Hashtable>] [<CommonParameters>] |
Watch-VPASActivePSMSession -ActiveSessionID <String> [-OpenRDPFile] [-token <Hashtable>] [<CommonParameters>] |
Watch-VPASActivePSMSession -InputParameters <Hashtable> [-token <Hashtable>] [<CommonParameters>] |
Parameters:
-SearchQuery <String> |
-ActiveSessionID <String> |
-OpenRDPFile [<SwitchParameter>] |
-InputParameters <Hashtable> |
-token <Hashtable> |
<CommonParameters> |
Examples:
$MonitorActiveSessionRDPFile = Watch-VPASActivePSMSession -SearchQuery {SEARCHQUERY VALUE} |
$MonitorActiveSessionRDPFile = Watch-VPASActivePSMSession -ActiveSessionID {ACTIVE SESSION ID VALUE} |
$InputParameters = @{ |
$InputParameters = @{ |
Outputs:
If successful: |
$false if failed |