We’ve seen a few things we can do with the WMI provider for Active Directory. One of the most useful is testing replication function test-replication {
[ CmdletBinding ( ) ]
param (
[string] $computername = $env:COMPUTERNAME
)
Get-WmiObject… Read the full text.