File tree Expand file tree Collapse file tree 1 file changed +37
-2
lines changed
sharepoint/sharepoint-ps/sharepoint-online Expand file tree Collapse file tree 1 file changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ Returns the current rename job state of a SharePoint Online Site.
24
24
Get-SPOSiteRenameState -Identity <SpoSitePipeBind> [-WhatIf] [-Confirm] [<CommonParameters>]
25
25
```
26
26
27
+ ### ParentId
28
+
29
+ ``` powershell
30
+ Get-SPOSiteRenameState -ParentOperationId <guid> [-State <RenameState>] [-WhatIf] [-Confirm] [<CommonParameters>]
31
+ ```
32
+
27
33
### RenameReport
28
34
29
35
``` powershell
@@ -52,6 +58,15 @@ Get-SPOSiteRenameState -State InProgress
52
58
53
59
This example returns rename jobs that are in InProgress state.
54
60
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
+
55
70
## PARAMETERS
56
71
57
72
### -Identity
@@ -70,15 +85,35 @@ Accept pipeline input: False
70
85
Accept wildcard characters : False
71
86
` ` `
72
87
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
+
73
104
### -State
74
105
75
106
The state of the rename job, possible values are
76
107
77
- - Success
108
+ - Queued
78
109
79
110
- InProgress
80
111
81
- - Fail
112
+ - Success
113
+
114
+ - Failed
115
+
116
+ - Suspended
82
117
83
118
` ` ` yaml
84
119
Type : RenameState
You can’t perform that action at this time.
0 commit comments