rzander / sccmclictr

Client Center for Configuration Manager
Microsoft Public License
321 stars 59 forks source link

Connect console with PSCredential #119

Closed theaquamarine closed 5 years ago

theaquamarine commented 5 years ago

Store passwords provided as SecureStrings internally and provide them to PowerShell as a PSCredential when 'Open Console' is pressed. Fixes #64

Password still has to be converted to a normal string to make the actual connection for WMI, as sccmclictrlib only accepts strings for SCCMAgent()'s constructors.