Office 365: How to get the list of modern team sites using Get-SPOSite!

With the latest stuff added by Microsoft to SharePoint Online (SPO), we can get the list of modern team sites created in a SPO tenant using Get-SPOSite cmdlet as detailed bellow (Note: In order to be able to execute the script, be sure to install last version of the SPO Management Shell). You can also download a more completed script from here: How to get the list of modern team sites in a SPO tenant

$sSPOAdmin="jcgonzalez@nuberosnet.onmicrosoft.com"
$sMessage="Type your SPO Credentials"
$SPOCredentials=Get-Credential -UserName $sSPOAdmin -Message $sMessage
$sSPOAdministrationUrl="https://nuberosnet-admin.sharepoint.com"
Connect-SPOService -Url $sSPOAdministrationUrl -Credential $SPOCredentials
Get-SPOSite -Template GROUP#0 -IncludePersonalSite:$false

Once you execute the script, you will get the following results:

image

Reference:

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s