Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts

Windows Management Scripts

Introduction

Scripting Windows Management is one of those good ideas that you might not have gotten around to trying yet. Perhaps you're not sure what you could accomplish with a script that you can't accomplish from the graphical interface.

ActiveXperts Network Monitor has full support for scripting Windows Management. There are already thousands of documents on the Internet and hundreds of good books about scripting Windows Management. However, there's a lack of good, easy to use samples. We provide a nice set of samples, that you can easily use inside ActiveXperts Network Monitor. The most important Windows management scripting technologies are:

Active Directory Services interfaces (ADSI)

Active Directory Service Interfaces (ADSI) enable system administrators and developers of scripts or applications to easily query for and manipulate directory service objects.

ADSI present a single set of directory service interfaces for managing network resources from different directory services. Administrators and developers can use ADSI to manage the resources in a directory service, regardless of which network environment contains the resource.

Scripts written to ADSI will work with any directory service that offers an ADSI provider. For example, with ADSI, applications can access LDAP, NDS, the Active Directory service, and other directories with ADSI interfaces as long as the appropriate service providers are available.

The standard ADSI providers are found within multiple namespaces - typically directory services for various network operating systems. Providers enable communication between the server or client. ADSI includes providers for:

  • Windows Server platforms.
  • Windows Desktop platforms.
  • Windows Active Directory.
  • Lightweight Directory Access Protocol (LDAP).
  • Novell NetWare Directory Services (NDS), and NetWare 3 bindery (NWCOMPAT).

ActiveXperts Network Monitor provides the ability to build monitor check routines based on ADSI. ActiveXperts Network Monitor provides some useful ADSI scripts. You can use these samples as a base for new check routines you can write yourself.

More »

PowerShell

Windows PowerShell is an important Windows management tool, together with VBScript. PowerShell's scripting environment consists of a command shell and a scripting language. You can write PowerShell scripts yourself using your favorite text editor, to run them in the PowerShell command shell.

PowerShell includes cmdlets to all sorts of system actions, from navigation and management to accessing resources. You can execute all of the cmdlets from the PowerShell command line or in your scripts. For a list of all available cmdlets, use the get-command command.

More »

Generic Visual Basic Script (VBScript)

VBScript (short for Visual Basic Scripting Edition) is an Active Scripting language, developed by Microsoft, which uses the Component Object Model to access elements of the environment within which it is running. The language's syntax reflects its origins as a limited variation of Microsoft's Visual Basic programming language.

ActiveXperts Network Monitor has full support for scripting Windows Management. Click here for more than thousand VBScript samples for IT administrators. You can easily use these scripts in ActiveXperts Network Monitor.

VBScript has been installed by default in every desktop release of Microsoft Windows since Windows 98[1]; as part of Windows Server since Windows NT 4.0 Option Pack[2]; and optionally with Windows CE (depending on the device it is installed on).

More »

Windows Management Instrumentation (WMI)

The foundations for Manageability in Windows XP/Windows 2000 and Windows Millennium Edition/Windows 98 are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).

The purpose of WMI is to define a non-proprietary set of environment-independent specifications. These specifications allow management information to be shared between management applications that run in both similar and dissimilar operating system environments. WMI prescribes enterprise management standards and related technologies that work with existing management standards, such as Desktop Management Interface (DMI) and SNMP. WMI complements these other standards by providing a uniform model. This model represents the managed environment through which management data from any source can be accessed in a common way.

ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts Software has collected more than hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.

More »

Windows Management Instrumentation Performance Counters

The foundations for Manageability in all versions of Windows after Windows '98 are Windows Management Instrumentation (WMI;formerly WBEM) and WMI extensions for Windows Driver Model (WDM).

More »