PowerShell Commands

Some PowerShell commands

Commands

Set Time

PS C:\Users\Administrator> Set-Date -date "12/7/2017 3:57 PM"

Change file's modification time

PS C:\Users\Administrator> $a = Get-Item '.\Downloads\My_File.txt'
PS C:\Users\Administrator> $a.LastWriteTime = "06/25/2016 8:00 AM"
Licence Creative Commons
Ce site http://shebangthedolphins.net est mis à disposition selon les termes de la licence Creative Commons Attribution
Contact :