Advertisement
shornby

Enable RemMgmt (All Traffic) Firewall-Server Core.ps1

May 19th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # One of the first commands to issue on a new Windows Server Core 2012 system
  2. New-NetFirewallRule -DisplayName "1111 WARNING - Allow All Traffic" -Action allow
  3.  
  4. #Run this on server connecting to remote CORE server:
  5. winrm set winrm/config/client @{TrustedHosts="*"}
  6.  
  7. #Run this on both server and client system:
  8. winrm quickconfig -q
  9.  
  10. # now you can connect to remote system with Server Manager and add/remove roles and features
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement