Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como SharePoint Online

PowerShell - SharePointOnline - Queries the active site collections in O365 tenant to generate reports based on template type used by the site collection

# Requires Windows PowerShell version 3 $tenant = "" <#   Description:     Queries the active site collections in O365 tenant to generate reports based on template type used     by the site collection. And will generate report with all site collections in tenant.     Details of the discovered sites are written to a .csv file for each template type.     The .csv files will be found in the directory the script is ran from.   Requirements:     SharePoint Online Management Shell - Current build     http://www.microsoft.com/en-us/download/details.aspx?id=35588 ============================================================== #> # Set tenant values $SPOAdminCenter = "https:// $tenant -admin.sharepoint.com" $AdminCredential = "" #Report Files Names $reportNameGroups = "GroupsSiteInfo_ $(( Get-Date ) . ToString( "yyyy-MM-dd_hh.mm.ss" )) .c...

[SPOnline] Everyone except external users

FUENTE: http://tomislavspadmin.blogspot.com/2018/05/everyone-except-external-users.html First you need to run Connect-SPOService Connect-SPOService https://************-admin.sharepoint.com If you want to show/enable Everyone except external users run the following command: Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $true If you want to hide/disable Everyone except external users run the following command: Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false

Get SharePoint Online Site and SubSites permission using PowerShell

The below PowerShell script retrieves the following for the given SharePoint Online Site All the Sub-site's URL Security group attached with each Sub-site with their permission level Prerequisites: This PowerShell script uses the latest version of SharePoint Online PnP Module. Download the installer from https://github.com/SharePoint/PnP-PowerShell/releases  Install-Module SharePointPnPPowerShellOnline  Install-Module - Name ' SharePointPnP.PowerShell.Commands.Files.Recurse ' function  connect - site( $webs , $creds ){    Connect - PNPonline  - Url  $webs   - Credentials  $cred     }    function  get - sitepermission( $web , $cred ){    $rec =@()    connect - site  - webs  $web   - creds  $cred     if ( $web   - eq  $parentsitename )  {  #Write-Host "Parent site permission" $web   $Pgroups =G...