rzander / sccmclictr

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

Powershell password visible as plain text #176

Closed sdemeyer95 closed 3 years ago

sdemeyer95 commented 3 years ago

When opening a powershell console session from within Client Center for Configuration Manager to a remote system, my password is logged in plain text. The following command is logged:

"powershell.exe" -NoExit -Command $creds = New-Object System.Management.Automation.PSCredential ('xxxx\My-Admin-Account', (ConvertTo-SecureString 'My Plain Text Password' -AsPlainText -Force));Enter-PSSession computer-name -port 5986 -SessionOption (New-PSSessionOption -NoMachineProfile) -

Can the password be stored encrypted so it does not show up in our log files, in plain text?

I am using Client Center for Configuration Manager 1.0.5.2

sdemeyer95 commented 3 years ago

Nevermind. This appears to be fixed in the new version.

sdemeyer95 commented 3 years ago

This is fixed in the new version.