Need a Powershell script to change css code
Posted on 2014-07-09
I'm quiet new to PowerShell scripting. What I need is the following;
I've got a simple HTML / CSS website. The site shows some computer icons that users can click on to start a RDP session to a workstation. Below each icon I want the network status of that specific workstation shown.
So the script needs to ping the workstations from, for example a txt file with a list of ip addresses, and then show the text 'online' or 'offline' below the icons of that workstations. The background color must be green or red.
Can I build a css file that creates a class for every PC that's in the list in the txt file? I know I asked this here before, but I haven't found a good solution yet.