Skip to content

Invoke-LMUserLogoff

Terminal window
Invoke-LMUserLogoff [-Usernames] <string[]> [<CommonParameters>]

The Invoke-LMUserLogoff function forces one or more users to be logged out of their LogicMonitor sessions.

Terminal window
#Log off multiple users
Invoke-LMUserLogoff -Usernames "user1", "user2"

An array of usernames to log off.

Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.