The Get-VmsSite cmdlet can be used to identify which site is currently selected,
or which sites are available to be selected. When logged into a Milestone
Federated Hierarchy, many cmdlets only operate on the currently "selected" site
which will be the site that was directly logged in to using Connect-Vms.
To view and modify the configuration of resources on a child site, you can pipe
the output from Get-VmsSite to Select-VmsSite.
REQUIREMENTS
Requires VMS connection and will attempt to connect automatically
This command command will return an object representing the site named "Site2". If no such site exists, it will return an
error because there is no wildcard in the Name parameter.
This command gets all Items representing sites where the display name begins with "DR-". If no matching sites exist, no
values are returned. Due to the presence of the wildcard character "*", there will be no error.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.