Skip to main content

Prerrequisitos

  • Conectividad a Hyper-V desde Pandora

El plugin es un binario que contiene las dependias empaquetadas por lo que no es necesaria la instalación de ningún tipo de dependencia para su uso.

  • Permisos

Configurar WinRM
Enable-PSRemoting -Force -SkipNetworkProfileCheck
winrm quickconfig -force
winrm set winrm/config/service/auth '@{Basic="true"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service '@{MaxTimeoutms="600000"}'

Permitir http 401
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Permitir Firewall WinRM
New-NetFirewallRule -DisplayName "WinRM HTTP In" -Direction Inbound -Protocol TCP -LocalPort 5985 -Action Allow -Profile Any -Force

Reiniciar servicios
Restart-Service WinRM -Force
Start-Service vmms

Comprobar todo
winrm get winrm/config/service/auth
Get-VM

  • Instalar el servicio hv-kvp-daemon en las VMs con sistema linux para que reporten todos los módulos.