InstallAware for Windows Installer
 

Find All Computers

This command searches for computers on an Active Directory domain, and returns results in a string variable. The returned computer names are delimited by the | character.

Setup may need to be run using the account of a domain administrator for this command to succeed.

Variable

Enter the variable to hold the results of the search. The list of returned computers includes computers which are currently turned off.

If the search fails, or the command is not being used on a domain, this variable will hold an empty string.

Include domain controllers

Check this option to include all computers on the network in the search results. Deselect it to exclude domain controllers from the search results.

In Current Domain

Select this radio button to seach for computers on the domain that the current user running the setup program has authenticated on.

In Custom Domain

Select this radio button to customize the domain that the search for computers is being conducted upon.

Domain

Enabled only when seaching on a custom domain. Enter the name of the custom domain to use in this field.

The domain must be specified in the correct Active Directory format. For example, if your search domain is installaware.com. the correct Active Directory format to specify this domain is DC=INSTALLAWARE,DC=COM.

Domain Controller

Enabled only when seaching on a custom domain. Enter the name of the domain controller to use in this field.

Use the UNC format when specifying the computer name. For example, enter \\CONTROLLER if the domain controller has been named Controller.

 Notes

  • You may easily navigate the results returned by this command using the For Each...Next loop constructs.