Is the a way to pass the current logged in username to a PowerShell script or SCOM Task?
As in, the user running the script/task? or all logged in users?
I want to pass the SquaredUp username of the one triggering the script/task in Squareup.
Interesting - I’m checking with some colleagues to see if this is possible.
Are you able to share your use case?
The are a couple uses.
One is for logging. So the script that runs on a server can add the username to the local log.
The other would be to allow personalised tiles. Like run against AD and display the users accounts info.