My Developer blog

Welcome to my blog, I wanted a place that I could document and share all my development experiences and if it helps people on the way all the better. this is the beginning of the site but I have lots of ideas and will constantly add to it and hopefully blog about it on the way.

Before we start

1 - You will need to have an Office 365 subscription or trail account, you can get set up on an E3 account through this link and hitting the free trail, this will give you access to everything that you need to follow along…

2 - You can use PowerShell, PowerShell ISE or Windows Azure Active Directory model

3 - Whatever you use you may have to run start by using the following command and click on Yes\Yes to all

SET-ExecutionPolicy Unrestricted 

4 - Whatever you use you may have to run start by using the following command and click on Yes\Yes to all

Connecting to Office 365 - please read this post on how to connect to office 365 and it's services.

Note This list below is just a few of the many, many commands that are out there, the commands below are the main commands i have been learning for the exams... If you would like more follow this link

Connecting

import-module MSOline
$cred = Get-Credential
$session = new-csOnlineSession -Credential $cred
Import-PSSession $session -AllowClobber

Get Skype for Business Online users

Get-CsOnlineUser

Get-CsOnlineUser | Select-Object DisplayName, EnterpriseVoiceEnabled

Get-CsOnlineUser -Identity "dave"

Get-CsOnlineUser -LdapFilter "department=Support" | Select DisplayName

Enable or Disable Push Notification

Get-CsPushNotificationConfiguration

Set-CsPushNotificationConfiguration 
-EnableApplePushNotificationService $false 
-EnableMicrosoftPushNotificationService $True

list of allowed/blocked domains

Get-CsTenantFederationConfiguration | Select-Object -ExpandProperty BlockedDomains

Get-CsTenantFederationConfiguration | Select-Object -ExpandProperty AllowedDomains

$domain = New-CsEdgeDomainPattern -Domain "microsoft.com"
$newAllowList = New-CsEdgeAllowList -AllowedDomain $domain
Set-CsTenantFederationConfiguration -AllowedDomains $newAllowList

Meeting configuration

Get-CSMeetingConfiguration

Set-CsMeetingConfiguration -AdmitAnonymousUsersByDefault $False

Set-CsMeetingConfiguration -AllowConferenceRecording $False

Add Legal URL to the meeting website and custom footer

Set-CsMeetingConfiguration –LegalUrl "www.funkthedog.com/disclaimer.html" 
-CustomFooterText “This meeting may be recorded”

PSTN callers who are authenticated can bypass the Lobby

Get-CsMeetingConfiguration | 
where-object {$._AdmitAnonymousUsersbyDefault –eq $false} | 
Set-CsMeetingConfiguration –PstnCallersBypassLobby $true