Skip to content

Commit 7882afa

Browse files
authored
Merge pull request MicrosoftDocs#259 from tseward/patch-37
Update Copy-SPActivitiesToWorkflowService.md
2 parents c7f02d3 + f47438f commit 7882afa

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Copy-SPActivitiesToWorkflowService.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ schema: 2.0.0
88
# Copy-SPActivitiesToWorkflowService
99

1010
## SYNOPSIS
11-
Copies SharePoint 2013 workflow activities from SharePoint to Workflow Manager.
11+
This cmdlet copies the Workflow Activities from SharePoint Server to the Workflow Manager farm. Activities are defined within Microsoft provided or custom coded assemblies.
12+
13+
1214

1315
## SYNTAX
1416

@@ -19,31 +21,32 @@ Copy-SPActivitiesToWorkflowService [-ActivityName <String>] [-AssignmentCollecti
1921
```
2022

2123
## DESCRIPTION
22-
{{Fill in the Description}}
24+
Copies Workflow activites from SharePoint Server to Workflow Manager.
2325

2426
## EXAMPLES
2527

2628
### Example 1
2729
```
2830
PS C:\>$credential = [System.Net.CredentialCache]::DefaultNetworkCredentials
29-
PS C:\>$site = Get-SPSite(https://siteCollection)
30-
PS C:\>$proxy = Get-SPWorkflowServiceApplicationProxy
31-
PS C:\>$svcAddress = $proxy.GetWorkflowServiceAddress($site)
32-
PS C:\>Copy-SPActivitiesToWorkflowService -WorkflowServiceAddress $svcAddress -Credential $credential -Force $true
33-
```
31+
PS C:\>$site = Get-SPSite <siteurl>
32+
33+
34+
35+
Copies the Workflow activities from SharePoint to the Workflow Manager farm using the specified Site Collection URL as a reference.
3436
35-
Copies Worklow Activities from the specified Site Collection to Workflow Manager.
3637
3738
## PARAMETERS
3839
3940
### -ActivityName
40-
{{Fill ActivityName Description}}
41+
Copies a specific ActivityName. If not specified, all Activities are copied.
4142
4243
```yaml
4344
Type: String
4445
Parameter Sets: (All)
4546
Aliases:
46-
Applicable: SharePoint Server 2013, SharePoint Server 2016
47+
48+
Applicable: SharePoint Server 2013, SharePoint Server 2016
49+
4750
4851
Required: False
4952
Position: Named
@@ -53,13 +56,15 @@ Accept wildcard characters: False
5356
```
5457

5558
### -AssignmentCollection
56-
{{Fill AssignmentCollection Description}}
59+
Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
60+
61+
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
5762

5863
```yaml
5964
Type: SPAssignmentCollection
6065
Parameter Sets: (All)
6166
Aliases:
62-
Applicable: SharePoint Server 2013, SharePoint Server 2016
67+
Applicable: SharePoint Server 2013, SharePoint Server 2016
6368

6469
Required: False
6570
Position: Named
@@ -75,7 +80,7 @@ Prompts you for confirmation before running the cmdlet.
7580
Type: SwitchParameter
7681
Parameter Sets: (All)
7782
Aliases: cf
78-
Applicable: SharePoint Server 2013, SharePoint Server 2016
83+
Applicable: SharePoint Server 2013, SharePoint Server 2016
7984

8085
Required: False
8186
Position: Named
@@ -85,13 +90,13 @@ Accept wildcard characters: False
8590
```
8691
8792
### -Credential
88-
{{Fill Credential Description}}
93+
The credential used to connect to Workflow Manager.
8994
9095
```yaml
9196
Type: ICredentials
9297
Parameter Sets: (All)
9398
Aliases:
94-
Applicable: SharePoint Server 2013, SharePoint Server 2016
99+
Applicable: SharePoint Server 2013, SharePoint Server 2016
95100

96101
Required: False
97102
Position: Named
@@ -101,13 +106,13 @@ Accept wildcard characters: False
101106
```
102107
103108
### -Force
104-
{{Fill Force Description}}
109+
Forces a specific Activity to be copied to Workflow Manager.
105110
106111
```yaml
107112
Type: Boolean
108113
Parameter Sets: (All)
109114
Aliases:
110-
Applicable: SharePoint Server 2013, SharePoint Server 2016
115+
Applicable: SharePoint Server 2013, SharePoint Server 2016
111116

112117
Required: False
113118
Position: Named
@@ -124,7 +129,7 @@ The cmdlet is not run.
124129
Type: SwitchParameter
125130
Parameter Sets: (All)
126131
Aliases: wi
127-
Applicable: SharePoint Server 2013, SharePoint Server 2016
132+
Applicable: SharePoint Server 2013, SharePoint Server 2016
128133

129134
Required: False
130135
Position: Named
@@ -134,13 +139,14 @@ Accept wildcard characters: False
134139
```
135140
136141
### -WorkflowServiceAddress
137-
The URL of the registered Workflow Manager service.
142+
The Workflow Manager farm endpoint URL.
143+
138144
139145
```yaml
140146
Type: String
141147
Parameter Sets: (All)
142148
Aliases:
143-
Applicable: SharePoint Server 2013, SharePoint Server 2016
149+
Applicable: SharePoint Server 2013, SharePoint Server 2016
144150

145151
Required: False
146152
Position: Named

0 commit comments

Comments
 (0)