You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python can run powershell in a subprocess, which is probably easiest. I've also written code in the past to use Python.NET to run powershell code within a .NET context that I could give you some pointers from, but that adds more dependencies to your code that you probably don't need.
The text was updated successfully, but these errors were encountered:
I can only do a little with this as I don't use a Windows machine. Is anybody willing to do some testing for this to see how it could be automated for finding the interface index?
I would be able to test anything you write here. I guess it might be easier for me to develop and open a PR as I have windows installs I can test with.
You can use the following to only run code if it's on windows:
You can then use powershell to check the status of a network, and mark is as private:
Python can run powershell in a subprocess, which is probably easiest. I've also written code in the past to use Python.NET to run powershell code within a .NET context that I could give you some pointers from, but that adds more dependencies to your code that you probably don't need.
The text was updated successfully, but these errors were encountered: