Removes username from output of Get-PASSessionGet-PASLoggedOnUser is no longer called when exporting script scope variable values to local scope using the Get-PASSession command.
Fixes #512
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that makes existing functionality work differently)
[ ] Documentation update (psPAS website or command help content)
[ ] Other (see description)
How Has This Been Tested?
[ ] Pester test(s) update required
[X] Pester test(s) updated
[X] Pester test(s) passing
Test Configuration:
PowerShell version: 7.4
CyberArk PAS version:14.0
OS Version:11
Checklist:
[X] My code follows the style guidelines of this project
[X] I have followed the contributing guidelines.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new test failures or errors
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
Description
Removes username from output of
Get-PASSession
Get-PASLoggedOnUser
is no longer called when exporting script scope variable values to local scope using theGet-PASSession
command.Fixes #512
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: