Add AD security group to local administrators on Hyper-V server running core

By admin

First connect to the remote server with powershell [cc lang=”powershell”]Enter-PSSession -ComputerName contoso\hv01[/cc] Next run the command to add the group: [cc lang=”powershell”]Add-LocalGroupMember -Group “Administrators” -Member “CONTOSO\Hyper-V Admins”[/cc] If you’re paranoid (like me) and want to check this worked you can use: [cc lang=”powershell”]Get-LocalGroupMember “Administrators”[/cc]