Versions Compared

Key

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

Connect to a Ranger server for the purposes of using other cmdlets from the Ranger PowerShell module.

ItemComment
Availability versionVersion 1.0
Initial release dateJune 27, 2017
Last updated onJune 27, 2017
Related toRanger Documentation

Syntax

Code Block
languagepowershell
Connect-UdmServer -Tenant <String> [-Credentials <PSCredential>] [<CommonParameters>]

Parameters

ParameterDescriptionClassAccepted optionsConstraintsUsageUniqueAvailable from version
TenantIndicates the FQDN identity of the Ranger server to connect to.System.String If not specified a EzUdmTenants.xml file is searched for before prompting for the tenant nameOptional v1.0
Credentials

Enables you to run this cmdlet under alternate credentials. To use the Credential parameter you must first create a PSCredential object by using the Get-Credential cmdlet. For more information on using the Get-Credential cmdlet, see https://technet.microsoft.com/en-us/library/hh849815.aspx.   

System.Management.Automation.PSCredential 
Optional  v1.0

Examples

Example 1 

In example 1, the Connect-UdmServer cmdlet connects to the Ranger server contoso.udm.eventzero.net and you are prompted to enter credentials

Code Block
languagepowershell
Connect-UdmServer -tenant contoso.udm.eventzero.net 

Example 2

In example 2, the connection is made to the same Ranger server as example 1, but uses credentials from Get-Credential 

Code Block
languagepowershell
$cred = Get-Credential
Connect-UdmServer -tenant contoso.udm.eventzero.net -Credentials $cred

See Also

 

Include Page
HOME:Footer
HOME:Footer