Connect-MicrosoftTeams[pastacode lang=”powershell” manual=”Get-CsOnlineUser%20%7C%20Where-Object%20%7B(%24_.EnterpriseVoiceEnabled%20-eq%20%22True%22)%7D%20%20%7C%20Select%20UserPrincipalName%2CTenantDialPlan%2COnlineVoiceRoutingPolicy%2CTeamsEmergencyCallRoutingPolicy” message=”How to check all users” highlight=”” provider=”manual”/][pastacode lang=”powershell” manual=”Set-CsPhoneNumberAssignment%20-Identity%20adamfowler%40contoso.com%20-PhoneNumber%20%2B61987654321%20-PhoneNumberType%20DirectRouting” message=”Assigning Numbers in Powershell” highlight=”” provider=”manual”/][pastacode lang=”powershell” manual=”Get-CsOnlineUser%20%7C%20Where-Object%20%7B(%24_.EnterpriseVoiceEnabled%20-eq%20%22True%22)%7D%20%20%7C%20Grant-CsTenantDialPlan%20-PolicyName%20%2202%20Local%22%0A%0AGet-CsOnlineUser%20%7C%20Where-Object%20%7B(%24_.EnterpriseVoiceEnabled%20-eq%20%22True%22)%7D%20%20%7C%20Grant-CsOnlineVoiceRoutingPolicy%20-PolicyName%20%22XXXXXX%22%0A%0AGet-CsOnlineUser%20%7C%20Where-Object%20%7B(%24_.EnterpriseVoiceEnabled%20-eq%20%22True%22)%7D%20%20%7C%20Grant-CsTeamsEmergencyCallRoutingPolicy%20-PolicyName%20%22xxxxx.teams.com.au%22%0A” message=”How to assign users DialPlan\VoiceRoutingPolicy and EmergencyCallRoutingPolicy” […]
Author: paris
Disable or Modify “email security training” In mimecast
This is actually called URL protection in the backend and can be found below
Open SSH Config on a Windows Box
LocalizationKey ‘Assignment.ErrorResultCode.Mas.RequiredAssignedPlanMissing’ was not found
If you get the below issue , when trying to add a number , this is a ** Microsoft Outage ** Set-CsPhoneNumberAssignment -Identity “XXXXXXXXXXXX” -PhoneNumber “612XXXXXXXXXXX” -PhoneNumberType DirectRouting Microsoft.Teams.ConfigAPI.Cmdlets.internal\Set-CsPhoneNumberAssignment […]
fortigate ssl vpn can’t access root DNS namespace
sporadic issues where remote users on the VPN cannot browse the root domain \\domain.local however child shares are accessible such as \\domain.local\NETLOGONRe-configured the VPN to not use […]
OpenSSL Server 2012 – Verifying – Enter Export Password
I believe this only affects server 2012 but I’m documenting in here so I can look it up later.I use Openssl to create CSRs and merge my […]
Speeding up Addition in Arrays in Powershell
Note that the use of the += addition operator on an array in powershell can run /very/ slowly if you’re working with a large array. This is […]
Windows 10 Activation Issues
Error:Desktops showing activation errors randomly after 6 months or working fine.This is possibly caused after the reimaging done late last year but no idea why it takes […]
Reserved Names in Paths
Windows has several rules around naming files/folders/pathshttps://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-fileOne of these that I run into often enough to remember it’s a thing but not how to fix it is […]