Versions Compared

Key

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

...

 
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.eventzeroenoteno.net and you are prompted to enter credentials

Code Block
languagepowershell
Connect-UdmServer -tenant contoso.udm.eventzeroenoten.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.eventzeroenoten.net -Credentials $cred

See Also

 

...