Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docset/windows/vamt/find-vamtmanagedmachine.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ PS C:\>Find-VamtManagedMachine -QueryType ldap -QueryValue "ldap://domainname/??
This command searches for computers by using an LDAP query.
The search results are restricted to the computers that have LabComp in their name.

### Example 5: Search in a domain and store results in specified database
```
PS C:\>Find-VamtManagedMachine -QueryType ActiveDirectory -QueryValue "DomainName" -MachineFilter "labcomp*" -DbConnectionString "Data Source=localhost\SQLEXPRESS;Initial Catalog=VAMT;Integrated Security=True;MultipleActiveResultSets=True"
```

This command searches the specified Active Directory domain.
The search results are restricted to the computers that have LabComp in their name, and the results are stored in the local SQLEXPRESS instance.

## PARAMETERS

### -DbCommandTimeout
Expand Down