I am looking for the right powershell command for Windows 2012 so I can turn off File and Print Sharing (in the advanced sharing options) for the Private and Public network categories. I wisht to keep it on for the Domain Category.
I have not been able to identify either a registry key or a powershell cmdlet that will let me do this.
Any assistance is appreciated.