Hello,
I want to disable "File and Printer Sharing for Microsoft Networks", "Internet Protocol Version 6", "Client for Microsoft Networks", ... on Networking tab or "Allow other network users to connect through this computer's internet connection" on Sharing tab for all interfaces.
To do this i got all adaptors:
$AllAdaptors = Get-WmiObject Win32_NetworkAdapterConfiguration
And all of them, i should disable the features.
foreach($Adaptor in $AllAdaptors ) {
Disable features...
}
This link didn't work: http://social.technet.microsoft.com/Forums/windowsserver/en-US/f6a4c454-6088-4022-8f0d-d73181247856/how-to-programatically-add-and-configure-loopback-adapter
And i do not want to use 3rd party tools like nvSPbind, snetcfg, etc.
PS: I'm using PS v2. "Set-NetAdapterBinding" doesn't work.
Regards