一、常用命令 -command: tells powershell to run the following command and return immediately ls: list all matching files at the path specified foreach-object: run the following block on each file that ls found $_.LastWriteTime = Get-Date: for each file, set the LastWriteTime to the value returned by Get-Date (today’s date and time) $_.CreationTime = Get-Date: for each file, set the CreationTime to the value returned by Get-Date (today’s date and time)……

阅读全文