ActiveXperts Network Monitor ships with a large collection of PowerShell scripts and VBScript scripts to monitor and manage a network.
Use ActiveXperts Netork Monitor to monitor your virtualization servers, domains, computers and devices. It runs on a single Windows server, without agents required on the monitored systems. It has many built-in checks and also allows administrators to create custom checks using PowerShell, VBScript, WMI and SSH.
Windows PowerShell is an extensible command-line shell and associated scripting language from Microsoft Corporation.
Windows PowerShell integrates with the Microsoft .NET Framework and provides an environment to perform administrative tasks by execution of cmdlets (pronounced commandlets), which are specialized .NET classes implementing a particular operation; scripts, which are compositions of cmdlets along with imperative logic; executables, which are standalone applications; or by instantiating regular .NET classes. These work by accessing data in different data stores, like the filesystem or registry, which are made available to the PowerShell runtime via Windows PowerShell providers.
Windows PowerShell also provides a hosting mechanism with which the Windows PowerShell runtime can be embedded inside other applications, which can then leverage Windows PowerShell functionality to implement certain operations, including those exposed via the graphical interface. This capability has been utilized by Microsoft Exchange Server 2007 to expose its management functionality as PowerShell cmdlets and providers and implement the graphical management tools as PowerShell hosts which invoke the necessary cmdlets. Other Microsoft applications including Microsoft SQL Server 2008 also expose their management interface via PowerShell cmdlets. In the future, graphical interface-based management applications on Windows will be layered on top of Windows PowerShell. Windows PowerShell includes its own extensive, console-based help, reminiscent of man pages in Unix shells via the Get-Help cmdlet.
In less words, Powershell is the enhancement scripting language of what VBScript has been until now on Windows platforms.
Click here to view a list of Powershell scripts included in ActiveXperts Network Monitor.
There are two Windows PowerShell versions available:
Since version 7.2 ActiveXperts Network Monitor includes Powershell checks. In order to run those scripts you need to have Powershell installed on the machine where Network Monitor is installed.
In order to run scripts on the machine where Windows Powershell is installed, you have to setup the security restrictions. Using the following command, will allow all scripts to be runned:
PS C:\>Set-ExecutionPolicy unrestricted
Powershell 1.0 was released in 2006 and is available for:
Click here to see the list of Windows Powershell 1.0 CmdLets
Powershell 2.0 was released in 2009 and is available for:
Click here to see the list of Windows Powershell 2.0 CmdLets
Modules allow script developers and administrators to partition and organize their Windows PowerShell code in self-contained, reusable units. Code from a module executes in its own self-contained context and does not affect the state outside of the module. Modules also enable you to define a restricted runspace environment by using a script.
<# .SYNOPSIS A short description of the function. .DESCRIPTION A longer description of the function. .PARAMETER
The documentation for that specific parameter .EXAMPLE C:\PS> some example code .LINK Get-AnotherFunction .LINK http://yourwebsite.com/help/documentation #>
Finally provides support for asynchronous Events, for GUIs, timers, WMI, and remoting
Integrated Scripting Environment (ISE) is a host application for Windows PowerShell, in it you can run commands and write, test, and debug scripts in a single Windows-based graphic user interface with multiline editing, tab completion, syntax coloring, selective execution, context-sensitive help, and support for right-to-left languages. You can use menu items and keyboard shortcuts to perform many of the same tasks that you would perform in the Windows PowerShell console. For example, when you debug a script in the Windows PowerShell ISE, to set a line breakpoint in a script, right-click the line of code, and then click Toggle Breakpoint.