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.

Required

True

Position

1

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".