Skip to content

Latest commit

 

History

History
186 lines (139 loc) · 3.44 KB

Get-KshProperty.md

File metadata and controls

186 lines (139 loc) · 3.44 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Get-KshProperty

SYNOPSIS

Retrieves properties.

SYNTAX

ParamSet1

Get-KshProperty [-Alert] <Alert> [-ProgressAction <ActionPreference>] [<CommonParameters>]

ParamSet2

Get-KshProperty [-File] <File> [-ProgressAction <ActionPreference>] [<CommonParameters>]

ParamSet3

Get-KshProperty [-Folder] <Folder> [-ProgressAction <ActionPreference>] [<CommonParameters>]

ParamSet4

Get-KshProperty [-ListItem] <ListItem> [-ProgressAction <ActionPreference>] [<CommonParameters>]

ParamSet5

Get-KshProperty [-Site] <Site> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Get-KshProperty cmdlet retrieves properties of the specified alert, file, folder, list item or site.

EXAMPLES

Example 1

PS C:\> Get-KshProperty -Alert (Get-KshAlert -AlertId '8e22b48d-680a-493a-b3d1-b4607108a94a')

Retrieves properties of the alert.

Example 2

PS C:\> Get-KshProperty -File (Get-KshFile -FileUrl '/sites/japan/hr/Shared%20Documents/README.txt')

Retrieves properties of the file.

Example 3

PS C:\> Get-KshProperty -Folder (Get-KshFolder -FolderUrl '/sites/japan/hr/Shared%20Documents/Templates')

Retrieves properties of the folder.

Example 4

PS C:\> Get-KshProperty -ListItem (Get-KshListItem -List (Get-KshList -ListTitle 'Announcements') -ItemId 1)

Retrieves properties of the list item.

Example 5

PS C:\> Get-KshProperty -Site (Get-KshSite -SiteUrl '/sites/japan/hr')

Retrieves properties of the site.

PARAMETERS

-Alert

Specifies the alert.

Type: Alert
Parameter Sets: ParamSet1
Aliases:

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

-File

Specifies the file.

Type: File
Parameter Sets: ParamSet2
Aliases:

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

-Folder

Specifies the folder.

Type: Folder
Parameter Sets: ParamSet3
Aliases:

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

-ListItem

Specifies the list item.

Type: ListItem
Parameter Sets: ParamSet4
Aliases:

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

-Site

Specifies the site.

Type: Site
Parameter Sets: ParamSet5
Aliases:

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

-ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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.PropertyValues

NOTES

RELATED LINKS