Invoke-VPASActivePSMSessionAction
Synopsis:
***FUNCTIONALITY OF THIS FUNCTION IS NOT VALIDATED AT THE MOMENT*** |
Description:
USE THIS FUNCTION TO ACTION ON AN ACTIVE PSM SESSION SUSPEND/RESUME/TERMINATE |
Syntax:
Invoke-VPASActivePSMSessionAction [[-SearchQuery] <String>] [[-ActiveSessionID] <String>] [-Action] <String> [[-token] <Hashtable>] [<CommonParameters>] |
Parameters:
-SearchQuery <String> |
-ActiveSessionID <String> |
-Action <String> |
-token <Hashtable> |
<CommonParameters> |
Examples:
$ActionActiveSessionStatus = Invoke-VPASActivePSMSessionAction -SearchQuery {SEARCHQUERY VALUE} -Action {RESUME/SUSPEND/TERMINATE} |
$ActionActiveSessionStatus = Invoke-VPASActivePSMSessionAction -ActiveSessionID {ACTIVE SESSION ID VALUE} -Action {RESUME/SUSPEND/TERMINATE} |
Outputs:
$true if successful |
$false if failed |