/ChrPinedo.Itop

Minimal iTOP REST Wrapper for PowerShell

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

ChrPinedo.Itop Powershell Module

Build Status

ChrPinedo.Itop is a minimal Powershell Module for the REST API of iTop CMDB.

Features

Query of some objects of the iTop CMDB:

  • VirtualMachine
  • ApplicationSolution
  • Organization
  • Contact
  • Person
  • Team

Installation

The recommended way to install this module is via PowerShell Gallery.

Usage

For example, to obtain a list of virtual machines in production state:

$Uri = 'https://itop.example.com/webservices/rest.php?version=1.3'
$Cred = Get-Credential -Username admin
$ProductionVMs = Get-VirtualMachine -Uri $uri -Credential $Cred -Status production