You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke-ADSyncToolsSqlQuery -SqlConnection $sqlConn -Query 'SELECT *, database_id FROM sys.databases'
1017
+
```
1018
1018
### PARAMETERS
1019
1019
#### -SqlConnection
1020
1020
SQL Connection
@@ -1167,15 +1167,15 @@ Each certificate will be backed up to a separated filename: ObjectClass_ObjectGU
1167
1167
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).
1168
1168
### EXAMPLES
1169
1169
#### EXAMPLE 1
1170
-
```
1171
1170
Check all users in target OU - Expired Certificates will be copied to separated files and no certificates will be removed
1172
1171
```
1173
1172
Remove-ADSyncToolsExpiredCertificates -TargetOU "OU=Users,OU=Corp,DC=Contoso,DC=com" -ObjectClass user
1174
-
#### EXAMPLE 2
1175
1173
```
1174
+
#### EXAMPLE 2
1176
1175
Delete Expired Certs from all Computer objects in target OU - Expired Certificates will be copied to files and removed from AD
0 commit comments