Deontae Carter Dylan Dempsey Nicholas Loaicono Marco Aliaga
Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True
netsh advfirewall firewall add rule name="Allow incoming ping requests IPv4" dir=in action=allow protocol=icmpv4
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\‘ -Name “UserAuthentication” -Value 1
Enable-NetFirewallRule -DisplayGroup “Remote Desktop”
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
Set-NetFirewallRule -DisplayGroup 'Remote Event Log Management' -Enabled True -PassThru
Invoke-WuJob -ComputerName $Computers -Script { ipmo PSWindowsUpdate; Install-WindowsUpdate -AcceptAll -IgnoreReboot | Out-File "C:\Windows\PSWindowsUpdate.log"} -RunNow -Confirm:$false -Verbose -ErrorAction Ignore
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
powershell.exe Set-ExecutionPolicy Bypass -Force