-
Notifications
You must be signed in to change notification settings - Fork 55
win_psDscAdapter and psDscAdapter PScredentials fix for passing username and password #1308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
win_psDscAdapter and psDscAdapter PScredentials fix for passing username and password #1308
Conversation
…nvert to System.Management.Automation.PSCredentia
|
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree |
|
@mimachniak - as I have already spoken with you on socials, is this perhaps also possible for class-based DSC resources (both in the 5.1 and 7.0 adapter)? Can you also include a testcase that covers this change? |
|
Yes I working o it |
…rt to System.Management.Automation.PSCredentia - code optimalization remove unused function
…tem.Management.Automation.PSCredential
…t to System.Management.Automation.PSCredential
…t to System.Management.Automation.PSCredential - if change to recognize user information
|
@Gijsreyn , @SteveL-MSFT - I added in test folder yaml's that are using TestClass for validation using PSCredentials, I tested on version 5.1 and 7 of PowerShell |
PR Summary
PR Context
Fix using ScriptBased DSC resources when is reguired to use parameters with Get-Credentials