PowerShell Tips from HIVE

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:

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

Import-PSSession $O365Session

After you successfully execute the three commands above, you should see:

Good luck with PowerShell!