Users Guide

MaxEnvelopeSizekb = 500
MaxTimeoutms = 60000
MaxBatchItems = 32000
MaxProviderRequests = 4294967295
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = false
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
DefaultPorts
HTTP = 5985
HTTPS = 5986
TrustedHosts
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
MaxConcurrentOperations = 4294967295
MaxConcurrentOperationsPerUser = 1500
EnumerationTimeoutms = 240000
MaxConnections = 300
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = false
Auth
Basic = true
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = false
CbtHardeningLevel = Relaxed
DefaultPorts
HTTP = 5985
HTTPS = 5986
IPv4Filter = *
IPv6Filter = *
EnableCompatibilityHttpListener = false
EnableCompatibilityHttpsListener = true
CertificateThumbprint = 02554D694FD06BB3C765E5868EFB59B7D786ED67
AllowRemoteAccess = true
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 7200000
MaxConcurrentUsers = 2147483647
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 2147483647
MaxMemoryPerShellMB = 2147483647
MaxShellsPerUser = 2147483647
: 如果 service-basic-authentication 值为 false请运行以下命令
winrm set winrm/config/service/auth @{Basic="true"}
: WinRM 配置中运行以下命令以启用 HTTPS
winrm set winrm/config/service @{EnableCompatibilityHttpsListener="true"}
6. 启用 IIS 使 443 上接受 HTTPS–从远程系统在 Hyper-V 服务器上运行以下命令确保设置工作正常
winrm e wmi/root/virtualization/v2/Msvm_SummaryInformation -r:https://<hyper-v server
ip>:443/wsman -u:UserName -p:password -skipCNcheck -skipCAcheck -skipRevocationcheck -
a:Basic
7. 启动 IIS Manager
8. 通过默认网站绑定站点对话框中输入 443 作为 HTTPS 端口号。
9. 选择以管理员身份登录时在 PowerShell 上创建的 SSL 证书。
查找要监测或管理的设备
75