external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Creates a new anonymous link.
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> -Expiration <DateTime>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
The Add-KshAnonymousLink cmdlet generates a new anonymous link for the URL. In order to use this cmdlet, the current site should be allowed to be shared with external users.
PS C:\> Add-KshAnonymousLink -Url '/sites/japan/hr/Shared%20Documents/README.txt' -IsEditLink $true
Creates a new anonymous link.
Specifies the expiration date and time.
Type: DateTime
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies whether it is an edit link.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the URL.
Type: Uri
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.