Have a Question?
Categories
Print

IVANTI- Interroger la base WEB

$ivanti = "nom de votre serveur IVANTI"
$global:LANDeskWebService = New-WebServiceProxy -uri http://$ivanti/MBSDKService/MsgSDK.asmx?WSDL -Credential (Get-Credential)


$global:LANDeskComputers = $LANDeskWebService.ListMachines("").Devices | Select-Object -Property GUID, @{name="ComputerName";expression={$_.DeviceName}}, DomainName, LastLogin, IPAddress, SubnetMask, MACAddress, OSName

$LANDeskQueries = $LANDeskWebService.ListQueries()