Hyper-V 2016 Host Configuration Documentation Question
-
I'm creating documentation for my company to allow them to setup Hyper-V 2016 themselves. Below is what I have currently. I think I should probably include
Enable-VMReplication
, but besides that would you guys include anything else? I tried to make it into a learning experience as much as possible.Hyper-V 2016 Host Configuration (Server)
Enable-PSRemoting
The Enable-PSRemoting cmdlet configures the computer to receive Windows PowerShell remote commands that are sent by using the WS-Management technology.
Modifiers: [-Confirm][-Force] [-SkipNetworkProfileCheck][-WhatIf][<CommonParameters>]
Example: Enable-PSRemoting -ForceEnable-WSManCredSSP –role “Server”
The Enable-WSManCredSSP cmdlet enables Credential Security Support Provider (CredSSP) authentication on a client or on a server computer. When CredSSP authentication is used, the user credentials are passed to a remote computer to be authenticated. This type of authentication is designed for commands that create a remote session from another remote session. For example, if you want to run a background job on a remote computer, use this kind of authentication.
Modifiers: [-Role] <String> [[-DelegateComputer] <String[]>] [-Force][<CommonParameters>]
When prompted, choose option [Y]
Restart-Service WinRM
Restarts the Windows Remote Management service.Hyper-V Remote Management (Client using Hyper-V Manager)
Enable-WSManCredSSP –role “Client” –Delegate Computer “Hostname of Server”
The Enable-WSManCredSSP cmdlet enables Credential Security Support Provider (CredSSP) authentication on a client or on a server computer. When CredSSP authentication is used, the user credentials are passed to a remote computer to be authenticated. This type of authentication is designed for commands that create a remote session from another remote session. For example, if you want to run a background job on a remote computer, use this kind of authentication.
-
Using Enable-PSRemoting command by itself only works on Private and Domain Networks. You will have to use -SkipNetworkProfileCheck for it to work a Public Network.
Enable-PSRemoting -SkipNetworkProfileCheck -Force
-
@black3dynamite Good to know. Thanks.