This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Updates the Default TimeZone for sites in the Admin Centre. | |
.EXAMPLE | |
Using Your Account. | |
First connect using Connect-PnPOnline -PnPO365ManagementShell -url:<Tenant-Admin> -launchBrowser | |
.\TenantSiteCollectionDefaultTimeZone.ps1 -TimeZoneId:2 | |
.EXAMPLE | |
Using Certificate and AppId () | |
First connect using Connect-PnpOnline -ClientId:<ClientId> -Tenant:<Tenant> -CertificatePath:<PathToCert> -CertificatePassword:<SecureStringPassword> -Url:<Tenant-Admin> |