Network Conditions
Network Conditions
The following conditions are available in the "Network" tab of the dialog for the If command to create the expression:
- CheckUserLoggedOn / Test-UserLoggedOn
Checks whether a user is currently logged on to the workstation. Specify * as the user name to check if any user is logged in or the name of the user you want to check for.
- HasInternetAccess / Test-InternetAccess
Checks whether the computer has currently access to the Internet. - IsNode / Test-ComputerName (Check workstation name)
Checks if the workstation has the specified name. - LocalGroupRemove / Remove-LocalGroup
Checks if a local group exists. - LocalUserRemove / Remove-LocalUser
Checks if a local user exists.