Microsoft help

MS: AD: Count users in organizational units using PowerShell

To count user accounts in an organizational unit, run this powershell command: (Get-ADUser -Filter * -SearchBase “ou=Users,ou=A1,dc=contoso,dc=com”).count Where “ou=” is the path for your OU and “dc=” is yorur domain. My query runs against “contoso.com\users” Reference: http://idefixwiki.no/2013/10/23/ad-count-users-in-organizational-units/

Advertisements
Microsoft help

MS: Reset DSRM Password with Ntdsutil

Option 1: Reset DSRM Password with Ntdsutil On your machine, select Run from the Start menu, type ntdsutil and click OK. At the Ntdsutil command prompt, type set dsrm password. At the DSRM command prompt, run the Reset Password command, passing the name of the server on which to change the password, or use the… Continue reading MS: Reset DSRM Password with Ntdsutil

Microsoft help

MS: error constructing or publishing certificate 0x80092013

After upgrading an issuing ADCS OS to Server2k12 I got this error: error constructing or publishing certificate: the revocation function was unable to check revocation because the revocation server was offline 0x80092013 So here's how I fixed it: Open an administrative cmd prompt from the ADCS server and type: certutil -CRL