Skip to content

Latest commit

 

History

History
107 lines (79 loc) · 2.23 KB

Set-KshSubscription.md

File metadata and controls

107 lines (79 loc) · 2.23 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Set-KshSubscription

SYNOPSIS

Updates a subscription.

SYNTAX

Set-KshSubscription [-Identity] <Subscription> [-ExpirationDateTime <DateTime>] [-NotificationUrl <String>]
 [-PassThru] [<CommonParameters>]

DESCRIPTION

The Set-KshSubscription cmdlet updates properties of the subscription.

EXAMPLES

Example 1

PS C:\> Set-KshSubscription -Identity (Get-KshSubscription -List (Get-KshList -ListTitle 'Announcements') -SubscriptionId '40231e12-904f-430a-aa76-a6487076c36e') -ExpirationDateTime [System.DateTime]::UtcNow.AddDays(1)

Updates property values of the subscription.

PARAMETERS

-ExpirationDateTime

Specifies the expiration date/time.

Type: DateTime
Parameter Sets: (All)
Aliases:

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

-Identity

Specifies the subscription.

Type: Subscription
Parameter Sets: (All)
Aliases:

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

-NotificationUrl

Specifies the notification URL.

Type: String
Parameter Sets: (All)
Aliases:

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

-PassThru

If specified, returns the updated object.

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

Karamem0.SharePoint.PowerShell.Models.V1.Subscription

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.Subscription

NOTES

RELATED LINKS