Skip to content

Commit 01cdb4f

Browse files
authored
Merge pull request #1027 from velkovb/patch-3
Resolves #453
2 parents 8eed6ab + 74ccaf4 commit 01cdb4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docset/windows/vamt/find-vamtmanagedmachine.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ PS C:\>Find-VamtManagedMachine -QueryType ldap -QueryValue "ldap://domainname/??
6969
This command searches for computers by using an LDAP query.
7070
The search results are restricted to the computers that have LabComp in their name.
7171

72+
### Example 5: Search in a domain and store results in specified database
73+
```
74+
PS C:\>Find-VamtManagedMachine -QueryType ActiveDirectory -QueryValue "DomainName" -MachineFilter "labcomp*" -DbConnectionString "Data Source=localhost\SQLEXPRESS;Initial Catalog=VAMT;Integrated Security=True;MultipleActiveResultSets=True"
75+
```
76+
77+
This command searches the specified Active Directory domain.
78+
The search results are restricted to the computers that have LabComp in their name, and the results are stored in the local SQLEXPRESS instance.
79+
7280
## PARAMETERS
7381

7482
### -DbCommandTimeout

0 commit comments

Comments
 (0)