tacticalrmm/scripts_wip/Win_WinRM_Enable_Remote.ps1

10 lines
235 B
PowerShell
Raw Normal View History

2021-04-27 17:11:30 +00:00
# enabling WINrm ( usually needed for windows admin centre)
# recent update disable or stops Winrm in services
#Add's firewall event for Winrm
Enable-PSRemoting -Force
Set-NetFirewallRule -Name WINRM-HTTP-In-TCP -RemoteAddress Any