
Mike Rockwell (Progress Software) asked a question.
Add Welcome Banner / Warning banner to WhatsUp Gold v22 and up
This will add some lines to your Login Page of WhatsUp Gold. You can edit the text to do it. You can only run it once, because it just adds the lines to the CSS file, running it more than once will add it again.
I would suggest you make a backup of the file first before running it.
- #Edit this file path to match your installation of WhatsUp Gold. This is the default path.
- $filePath = "C:\Program Files (x86)\Ipswitch\WhatsUp\html\NmConsole\resources"
- #Don't exit this file name, it is the CSS file which is used.
- $fileName = "NM-all_3.css"
-
- #If you want to change the text, check the text between the ' ' but don't remove the ' '
- $newText = ".wug-login-window .wug-login-wrapper::before {
-
- position: absolute;
-
- top: 100%;
-
- left: 50%;
-
- width: auto;
-
- height: auto;
-
- content: 'UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED \00000a You must have explicit, authorized permission to access or configure this device. \00000a Unauthorized attempts and actions to access or use this system may result in civil and/or criminal penalties. \00000a All activities performed on this device are logged and monitored.';
-
- font-weight: bold;
-
- white-space: pre;
-
- }"
-
- $newText | Add-Content -Path "${filePath}\${fileName}"
This is what it will add to the Login Screen
Excellent..!