netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
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
Download
Add-WindowsFeature NET-Framework-45-ASPNET
Get-ChildItem . | Unblock-File
Import-Module \PowerShell\DeviceManagement.psd1 -Verbose
https://corefig.codeplex.com/documentation