Powershell

From Lucca's Wiki
Revision as of 15:41, 8 May 2024 by 45.27.172.161 (talk)
Jump to navigationJump to search

POWERSHELL COMMON STUFF


Check if the Password is Expired

Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires


Force the DC to sync the password

start-adsyncsynccycle -policytype delta