New-WFScope
Updated: September 7, 2012
New-WFScope
Syntax
Parameter Set: Default New-WFScope -ScopeUri <Uri> [-Credential <ICredentials> ] [-DefaultWorkflowConfiguration <WorkflowConfiguration> ] [-DisplayName <String> ] [-SecurityConfiguration <ScopeSecurityConfiguration[]> ] [-UserComment <String> ] [ <CommonParameters>]
Detailed Description
Run New-WFScope to create a new Workflow scope based on the scope path. You can optionally set the display name and the Workflow configuration.
Parameters
-Credential<ICredentials>
Specifies the credential to use when connecting to the Workflow Manager 1.0 service. If not specified, then the currently logged in users Windows credentials are used to connect to the service.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-DefaultWorkflowConfiguration<WorkflowConfiguration>
The WorkflowConfiguration object containing the default workflow configuration.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-DisplayName<String>
The display name of the scope.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ScopeUri<Uri>
The URI of the Workflows scope.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-SecurityConfiguration<ScopeSecurityConfiguration[]>
Specifies the security configuration.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-UserComment<String>
Specifies the user comments for the scope.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1
Create a new Workflow scope based on the specified scope path.
PS C:\> New-WFScope https://server/NewScope
PS C:\>