Skip to content

Latest commit

 

History

History
240 lines (187 loc) · 4.86 KB

Add-KshTenantSiteCollection.md

File metadata and controls

240 lines (187 loc) · 4.86 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Add-KshTenantSiteCollection

SYNOPSIS

Creates a new site collection.

SYNTAX

ParamSet1

Add-KshTenantSiteCollection [-CompatibilityLevel <Int32>] [-Lcid <UInt32>] -Owner <String>
 [-StorageMaxLevel <Int64>] [-StorageWarningLevel <Int64>] [-Template <String>] [-TimeZoneId <Int32>]
 [-Title <String>] -Url <String> [-UserCodeMaxLevel <Double>] [-UserCodeWarningLevel <Double>]
 [<CommonParameters>]

ParamSet2

Add-KshTenantSiteCollection [-CompatibilityLevel <Int32>] [-Lcid <UInt32>] -Owner <String>
 [-StorageMaxLevel <Int64>] [-StorageWarningLevel <Int64>] [-Template <String>] [-TimeZoneId <Int32>]
 [-Title <String>] -Url <String> [-UserCodeMaxLevel <Double>] [-UserCodeWarningLevel <Double>] [-NoWait]
 [<CommonParameters>]

DESCRIPTION

The Add-KshTenantSiteCollection cmdlet adds a new site collection to the tenant. This cmdlet can be used only when connected to the SharePoint admin center.

EXAMPLES

Example 1

PS C:\> Add-KshTenantSiteCollection -Owner '[email protected]' -Url 'https://example.sharepoint.com/sites/hub'

Creates a new site collection.

PARAMETERS

-CompatibilityLevel

Specifies the compatibility level.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Lcid

Specifies the locale ID. For more information, see reference.

Type: UInt32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NoWait

If specified, continue executing script immediately.

Type: SwitchParameter
Parameter Sets: ParamSet2
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Owner

Specifies the owner.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StorageMaxLevel

Specifies the maximum quota of the storage.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-StorageWarningLevel

Specifies the warning quota of the storage.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Template

Specifies the site template ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TimeZoneId

Specifies the time zone ID. For more information, see reference.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Title

Specifies the title.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

Specifies the URL.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserCodeMaxLevel

Specifies the maximum quota of the server resource.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserCodeWarningLevel

Specifies the warning quota of the server resource.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.TenantSiteCollection

NOTES

RELATED LINKS