powershell 常用命令

网友投稿 682 2022-09-18

powershell 常用命令

powershell 常用命令

废话不说,直接上实例: 1.copy file or dirPS C:\Users\robin> Copy-Item -Path .\PowerShell-Best-Pactise\ -Destination C:\Users\robin\Desktop\ 2.delete filesPS C:\Users\robin> remove-item .\PowerShell-Best-Pactise* 3.delete dirPS C:\Users\robin> remove-item .\PowerShell-Best-Pactise\ 4.create new filePS C:\Users\robin> new-item PowerShell-Best-Pactise目录: C:\Users\robinMode LastWriteTime Length Name -a---- 2021/9/27 22:56 0 PowerShell-Best-Pactise 5.create dir:PS C:\Users\robin> new-item -path ./ -name logfiles -type directory 目录: C:\Users\robin Mode LastWriteTime Length Name d----- 2021/9/27 23:01 logfiles

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Windows CE下驱动程序的中断处理
下一篇:Python装饰器
相关文章

 发表评论

暂时没有评论,来抢沙发吧~