external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Checks whether the site or list allows external sharing.
Test-KshExternalUserSharing [-Site] [<CommonParameters>]
Test-KshExternalUserSharing [-List] <List> [<CommonParameters>]
The Test-KshExternalUserSharing cmdlet returns a value that indicates the site or list allows external sharing.
PS C:\> Test-KshExternalUserSharing -Site
Checks the external sharing of the site.
PS C:\> Test-KshExternalUserSharing -List (Get-KshList -ListId 'a01f8e07-290f-4644-9db8-85bb00b85e74')
Checks the external sharing of the list.
Specifies the list.
Type: List
Parameter Sets: ParamSet2
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified, uses the current site.
Type: SwitchParameter
Parameter Sets: ParamSet1
Aliases:
Required: True
Position: 0
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.