嗨,我正在搜索所有的power shell版本和对应的winrm协议版本,例如: power shell 5.0 work with winrm 2.0
我试着用谷歌搜索它,但没有找到太多关于它的信息。我也在论坛上搜索了一下,但没有找到。
我需要知道哪个版本的power shell使用哪个版本的winrm。
PowerShell 1.0?PowerShell 2.0?PowerShell 3.0?PowerShell 4.0?PowerShell 5.0 winrm 2.0
如果你知道,也请参考我的网站,在那里你找到了答案。谢谢
发布于 2015-08-12 23:04:22
您可以使用$psversionTable获取winRM堆栈版本
PSVersion 5.0
WSManStackVersion 3.0
PSVersion 4.0
WSManStackVersion 3.0
PSVersion 3.0
WSManStackVersion 3.0
PSVersion 2.0
WSManStackVersion 2.0
PSVersion 1.0
WSManStackVersion ---因此,3、4和5使用的是Windows3,PowerShell 2使用的是WinRM 2,而PowerShell 1不支持PowerShell远程管理。
https://stackoverflow.com/questions/31959882
复制相似问题