Network Conditions

The following conditions are available in the "Network" tab of the dialog for the If command to create the expression:

  • IsNode / Test-ComputerName (Check workstation name)



    Checks if the workstation has the specified name.

  • IsUserInGroup / Test-UserGroupMembership



    Checks if the current user is a member of the specified group.

  • IsWkStaInGroup / Test-WorkstationGroupMembership



    Checks if the current workstation is a member of the specified group..

  • Test-InternetAccess

    Checks whether the computer has currently access to the Internet.

  • Test-LocalGroup



    Checks if a local group exists.

  • Test-LocalUser



    Checks if a local user exists.

  • 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.