tacticalrmm/scripts_wip/Win_WinRM_Enable_Remote.ps1

10 lines
235 B
PowerShell

# 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