PowerShell脚本的后缀名是 .ps1。 PowerShell 是一种用于 Windows 环境的任务自动化和配置管理框架,由微软开发。PowerShell 脚本文件通常使用 .ps1 作为文件扩展名。这种扩展名帮助系统识别文件为 PowerShell 脚本,并允许用户通过 PowerShell 环境执行这些脚本。 例如,你可以创建一个名为 example