I need to check who is logged onto various Blade Workstation's using a Powershell Script and output to a text file so that we can then format the text file to HTML using Powershell
We use this to help Users see what Blades are available who is logged in if they require a certain Blade.
I have used a .bat file in the past and cleaned the output file in Powershell, But would like to clean up the process with just one script.
One issue I have found when looking online for a solution is the ability to have the UserName field show as "No Users" when No user is logged on.
We use the "No User" to assign a Blade is Free icon in the HTML page.
I have tried to use the eq $Null but have failed so far.
UserName + "No User"
Time logged in
Any help on finding a solution would be very much appreciated.