windows - PowerShell 3 的文件扩展名

标签 windows shell powershell windows-8

我们所有人都可能知道 .bat 用于批处理文件。

但是 PowerShell 3 脚本的文件扩展名是什么?

我找到了 .ps1 和其他一些结尾,但它们仅适用于版本 1。

最佳答案

所有版本的 PowerShell 文件都是 .ps1(或 .psm1、.psd1 等)。

关于windows - PowerShell 3 的文件扩展名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12107462/

相关文章:

linux - 为什么 Mongodb 在 Linux 上的性能比在 Windows 上更好?

PHP SVN 更新 - TortoiseSVN

python - Windows 上的符号链接(symbolic link)

regex - Shell 脚本 - 列出文件、读取文件并将数据写入新文件

Android 自动化测试 - 如果在将命令输出分配给变量时条件失败,Linux bash

PowerShell 2 中的泛型不起作用?

.net - 如何在新的AppDomain中将程序集仅作为反射加载?

c++ - 在 Windows 上使用 CMake 2.8.11 构建自定义 Qt 4.8.3 库时出错

android - 如何通过您的应用程序运行 traceroute 命令?

powershell - 使用Powershell递归设置文件夹的权限?