Get-TSTMGMTDeviceInventory

Get the Device Inventory information of a device from the Management Platform.

Written by Giuseppe

Last published at: August 20th, 2020

Gets the Device Inventory information of a device from the Management Platform


SYNTAX

Get-TSTMGMTDeviceInventory

        -Device <Device> [-Interface <guid>] [-Timeout <int>]


DESCRIPTION

Gets the Device Inventory information from the Management Console. You can specify a fully qualified or relative name of the device to collect the information from.


EXAMPLES

1. Get the information about a device called 'W10_INFINITY'

$allDevices = Get-TSTMGMTAllData

$allDevices.Devices[4]  


        $allDevices .Devices[4] | Get-TSTMGMTDeviceInventory  



        2. Get the information about all Devices 

        Connect-TSTMGMTServer -Uri "https://yourserver/TSTMgmt" -Username "Administrator" -Password "XXXXXXXXXXXX"

        $allData = Get-TSTMGMTAllData

        foreach ($devices in $allData.Devices)
        {
         $devices | Get-TSTMGMTDeviceInventory    
        }


PARAMETERS


-Device

Device object to get the inventory for

Type: ThinScale.Management.DataObjects.Device
Required: Yes
Accept Pipeline Input: Yes


-Interface

The interface ID returned by a previously successful call to Connect-TSTMGMTServer. This parameter is only required if you are connected to 2 or more Management Platform instances at the same time. If this parameter is not specified the connection to the last successful call to Connect-TSTMgmtServer will be used.

Type: Guid
Required: No
Accept Pipeline Input: No


-Timeout

The time allowed in milliseconds for the call to complete before it is deemed to have timed out and is aborted

Type: Int32
Required: No
Accept Pipeline Input: No


INPUTS

ThinScale.Management.DataObjects.Device


OUTPUTS

ThinScale.Management.DataObjects.DeviceInventory