Skip to content

Commit 677d8d5

Browse files
authored
Update reference-connect-adsynctools.md
Minor cosmetic fixes
1 parent 1dc8450 commit 677d8d5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/active-directory/hybrid/reference-connect-adsynctools.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ Import-ADSyncToolsSourceAnchor -OutputFile '.\AllSyncUsers.csv'
967967
```
968968
#### EXAMPLE 2
969969
```
970-
Another example of how to use this cmdlet
970+
Import-ADSyncToolsSourceAnchor -OutputFile '.\AllSyncUsers.csv' -IncludeSyncUsersFromRecycleBin
971971
```
972972
### PARAMETERS
973973
#### -Output
@@ -1013,8 +1013,8 @@ New-ADSyncToolsSqlConnection -Server SQLserver01.Contoso.com -Port 49823 | Invok
10131013
#### EXAMPLE 2
10141014
```
10151015
$sqlConn = New-ADSyncToolsSqlConnection -Server SQLserver01.Contoso.com -Port 49823
1016-
```
10171016
Invoke-ADSyncToolsSqlQuery -SqlConnection $sqlConn -Query 'SELECT *, database_id FROM sys.databases'
1017+
```
10181018
### PARAMETERS
10191019
#### -SqlConnection
10201020
SQL Connection
@@ -1167,15 +1167,15 @@ Each certificate will be backed up to a separated filename: ObjectClass_ObjectGU
11671167
The script will also create a log file in CSV format showing all the users with certificates that either are valid or expired including the actual action taken (Skipped/Exported/Deleted).
11681168
### EXAMPLES
11691169
#### EXAMPLE 1
1170-
```
11711170
Check all users in target OU - Expired Certificates will be copied to separated files and no certificates will be removed
11721171
```
11731172
Remove-ADSyncToolsExpiredCertificates -TargetOU "OU=Users,OU=Corp,DC=Contoso,DC=com" -ObjectClass user
1174-
#### EXAMPLE 2
11751173
```
1174+
#### EXAMPLE 2
11761175
Delete Expired Certs from all Computer objects in target OU - Expired Certificates will be copied to files and removed from AD
11771176
```
11781177
Remove-ADSyncToolsExpiredCertificates -TargetOU "OU=Computers,OU=Corp,DC=Contoso,DC=com" -ObjectClass computer -BackupOnly $false
1178+
```
11791179
### PARAMETERS
11801180
#### -TargetOU
11811181
Target OU to lookup for AD objects
@@ -1473,16 +1473,16 @@ Creates a trace file '.\ADimportTrace_yyyyMMddHHmmss.log' on the current folder.
14731473
To use -ADConnectorXML, go to the Synchronization Service Manager, right-click your AD Connector and select "Export Connector..."
14741474
### EXAMPLES
14751475
#### EXAMPLE 1
1476-
```
14771476
Trace Active Directory Import for user objects by providing an AD Connector XML file
14781477
```
14791478
Trace-ADSyncToolsADImport -DC 'DC1.contoso.com' -RootDN 'DC=Contoso,DC=com' -Filter '(&(objectClass=user))' -ADConnectorXML .\ADConnector.xml
1480-
#### EXAMPLE 2
14811479
```
1480+
#### EXAMPLE 2
14821481
Trace Active Directory Import for all objects by providing the Active Directory watermark (cookie) and AD Connector credential
14831482
```
14841483
$creds = Get-Credential
14851484
Trace-ADSyncToolsADImport -DC 'DC1.contoso.com' -RootDN 'DC=Contoso,DC=com' -Credential $creds -ADwatermark "TVNEUwMAAAAXyK9ir1zSAQAAAAAAAAAA(...)"
1485+
```
14861486
### PARAMETERS
14871487
#### -DC
14881488
Target Domain Controller
@@ -1665,11 +1665,11 @@ Note: ConsistencyGuid Report must be imported with Tab delimiter
16651665
### EXAMPLES
16661666
#### EXAMPLE 1
16671667
```
1668-
Import-Csv .\AllSyncUsersTEST-Report.csv -Delimiter "`t"| Update-ADSyncToolsSourceAnchor -Output .\AllSyncUsersTEST-Result2 -WhatIf
1668+
Import-Csv .\AllSyncUsers-Report.csv -Delimiter "`t"| Update-ADSyncToolsSourceAnchor -Output .\AllSyncUsersTEST-Result2 -WhatIf
16691669
```
16701670
#### EXAMPLE 2
16711671
```
1672-
Import-Csv .\AllSyncUsersTEST-Report.csv -Delimiter "`t"| Update-ADSyncToolsSourceAnchor -Output .\AllSyncUsersTEST-Result2
1672+
Import-Csv .\AllSyncUsers-Report.csv -Delimiter "`t"| Update-ADSyncToolsSourceAnchor -Output .\AllSyncUsersTEST-Result2
16731673
```
16741674
### PARAMETERS
16751675
#### -DistinguishedName

0 commit comments

Comments
 (0)