PowerShell is an important tool needed to enable HIVE for Teams live events, Skype Meeting Broadcast & Office 365 Video. If you're new to PowerShell, it can be overwhelming. Here are a few tips we've learned along the way.
Enable PowerShell scripts
Sometimes, PowerShell commands won't be recognized on your computer.
You must change the Powershell policy to enable scripts execution.
We've found this guide to be most helpful:
- Also: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6&viewFallbackFrom=powershell-Microsoft.PowerShell.Core
Changing PowerShell credentials
When you use a PowerShell script to enable HIVE, you will need to use the proper credentials. You can change the credentials used in the current session:
In the Windows PowerShell window, connect to your Office 365 organization by running the following commands in succession:
$Credential = get-credential
$O365Session = New-CsOnlineSession -Credential $credential
After you successfully execute the three commands above, you should see:
Good luck with PowerShell!