Skip to content

Commit 0801db5

Browse files
authored
Merge pull request MicrosoftDocs#7987 from WayneEwington/patch-11
Update Get-SPOSiteRenameState.md
2 parents a44033d + e410da7 commit 0801db5

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteRenameState.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Returns the current rename job state of a SharePoint Online Site.
2424
Get-SPOSiteRenameState -Identity <SpoSitePipeBind> [-WhatIf] [-Confirm] [<CommonParameters>]
2525
```
2626

27+
### ParentId
28+
29+
```powershell
30+
Get-SPOSiteRenameState -ParentOperationId <guid> [-State <RenameState>] [-WhatIf] [-Confirm] [<CommonParameters>]
31+
```
32+
2733
### RenameReport
2834

2935
```powershell
@@ -52,6 +58,15 @@ Get-SPOSiteRenameState -State InProgress
5258

5359
This example returns rename jobs that are in InProgress state.
5460

61+
### Example 3
62+
63+
```powershell
64+
$tenantRenameJobId = (Get-SPOTenantRenameStatus).RenameJobId
65+
Get-SPOSiteRenameState -ParentOperationId $tenantRenameJob
66+
```
67+
68+
This example returns rename jobs that were initiated by a tenant rename.
69+
5570
## PARAMETERS
5671

5772
### -Identity
@@ -70,15 +85,35 @@ Accept pipeline input: False
7085
Accept wildcard characters: False
7186
```
7287
88+
### -ParentOperationId
89+
90+
The parent operation id that initiated the site to be renamed. For example, the tenant rename job id.
91+
92+
```yaml
93+
Type: guid
94+
Parameter Sets: ParentId
95+
Aliases:
96+
Applicable: SharePoint Online
97+
Required: True
98+
Position: Named
99+
Default value: None
100+
Accept pipeline input: False
101+
Accept wildcard characters: False
102+
```
103+
73104
### -State
74105
75106
The state of the rename job, possible values are
76107
77-
- Success
108+
- Queued
78109
79110
- InProgress
80111
81-
- Fail
112+
- Success
113+
114+
- Failed
115+
116+
- Suspended
82117
83118
```yaml
84119
Type: RenameState

0 commit comments

Comments
 (0)