ChrPinedo.Itop is a minimal Powershell Module for the REST API of iTop CMDB.
Query of some objects of the iTop CMDB:
- VirtualMachine
- ApplicationSolution
- Organization
- Contact
- Person
- Team
The recommended way to install this module is via PowerShell Gallery.
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