Quick look on Skype for Business online portal and SfB Windows Powershell module

Having a quick look on how the Skype for Business online Office 365 portal look like.

Ensure that the Skype for Business Administrator account had been assign

clip_image002

Users can be search from users panel

clip_image004

Skype for Business Online come with Windows PowerShell Module and why use Powershell instead of the SfB online web portal.

· One reason for using the management shell is that some tasks cannot be completed within the online portal. Hence for these types of features, SfB administrators must resort to using the management shell.

· One of the many examples, the only way to manage client policies in Skype for Business Server is with the Management Shell. Other examples of the tasks that specifically require the command line based tool set include many of the settings for call park and other actions that are performed rarely.

Microsoft has released the Skype for Business Online, Windows PowerShell Module that allows use of Windows PowerShell to manage Skype for Business Online deployments.

Download here: Skype for Business Online, Windows PowerShell Module

Ensure that you read the system requirements before installing the module as it required at least Windows Powershell 3.0

System Requirement: https://technet.microsoft.com/en-us/library/dn362839%28v=ocs.15%29.aspx?f=255&MSPPError=-2147217396

clip_image006

Otherwise, the Windows Management Framework 3.0 is required to be download and install. Link: https://www.microsoft.com/en-sg/download/details.aspx?id=34595

Once all the requirements and prerequisites have been meet. Let install the Skype for Business Powershell Module.

Warning: A Restart is required. Be sure to save all your work before proceeding.

clip_image008

clip_image010

Once the computer had restart, it will finalize the settings.

clip_image012

Recommend to Set-ExecutionPolicy RemoteSigned to the PowerShell, rather than setting it to Bypass or Unrestricted policy as it would leave your system potentially vulnerable to malicious scripts.

Set-ExecutionPolicy RemoteSigned
Import-Module SkypeOnlineConnector
$cred = Get-Credential
$session = New-CsOnlineSession -Credential $cred -Verbose
Import-PSSession -Session $session
Get-PSSession

clip_image014

Next is to list a user on the Skype for Business online using SfB online PowerShell module Get-CsOnlineUser.

Get-CsOnlineUser -Identity Kewin*

clip_image016

You can also list all the Skype For Business Online, Windows PowerShell module available.

Get-Module
Get-Command -Module tmp_vjlemxqb1.mz

clip_image018

Once you had completed the Skype for Business administration on the powershell, you canclose the PowerShell session by:

# Listing the PS Session.
Get-PSSession
# Remove the PS Session with Session ID
Remove-PSSession 1

clip_image020

Leave a comment