Skip to content

Commit 966da7a

Browse files
Merge pull request #1075 from ishwarit/docs-editor/New-SPOContainerType-1763060441
Update New-SPOContainerType.md
2 parents 20db695 + b032198 commit 966da7a

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This cmdlet creates a new container type of standard or trial status. The standa
2121
```
2222
New-SPOContainerType [-ContainerTypeName] <String> -OwningApplicationId <Guid>
2323
[-ApplicationRedirectUrl <String>] [-TrialContainerType] [-IsPassThroughBilling]
24-
[-IsGovernableByAdmin <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
24+
[-IsGovernableByAdmin <Boolean>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
2525
```
2626

2727
## DESCRIPTION
@@ -64,6 +64,14 @@ New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce032
6464

6565
In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms.
6666

67+
### Example 5
68+
69+
```powershell
70+
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -IsArchiveEnabled $true
71+
```
72+
73+
In Example 5, the cmdlet creates a standard container type, ContosoLegal that supports archive and reactivate actions on its containers.
74+
6775
## PARAMETERS
6876

6977
### -ApplicationRedirectUrl
@@ -102,6 +110,24 @@ Accept pipeline input: False
102110
Accept wildcard characters: False
103111
```
104112
113+
### -IsArchiveEnabled
114+
115+
> Applicable: SharePoint Online
116+
117+
Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.
118+
119+
```yaml
120+
Type: System.Boolean
121+
Parameter Sets: (All)
122+
Aliases:
123+
124+
Required: False
125+
Position: Named
126+
Default value: False
127+
Accept pipeline input: False
128+
Accept wildcard characters: False
129+
```
130+
105131
### -IsGovernableByAdmin
106132

107133
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)