-
Notifications
You must be signed in to change notification settings - Fork 576
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
Adds a new example to New-SelfSignedCertificate #3606
base: main
Are you sure you want to change the base?
Conversation
Learn Build status updates of commit 04d4655: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 73a3776: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy review - @ehmiiz, kindly commit the minor suggested change. Many thanks.
Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com>
Learn Build status updates of commit 437727f: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 9ae3ce6: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 0c2648a: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
```powershell | ||
$params = @{ | ||
Type = 'Custom' | ||
Subject = 'CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subject = 'CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com' | |
Subject = 'CN=Megan Bowen,OU=UserAccounts,DC=corp,DC=contoso,DC=com' |
Subject = 'CN=Patti Fuller,OU=UserAccounts,DC=corp,DC=contoso,DC=com' | ||
TextExtension = @( | ||
'2.5.29.37={text}1.3.6.1.5.5.7.3.2', | ||
'2.5.29.17={text}upn=pattifuller@contoso.com' ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'2.5.29.17={text}upn=pattifuller@contoso.com' ) | |
'2.5.29.17={text}upn=meganb@contoso.com' ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my suggestions thanks
Learn Build status updates of commit e533039: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
PR Summary
The New-SelfSignedCertificate documentation lacks an example of how to provide multiple key usages to the cmdlet.
This PR adds an example that does that.
Prior to this PR, the only way of knowing how to provide multiple values to the
-KeyUsage
parameter, is to understand the parameter syntax, and many IT Admins look for the examples to solve their problem.New-SelfSignedCertificate
, clarifies theKeyUsage
parameter #3605PR Checklist