Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Trying to figure out how to create a report.

$
0
0

Hello,

I have a script, which it retrieves the number of connected sessions to Citrix servers.

At the moment I just simply generate an output like this:

Server: CHCTXSUP001 has: 2
Server: CHCTXSUP002 has:
Server: CHCTXXA014 has: 8
Server: CHCTXXA015 has: 8
Server: CHCTXXA016 has: 9
Server: CHCTXXA017 has: 7

 

I would like to figure out how i can create a report on a hourly basics group by the time when the script is executed, to retrieve the users connnected to each server.

                          %date1%,%date2%, ....
%servername1%    XX,        XX
%servername2%    XX,        XX
 ....

I can not think of a way to put this into a .excel document also considering that the server list it is not necessarily always the same.

If you can give me some hint about how to achieve that, I would really appreciate it.

 

Thanks in advance,

Regards,

Jacobo

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles