Zend certified PHP/Magento developer

How to set all network adapters to private from batch or powershell?

I have a very simple question:

I’m currently setting a specific network adapter to private like this from a batch script:

powershell -command Set-NetConnectionProfile -Name "Network" -NetworkCategory Private

How can I do this for all network adapters without knowing the names or anything about them?