远程文件下载

powershell -c "(new-object System.Net.WebClient).DownloadFile('http://192.168.2.210:8000/index.html','C:\Users\huanmsf\Desktop\index.html')"

服务管理

Get-Service -Name se*
Stop-Service -Name spooler
Restart-Service -Name spooler
Get-Service | Where-Object -FilterScript {$_.CanStop} | Restart-Service

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案