Test-UserLoggedOn
PackageDeployment Module Help |
Package Deployment Module |
Test-UserLoggedOn Cmdlet |
Version 4.0.0.5 |
Test-UserLoggedOn
Synopsis
Checks if a user is logged on to the workstation.
Syntax
Test-UserLoggedOn [-Username] <String> [-ContinueOnError] [<CommonParameters>]
Description
Checks if a user is logged in to the workstation. Use * as the username if you want to test if any user is logged in or specify the username you want to check for.
Parameters
-Username <String> |
||||||
The name of the user. Wildcards (? *) can be used. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |