Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用PowerShell添加环回适配器_Powershell_Registry - Fatal编程技术网

如何使用PowerShell添加环回适配器

如何使用PowerShell添加环回适配器,powershell,registry,Powershell,Registry,在忙着查看Powershell 2.0中的虚拟机和Windows Powershell运行时,我的任务之一是自动化或编写一些重复的计算机配置脚本。 其中一种配置是将Microsoft环回适配器添加到Windows XP框中,但首先要检查它是否已安装和配置,如果尚未安装和配置,则继续执行。 这是PowerShell最适合的功能吗?如果是,我应该关注哪些命令或cmdlet?如果您能提供一个示例脚本作为初学者,将不胜感激。任何指向其他有用指南的链接都将非常棒 提前谢谢 戴夫有人写了一个剧本。不知道它是

在忙着查看Powershell 2.0中的虚拟机和Windows Powershell运行时,我的任务之一是自动化或编写一些重复的计算机配置脚本。 其中一种配置是将Microsoft环回适配器添加到Windows XP框中,但首先要检查它是否已安装和配置,如果尚未安装和配置,则继续执行。 这是PowerShell最适合的功能吗?如果是,我应该关注哪些命令或cmdlet?如果您能提供一个示例脚本作为初学者,将不胜感激。任何指向其他有用指南的链接都将非常棒

提前谢谢


戴夫

有人写了一个剧本。不知道它是否是您正在寻找的->

它似乎只适用于2008 R2。也许在Windows 7上使用它的修改很简单。

可能