Useful Powershell Commands: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
| <code> Set-IRMConfiguration -EnablePdfEncryption $true </code> | | <code> Set-IRMConfiguration -EnablePdfEncryption $true </code> | ||
| To enable encryption for PDF attachments, run the command in Exchange Online PowerShell | | To enable encryption for PDF attachments, run the command in Exchange Online PowerShell | ||
|-| <code> </code> | |- | ||
| | | <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 |