Skip to content

Latest commit

 

History

History
138 lines (104 loc) · 2.71 KB

Add-KshSite.md

File metadata and controls

138 lines (104 loc) · 2.71 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Add-KshSite

SYNOPSIS

Creates a new site.

SYNTAX

Add-KshSite [-Description <String>] [-Lcid <UInt32>] [-ServerRelativeUrl <String>] [-Template <String>]
 [-Title <String>] [-UseSamePermissionsAsParentSite <Boolean>] [<CommonParameters>]

DESCRIPTION

The Add-KshSite cmdlet adds a new site to the current site.

EXAMPLES

Example 1

PS C:\> Add-KshSite -Description 'Everyday happiness' -LCID 1033 -Title 'Blog' -Url 'blog' -UseSamePermissionsAsParentSite $true -Template 'BLOG#0'

Creates a new site.

PARAMETERS

-Description

Specifies the description.

Type: String
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

-ServerRelativeUrl

Specifies the site relative URL.

Type: String
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

-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

-UseSamePermissionsAsParentSite

If specified, the site will inherit permissions from its parent site.

Type: Boolean
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.Site

NOTES

RELATED LINKS