Creates a URI
Syntax
New-DtUri [-Literal] <String> [<CommonParameters>]
New-DtUri [-NetworkId] <String> [-Credential <PSCredential>] [-Port <Int32>] [-Scheme <String>] [-Query <String>] [-Fragment <String>] [<CommonParameters>]
Detailed Description
This cmdlet creates a URI (uniform resource identifier) that is used to specify job credentials
Parameters
Name | Type | Description | Required | Pipeline Input |
---|---|---|---|---|
Literal | String |
Specify the entire URI string. |
true | false |
NetworkId | String |
Specify the name or IP address of the server. |
true | false |
Credential | PSCredential |
Specify the credential object returned from the Windows PowerShell Get-Credential cmdlet. This password will not be visible because Windows stores an encrypted password. See Hiding your password in a PowerShell script for basic details on using this cmdlet. See your Windows PowerShell documentation for detailed instructions. |
false | false |
Port | Int32 |
Specify the communications port. |
false | false |
Scheme | String |
Specify the scheme name. |
false | false |
Query | String | Specify any additional identification information. | false | false |
Fragment | String | Specify any identifying information that provides direction to a secondary resource. | false | false |
Outputs
Uri
Examples
New-DtUri -Literal "http://server:6320" |
A URI is created for http://server:6320.
New-DtUri -Literal "foo://username:password@domain.com:6320/location/index?type=volume&directory=C#location " |
A URI is created for foo://username:password@domain.com:6320/location/index?type=volume&directory=C#location.