Skip to main content

get AD user lockout info

1 like • Nov 18, 2022 • 0 views
PowerShell
Loading...

More PowerShell Posts

Change "Modify/Creation" Time of a File

0 likes • Nov 18, 2022 • 0 views
PowerShell
#Run powershell as admin and then use:
#Creation Time:
Get-ChildItem C:\testFile1.txt | % {$_.CreationTime = '01/11/2005 06:00:36'}
#Last modified:
Get-ChildItem C:\testFile1.txt | % {$_.LastWriteTime = '01/11/2005 06:01:36'}