Advanced Search
Search Results
3 total results found
Find All Domain Controllers
Windows Command Line
To be run from an elevated prompt Command Line: nltest /dclist:{Full Domain Name} PowerShell $DomainName = {Full Domain Name Get-ADDomainController -Filter * -Server $DomainName | Select-Object Hostname,Ipv4address,isglobalcatalog,site,forest,operatingsys...
Domain Controllers Sync Password Reset
Windows Command Line
Command netdom resetpwd /s:{servername} /ud:{Username} /pd:* Example netdom resetpwd /s:wrsi-adfs /ud:wrsi.local\pitadmin /pd:Mis-staff
Password Expiration Login script vba
Microsoft Windows
Windows Server
VBA Code to check for password expiry and display a message if the password expires in the next 10 days. Add-Type -AssemblyName PresentationFramework curruser=Get−ADUser−Identity env:username -Properties 'msDS-UserPasswordExpiryTimeComputed','PasswordNeve...