跳到主要内容

PowerShell脚本文件

  • ps1 是 PowerShell 脚本文件,适用于windows
  • 由于shell命令,需要在Unix/Linux Shell 解释器,在windows中可以通过ps1脚本

sheel脚本和PowerShell脚本​

text
.sh = Shell 脚本
常见于 Linux / macOS

.ps1 = PowerShell 脚本
常见于 Windows