Skip to content

Commit 7ea9998

Browse files
authored
Get-SPOPersonalSitePageCopyProgress documentation
This cmdlet enables you to track the progress of a SharePoint page's copy operation.
1 parent d056f14 commit 7ea9998

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spopersonalsitepagecopyprogress
5+
applicable: SharePoint Online
6+
title: Get-SPOPersonalSitePageCopyProgress
7+
schema: 2.0.0
8+
author: xuyangzo, bellesirapha
9+
ms.author: xuyangzou, spodeanu
10+
ms.reviewer:
11+
---
12+
13+
# Get-SPOPersonalSitePageCopyProgress
14+
15+
## SYNOPSIS
16+
17+
This cmdlet enables you to track the progress of a SharePoint page's copy operation.
18+
19+
## SYNTAX
20+
21+
```powershell
22+
Get-SPOPersonalSitePageCopyProgress -DestinationSite <SpoSitePipeBind> -WorkItemId <Guid> [<CommonParameters>]
23+
```
24+
25+
## DESCRIPTION
26+
27+
After this cmdlet is executed, you'll receive the following information:
28+
29+
| Property | Description |
30+
| :------- | :---------- |
31+
| ErrorMessage | The error message if there is an error. |
32+
| JobState | The state of the job. |
33+
| NewPageUrl | The URL of the new page if the copy is already finished. |
34+
| SourcePageName | The name of the source page to copy. Will be empty. |
35+
| StatusMessage | The message to describe the status. |
36+
| WorkItemId | The work item id to track the status of the copy job if the copy job is in progress. |
37+
38+
The following table explains the copy job's state:
39+
40+
| Status | Explanation |
41+
| :---------- | :---------- |
42+
| Queued | The copy operation was queued for execution. |
43+
| CreateAssetsFolderStart | We've started creating a folder to place all associated assets used on this page. |
44+
| CreateAssetsFolderEnd | We've finished creating a folder to place all associated assets used on this page. |
45+
| CopyAssetsStart | We've started copying associated assets used on this page. |
46+
| CopyAssetsEnd | We've finished copying associated assets used on this page. |
47+
| CreatePageStart | We've started creating a new page. |
48+
| CreatePageEnd | We've finished creating a new page. |
49+
| Succeeded | The copy operation was successful. |
50+
| Deleting | The copy operation was deleted. |
51+
| Failed | The copy operation failed. |
52+
| JobNotFound | The copy operation wasn't found. |
53+
54+
## EXAMPLES
55+
56+
### -----------------------EXAMPLE 1-----------------------------
57+
58+
```powershell
59+
Get-SPOPersonalSitePageCopyProgress -DestinationSite 'https://contoso.sharepoint.com/sites/testsite' -WorkItemId 1a95eb18-f68d-4dd4-9aaf-b47cf05cf02a
60+
```
61+
62+
Example 1 shows how a SharePoint Administrator can check the status of a copy operation using a work item ID.
63+
64+
65+
## PARAMETERS
66+
67+
### -DestinationSite
68+
69+
Specifies the URL of the destination SharePoint site to which the SharePoint page has been copied to.
70+
71+
```yaml
72+
Type: SpoSitePipeBind
73+
Parameter Sets: (All)
74+
Aliases:
75+
Applicable: SharePoint Online
76+
77+
Required: True
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
### -WorkItemId
85+
86+
Specifies the GUID of the work item created for the copy job if it is asynchronous.
87+
88+
```yaml
89+
Type: Guid
90+
Parameter Sets: (All)
91+
Aliases:
92+
Applicable: SharePoint Online
93+
94+
Required: True
95+
Position: Named
96+
Default value: None
97+
Accept pipeline input: False
98+
Accept wildcard characters: False
99+
```
100+
101+
### CommonParameters
102+
103+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
104+
105+
## NOTES
106+
107+
TODO.
108+
109+
## RELATED LINKS
110+
111+
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)

0 commit comments

Comments
 (0)