Set Network Type

PowerShell script to set the network category (type) to Public or Private.


Note: This script should be run with administrator privileges.
Prerequisites: This script requires no additional setup. Simply deploy it via your RMM.


Usage: .\SetNetworkCategory.ps1 -Category Private

Learn More

Want to learn more about how this script works? Included below are official documentation links for all cmdlets used in this script, as well as other useful documentation where applicable.
Cmdlet Documentation: