Jump to content

Useful Powershell Commands

From wiki.oeser.name
command description
Get-CsUser -Filter {registrarPool -eq "pool.domain.com"} | Format-Table -Property DisplayName, SipAddress -AutoSize lists all users homed at pool pool.domain.com
Get-CsManagementStoreReplicationStatus | Format-Table -Property UpToDate, ReplicaFqdn, ProductVersion, LastUpdateCreation lists the replication status in a Skype environment
Set-IRMConfiguration -EnablePdfEncryption $true To enable encryption for PDF attachments, run the command in Exchange Online PowerShell
Get-ADGroupMember -Identity groupname | Get-ADUser -Properties DisplayName,Mail,telephoneNumber,msRTCSIP-Line | select DisplayName,Mail,telephoneNumber,msRTCSIP-Line | Format-Table lists users in a group with given attributes