Skip to content

Commit 6da8990

Browse files
authored
Merge pull request MicrosoftDocs#1817 from andikrueger/patch-2
Update Copy-SPActivitiesToWorkflowService.md
2 parents 58534f0 + f7ab25f commit 6da8990

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Copies Workflow activites from SharePoint Server to Workflow Manager.
2929
```
3030
PS C:\>$credential = [System.Net.CredentialCache]::DefaultNetworkCredentials
3131
PS C:\>$site = Get-SPSite <siteurl>
32+
PS C:\>$proxy = Get-SPWorkflowServiceApplicationProxy
33+
PS C:\>$svcAddress = $proxy.GetWorkflowServiceAddress($site)
34+
PS C:\>Copy-SPActivitiesToWorkflowService -WorkflowServiceAddress $svcAddress -Credential $credential -Force $true
3235
```
3336

3437

0 commit comments

Comments
 (0)