Thr*_*onk 8 windows-7 powershell
我正在尝试创建一个解决方案,以在非常稳定的环境中启动远程进程,而且我知道用户群将使用 Windows 7 - 但大多数不会对其进行更新。
Remote SSIS Package Execution with PowerShell 2.0表示 Windows 7 随附PowerShell 2.0,因此能够进行远程执行,但我似乎记得必须将我的机器升级到 PowerShell 2。我目前使用的是 PowerShell 的 v3 并且没有可以访问需要运行脚本的机器。
Windows 7 附带哪个版本的 PowerShell 开箱即用?
Joh*_*sin 14
我最近在一个新系统上安装了 Windows 7,get-host在 PowerShell 中运行告诉我我正在运行 2.0 版,即使它安装在 v1.0 文件夹中。
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\user> get-host
Name : ConsoleHost
Version : 2.0
InstanceId : 61ef8a3b-0212-4743-87a1-eb2c00fb1e29
UI : System.Management.Automation.Internal.Host.InternalHostUserI
nterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Run Code Online (Sandbox Code Playgroud)