Adding and editing a PowerShell action
Windows PowerShell is a scripting language and command-line shell that system administrators can use to manage Windows operating systems. For more information on PowerShell, please visit the Microsoft web site.
The PowerShell action delivers a robust and flexible environment to the experienced user for developing custom actions through direct access to script component libraries, including the .NET Framework. For more information, see PowerShell action script examples.
To add a new PowerShell action:
- From the WhatsUp Gold web interface, go to . The Action Library appears.
- Click . The Select Action Type dialog appears.
- Select , then click . The New PowerShell Script Action dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the action. This name displays in the Action Library.
- . (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
- . Enter the length of time WhatsUp Gold attempts to connect to the selected device. When the time you enter is exceeded without connecting, a timeout occurs and WhatsUp Gold stops trying to connect to the device. This is considered a failed connection.
: You are highly discouraged from using a timeout longer than 10 seconds. Please use the shortest timeout possible.
- Click to save changes.
- Click to exit the Action Library.
To edit an existing PowerShell action:
- From the WhatsUp Gold web interface, go to . The Action Library dialog appears.
- Select the action you would like to edit, then click . The Edit PowerShell Script Action dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the action. This name displays in the Action Library.
- . (Optional) Enter additional information about the action. This description displays next to the action in the Action Library.
- Enter the length of time WhatsUp Gold attempts to connect to the selected device. When the time you enter is exceeded without connecting, a timeout occurs and WhatsUp Gold stops trying to connect to the device. This is considered a failed connection.
: You are highly discouraged from using a timeout longer than 10 seconds. Please use the shortest timeout possible.
- Click to save changes.
- Click to exit the Action Library.