Search Results for

    Show / Hide Table of Contents

    Get-PnPSiteCollectionAdmin

    SYNOPSIS

    Returns the current site collection administrators of the site collection in the current context

    SYNTAX

    Get-PnPSiteCollectionAdmin [-Connection <PnPConnection>] 
    

    DESCRIPTION

    This command will return all current site collection administrators of the site collection in the current context

    EXAMPLES

    EXAMPLE 1

    Get-PnPSiteCollectionAdmin
    

    This will return all the current site collection administrators of the site collection in the current context

    PARAMETERS

    -Connection

    Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

    Type: PnPConnection
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer