SCHED: GetResourceInfoJsonByGroups
Format
SCHED / GetResourceInfoJsonByGroups '<ResourceGroupName>' '<FileName>'
Description
The SCHED GetResourceInfoJsonByGroups Connect command returns all of the attributes of the resources in a resource group specified by the <ResourceGroupName> parameter in JSON format.
Parameters
- ResourceGroupName: The parameter is a string of text in single quotes of a comma delimited list of resource group names. Resource group names should not be in quotes.
- FileName: The parameter is a string of text in single quotes of the path of the filename. More information on the acceptable file path formats can be found here. Empty string is allowed if it is not written out to a file.
Examples
Finds the values of all the attributes of the resources in the Satellites resource group in the active schedule and save the file "out.json"
located at "C:\Outputs\"
SCHED / GetResourceInfoJsonByGroups 'Satellites' 'C:\Outputs\out.json'
Syntax | Example |
---|---|
<CommandName> | SCHED / GetResourceInfoJsonByGroups |
<ResourceGroupName> | 'Satellites' |
<FileName> | 'C:\Outputs\out.json' |
Return Message
Connect returns a message that contains all of the attribute data of the resources in the resource group in JSON format.
Group Membership
This command belongs to the following group(s):
Version
12.2