Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get-JobSchedulerInventory [-Url <Uri>] [-InputFile <String>] [-OutputFile <String>] -Append [<CommonParameters>
]

DESCRIPTION

The cmdlet returns the inventory of JobScheduler Master instances
including information about related Agent instances.

...

Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?

Append

-Append <SwitchParameter>
Specifies that contents from an existing output file is preserved
and that the inventory information is added.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?

...

-------------------------- EXAMPLE 1 --------------------------

C:\PS>$inventory = Get-Inventory JobSchedulerInventory http://localhost:4444

Returns the inventory for the specified JobScheduler Master instance.

-------------------------- EXAMPLE 2 --------------------------

C:\PS>$inventory = Get-Inventory JobSchedulerInventory http://localhost:4444 -OutputFile /tmp/inventory.xml

...

-------------------------- EXAMPLE 3 --------------------------

C:\PS>$inventory = Get-Inventory JobSchedulerInventory -InputFile /tmp/inventory.csv -OutputFile /tmp/inventory.xml

...

$inventory = $instances | Get-Inventory JobSchedulerInventory -OutputFile /tmp/inventory.xml