Prerequisites
PowerShell Version
7.6, 7.5, 7.4, 5.1
Summary
Documentation based on a PR that implements mechanisms that allow for checking if a session is elevated as well as how this can be done on lower level versions of PowerShell if/when this PR is accepted and merged.
Details
The PR in the PowerShell repo was due to frustration with seeing so much similar code that could be drastically simplified if this was already built in across github and PowerShell Gallery.
Proposed Content Type
Concept, About Topic, Cmdlet Reference
Proposed Title
about_ElevatedSessions
Related Articles
No response
Prerequisites
Get-Foocmdlet" instead of "New cmdlet."PowerShell Version
7.6, 7.5, 7.4, 5.1
Summary
Documentation based on a PR that implements mechanisms that allow for checking if a session is elevated as well as how this can be done on lower level versions of PowerShell if/when this PR is accepted and merged.
Details
The PR in the PowerShell repo was due to frustration with seeing so much similar code that could be drastically simplified if this was already built in across github and PowerShell Gallery.
Proposed Content Type
Concept, About Topic, Cmdlet Reference
Proposed Title
about_ElevatedSessions
Related Articles
No response