Skip to content

Commit f7ab25f

Browse files
authored
Update Copy-SPActivitiesToWorkflowService.md
Closes #1816 Restored @tseward sample from this [commit](MicrosoftDocs@2049c5b#diff-d89a6177430bf5842c7a77bf4d187d31)
1 parent 58534f0 commit f7ab25f

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)