Write-Log "Script completed"

After the installation finishes, you will be prompted to sign in with your Microsoft account to activate the Professional license. If you have a standalone product key, you can find it in your Subscription Product Keys tab.