Table of Contents
Hyper-V
This tutorial enables you to activate Hyper-V monitoring on your Esia.
You need to have a user with the right to execute powershell commands remotely. For example, an admin user
First, you need to configure powershell.
Powershell runs remotely via the WinRM (Windows Remote Management) protocol, which is based on HTTP.
Two ports are used:
- HTTP: 5985
- HTTPS: 5986
Activate powershell
Check if WinRM is enabled
- copy
Get-Service WinRM
Activate WinRM
- copy
Enable-PSRemoting -Force
Restart WinRM
- copy
Restart-Service WinRM
Authorise remote requests
Check remote powerShell execution
The local user may not be able to execute commands remotely. You can check this using the command:
- copy
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System | Select LocalAccountTokenFilterPolicy
If the value is zero or emptythis means that the local user does not have the right.
Activate powershell remotely
- copy
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Name LocalAccountTokenFilterPolicy -PropertyType DWord -Value 1 -Force
= adds the value to 1