Skip to content
shell{&}co

shell{&}co

Menu

  • News
    • Bug and tips
  • Automation
    • Ansible
  • Scripts & Code
    • Perl
      • Network
    • PHP
    • Powershell
      • Active Directory
      • Citrix
      • Cluster
      • Database
      • Exchange
      • Files and folders
      • Hardware
      • Network
      • Operating System
      • PKI
      • SCCM
      • Service and process
      • Tips
      • VMWare
    • Python
      • Monitoring
      • Network
      • PKI
      • Ruby
      • Security
    • Shell
      • Backup
      • Filesystem
      • Image processing
      • Monitoring
      • Network
      • PKI
      • Process
      • Time
      • Virtualization
      • Web
  • Fun
  • Project
    • Github
    • Log Analyzer

    How to count the mailboxes on each Exchange store

    This script counts the number of mailboxes on each Exchange store Script : Get-MailboxDatabase | ` Select-Object Name,@{Name=”Number of users”;Expression={(Get-Mailbox -Database $_.name).Count}} | ` Out-GridView Reference Get-MailboxDatabase This cmdlet is available only in on-premises Exchange Server 2013. Use the Get-MailboxDatabase

    shellandco_admin December 22, 2016 Exchange, Powershell No Comments Read more

    Get statistics on Microsoft Exchange databases

    This script gets the following Exchange database statistics : Server name Database name The last full backup The number of mailboxes The database size The average mailbox size The database whitespace Script : function Get-DatabaseStatistics { $Databases = Get-MailboxDatabase -Status

    shellandco_admin December 21, 2016 Exchange, Powershell No Comments Read more

    List the active databases in an Exchange organization

    This script will give you a simple way to list the active databases in an Exchange organization Script : Get-MailboxDatabase | % { Get-MailboxDatabaseCopyStatus $_.name} | Out-GridView References Get-MailboxDatabaseCopyStatus This cmdlet is available only in on-premises Exchange Server 2013. Use

    shellandco_admin November 17, 2016 Exchange, Powershell No Comments Read more

    Check if a user account have permissions on an Exchange mailbox

    The script below will help you to find if a group of users have permissions on a mailbox hosted on an Exchange server. The group list is built by querying a specific OU in the Active Directory. In the example,

    shellandco_admin June 8, 2016 Exchange, News, Powershell No Comments Read more

    Test primary Exchange email information

    This simple script to check if an email address is the primary one defined in Exchange. For that case, the attribute WindowsEmailAddress is compared to the provided email in the variable $email . # Exchange PS module is required to

    shellandco_admin December 10, 2015 Exchange, Powershell No Comments Read more

    Get the size of the Exchange databases

    This script lists and gets the size of the Exchange databases Script : Get-MailboxDatabase -Status | select Name,DatabaseSize| Out-GridView Reference Get-MailboxDatabase This cmdlet is available only in on-premises Exchange Server 2013. Use the Get-MailboxDatabase cmdlet to retrieve one or more

    shellandco_admin February 4, 2014 Exchange, Powershell No Comments Read more

    Get the number of mailboxes on each Exchange store

    This script get the number of mailboxes on each Exchange store Script : Get-MailboxDatabase | Select-Object Name,@{Name=”Number of users”;Expression={(Get-Mailbox -Database $_.name).Count}}|Out-GridView Reference Get-MailboxDatabase This cmdlet is available only in on-premises Exchange Server 2013. Use the Get-MailboxDatabase cmdlet to retrieve one

    shellandco_admin February 4, 2014 Exchange, Powershell No Comments Read more

    Get the Exchange database statistics

    This script gets the following Exchange database statistics : Server name Database name The last full backup The number of mailboxes The database size The average mailbox size The database whitespace Script : function Get-DatabaseStatistics { $Databases = Get-MailboxDatabase -Status foreach($Database

    shellandco_admin February 4, 2014 Exchange, Powershell No Comments Read more

    Recent Posts

    • Copy certificate to the Windows Services store
    • Copy files from Windows CIFS share
    • Create a certificate from a request file with Powershell
    • Ansible – Manage multi-threading in playbooks
    • Play with group policy, XML and Powershell

    Recent Comments

    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Vok on WMIC command on Ubuntu 16.04 LTS
    • Vok on WMIC command on Ubuntu 16.04 LTS
    Copyright © 2021 shell{&}co. Powered by WordPress. Theme: Spacious by ThemeGrill.