Posts

Showing posts from November, 2017

Teams PowerShell download

Image
Microsoft Teams PowerShell 0.9.0 Teams Cmdlets module Inspect PS> Save-Module -Name MicrosoftTeams -Path <path>    Install: Open a Windows PowerShell console. Run the Install-Module cmdlet as shown here. PS> Install-Module -Name MicrosoftTeams -RequiredVersion <version> MS Teams cmdlets: Add-TeamUser Get-Team Get-TeamChannel Get-TeamFunSettings Get-TeamGuestSettings Get-TeamMemberSettings Get-TeamMessagingSettings Get-TeamHelp Get-TeamUser New-TeamChannel New-Team Remove-Team Remove-TeamChannel Remove-TeamUser Set-TeamFunSettings Set-TeamGuestSettings Set-TeamMemberSettings Set-TeamMessagingSettings Set-Team Set-TeamChannel Set-TeamPicture Connect-MicrosoftTeams   Sample: Connect-MicrosoftTeams -AccountId you@domain.com $group = New-Team -alias "ProductA" -displayname "Product A Planning" -AccessType "private" Add-TeamUser -GroupId $group.GroupId -User " user01@domain.com ...

Hide users from address book in Skype for Business

SfB On-Premise is making use of the Exchange GAL. If you don't want users or other resources to appear in address book / GAL search in the Skype for Business client there is an easy way. Hiding contacts from GAL, by changing an AD related attribute. This could be e.g. hiding Helpdesk Team Members This is the Exchange attribute for hiding users from the Global Address List (GAL). If this is set to TRUE, which indicates it doesn’t need to appear on the GAL, Lync will also ignore this user for the Address Book. This sets the attribute "msExchHideFromAddressLists" to True. It also clears the attribute "ShowinAddressBook"  This is the Script: $users = Get-CsAdUser -Filter {name -Like "*HelpDesk*"} foreach ($object in $users)     {       Set-ADObject -Add @{msExchHideFromAddressLists=$true} -Identity $object.DistinguishedName       Set-ADObject –clear ShowinAddressBook -Identity $object.Dist...