search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Windows Powershell, Windows Server | No Comment | 2,780 views | 19/07/2014 08:40

I made a module for HP OpenView on PowerShell. You can download from here:

HP OpenView PowerShell Module v1.4

Exported Functions:

Get-HPOVManagedNode
Set-HPOVManagedNode
Get-HPOVPDTList
Start-HPOVManagedNodePDT
Stop-HPOVManagedNodePDT

How to import Module?

First extract module directory into one of PS module directory path. You can see paths with $env:PSModulePath

Import-Module HPOVPS

Examples:

Getting managed node properties from HP OpenView:

Get-HPOVManagedNode -Name "node.domain.com"

Setting managed node properties from HP OpenView:

Set-HPOVManagedNode -Name "node.domain.com" -Owner "Admin" -CommunicationPath "192.168.0.1"

Getting managed nodes in PDT:

Get-HPOVPDTList

Starting PDT for managed node:

Start-HPOVManagedNodePDT -Name "node.domain.com"

Stopping PDT for managed node:

Stop-HPOVManagedNodePDT -Name "node.domain.com"

Thats all for now. I may add additional functions on this module.