Licensing Office 365 via script
Powershell script that can be adapted to license Office 365 with various service plans. Import-Module MSOnline Connect-MsolService -Credential $Credentials $SessionParams = @{ ConfigurationName = “Microsoft.Exchange” ConnectionUri = “https://outlook.office365.com/powershell-liveid/” Credential = $Credentials Authentication = “Basic” AllowRedirection = $true} $Session = New-PSSession @SessionParams Import-PSSession -Session $Session -DisableNameChecking:$true -AllowClobber:$true | Out-Null #Get… Read More »