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> -Action <String> [-token <Hashtable>] [<CommonParameters>] |
Invoke-VPASActivePSMSessionAction -ActiveSessionID <String> -Action <String> [-token <Hashtable>] [<CommonParameters>] |
Invoke-VPASActivePSMSessionAction -InputParameters <Hashtable> [-token <Hashtable>] [<CommonParameters>] |
Parameters:
-SearchQuery <String> |
-ActiveSessionID <String> |
-Action <String> |
-InputParameters <Hashtable> |
-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} |
$InputParameters = @{ |
$InputParameters = @{ |
Outputs:
$true if successful |
$false if failed |