Useful Powershell Commands: Difference between revisions
Appearance
Created page with "Category: Powershell {|class="wikitable" !command !description |- | <code> Get-CsUser -Filter {registrarPool -eq "pool.domain.com"} <nowiki>|</nowiki> Format-Table -Proper..." |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category: | [[Category: Microsoft]] | ||
{|class="wikitable" | {|class="wikitable" | ||
!command | !command | ||
!description | !description | ||
|- | |- | ||
| <code> Get-CsUser -Filter {registrarPool -eq "pool.domain.com"} <nowiki>|</nowiki> Format-Table -Property DisplayName, SipAddress -AutoSize | | <code> Get-CsUser -Filter {registrarPool -eq "pool.domain.com"} <nowiki>|</nowiki> Format-Table -Property DisplayName, SipAddress -AutoSize</code> | ||
|lists all users homed at pool pool.domain.com | |lists all users homed at pool pool.domain.com | ||
|- | |- | ||
| <code> </code> | | <code> Get-CsManagementStoreReplicationStatus <nowiki>|</nowiki> Format-Table -Property UpToDate, ReplicaFqdn, ProductVersion, LastUpdateCreation </code> | ||
| | | lists the replication status in a Skype environment | ||
|- | |||
| <code> Set-IRMConfiguration -EnablePdfEncryption $true </code> | |||
| To enable encryption for PDF attachments, run the command in Exchange Online PowerShell | |||
|- | |||
| <code> Get-ADGroupMember -Identity groupname <nowiki>|</nowiki> Get-ADUser -Properties DisplayName,Mail,telephoneNumber,msRTCSIP-Line <nowiki>|</nowiki> select DisplayName,Mail,telephoneNumber,msRTCSIP-Line <nowiki>|</nowiki> Format-Table </code> | |||
| lists users in a group with given attributes | |||
|} | |} | ||
Latest revision as of 16:13, 18 February 2020
| 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 |