Windows PowerShell 重新桥接网卡脚本
$NetShare = New-Object -ComObject HNetCfg.HNetShare
$wlan = $null
$ethernet = $null
foreach ($int in $NetShare.EnumEveryConnection) {
$props = $NetShare.NetConnectionProps.Invoke($int)
if ($pr...
阅读全文
$NetShare = New-Object -ComObject HNetCfg.HNetShare
$wlan = $null
$ethernet = $null
foreach ($int in $NetShare.EnumEveryConnection) {
$props = $NetShare.NetConnectionProps.Invoke($int)
if ($pr...
阅读全文
解决办法在PowerShell中执行 set-ExecutionPolicy RemoteSigned
阅读全文
启用Zabbix监控VMware的功能修改zabbix_server.conf启用以下参数StartVMwareCollectors=5
VMwareFrequency=60
VMwarePerfFrequency=60
VMwareCacheSize=64M
VMwareTimeout=10重启Zabbix服务,查看服务端日志出现以下内容表示开启成功VMware monitoring: ...
阅读全文