How to Assign Polices and Numbers Teams calling in Powershell

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” […]

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 […]