3 ms·
powershell doesn't expose everything by default, there are insane numbers of modules that are community created though.
by Meph504 3y ago
powershell doesn't expose everything by default, there are insane numbers of modules that are community created though.
- yourusername 3y agoWhat can't you access through a combination of wmi and pinvoke?
- tonyedgecombe 3y agoI used to use wmi in my software to manage printer ports. In the end I had to remove it because wmi was broken on a significant number of my customers machines.
- jborean93 3y agoYou can, it’s just that going the PInvoke route can be quite complicated. It can certainly be done but typically finding a good community module that has already done so makes things a lot easier.