Skip to content

Instantly share code, notes, and snippets.

@onfire4g05
Last active December 4, 2019 05:09
Show Gist options
  • Save onfire4g05/c82e692b40d61cd9f37f to your computer and use it in GitHub Desktop.
Save onfire4g05/c82e692b40d61cd9f37f to your computer and use it in GitHub Desktop.

Client and Server

netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes

Server

Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
Enable-NetFirewallRule -DisplayGroup "Windows Remote Management"
Set-NetFirewallRule -DisplayGroup 'Windows Management Instrumentation (WMI)' -Enabled true -PassThru
Set-NetFirewallRule -DisplayGroup 'Remote Event Log Management' -Enabled true -PassThru

Device Management

Download

Add-WindowsFeature NET-Framework-45-ASPNET
Get-ChildItem . | Unblock-File
Import-Module \PowerShell\DeviceManagement.psd1 -Verbose

Documentation

https://corefig.codeplex.com/documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment