Which of the following cmdlets in Windows Powershell enables remote management for Powershell 3.0 and later?
- WinRM enable
- Enter-PSSession
- WinRM
- Enable-PSRemoting
EXPLANATION
If you want to manage Windows computers remotely with PowerShell, you first have to enable PowerShell remoting on the remote machine. You can then use the Invoke-Command and Enter-PSsession cmdlets to execute PowerShell commands on the remote machine.
To enable PowerShell remoting on a single machine, you can log on to this computer locally or via Remote Desktop and then execute Enable-PSRemoting at a PowerShell prompt with administrator rights. For more information read Microsoft's documentation about the Enable-PSRemoting cmdlet
0 comments:
Post a Comment