< Back

Get-vRASourceMachine

Sat Jan 18, 2020 10:00 pm

NAME Get-vRASourceMachine



SYNOPSIS

Return a list of source machines





SYNTAX

Get-vRASourceMachine [-ManagedOnly] [-Limit <Int32>] [-Page <Int32>] [<CommonParameters>]



Get-vRASourceMachine -Id <String[]> [<CommonParameters>]



Get-vRASourceMachine -Name <String[]> [<CommonParameters>]



Get-vRASourceMachine [-TemplatesOnly] [-Limit <Int32>] [-Page <Int32>] [<CommonParameters>]





DESCRIPTION

Return a list of source machines. A source machine represents an entity that is visible to the endpoint.





PARAMETERS

-Id <String[]>

The id of the Source Machine



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String[]>

The name of the Source Macine



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ManagedOnly [<SwitchParameter>]

Only return machines that are managed



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TemplatesOnly [<SwitchParameter>]

Only return machines that are marked as templates



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Limit <Int32>

The number of entries returned per page from the API. This has a default value of 100.



Required? false

Position? named

Default value 100

Accept pipeline input? false

Accept wildcard characters? false



-Page <Int32>

The page of response to return. By default this is 1.



Required? false

Position? named

Default value 1

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

System.Int





OUTPUTS

System.Management.Automation.PSObject





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



PS C:\\>Get-vRASourceMachine -Id 597ff2c1-a35f-4a81-bfd3-ca014













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



PS C:\\>Get-vRASourceMachine -Name vra-template-01













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



PS C:\\>Get-vRASourceMachine













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-vRASourceMachine -Template













-------------------------- EXAMPLE 5 --------------------------



PS C:\\>Get-vRASourceMachine -Managed















RELATED LINKS