Skip to content
  • Home
  • About
  • Contact
Menu Close
  • Home
  • About
  • Contact

PowerShell

  1. Home>
  2. PowerShell>
  3. Page 4

Get number of mailboxes in each database?

  • Post author:pkhabazi
  • Post published:August 25, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

Many times we need to find number of mailboxes in each database and the size of the database (EDB file) of all servers in an Exchange 2010 environment. With PowerShell,…

Continue ReadingGet number of mailboxes in each database?

PowerShell – Delete old IIS logs

  • Post author:pkhabazi
  • Post published:August 18, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

Just a quick script that may come in useful to you. The below PowerShell script will delete IIS Log files older than 7 days that are in the “C:\inetpub\logs\LogFiles\w3svc1” directory.…

Continue ReadingPowerShell – Delete old IIS logs

PowerShell – Search the Public Folder

  • Post author:pkhabazi
  • Post published:August 15, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

If you want search in the public folder database for an folder you can use the scripts below. If you know the exact name of the folder: Get-PublicFolder -Identity ""…

Continue ReadingPowerShell – Search the Public Folder

How to Delete the First Database and Move the System Mailboxes

  • Post author:pkhabazi
  • Post published:August 4, 2012
  • Post category:Exchange/PowerShell
  • Post comments:0 Comments

When you try to delete the Default Mailbox Database(created with 1st installation of the Mailbox Role), you receive the error below: “This mailbox database contains one or more mailboxes or…

Continue ReadingHow to Delete the First Database and Move the System Mailboxes

PowerShell – Disconnected mailboxes are not yet marked as disconnected

  • Post author:pkhabazi
  • Post published:August 4, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

Use the Clean-MailboxDatabase cmdlet to scan the Active Directory directory service for disconnected mailboxes that are not yet marked as disconnected in the Microsoft Exchange store and update the status…

Continue ReadingPowerShell – Disconnected mailboxes are not yet marked as disconnected
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Go to the next page

Search

Follow me on Twitter

My Tweets
  • AzSentinel – Version 0.6.13
    AzSentinel – Version 0.6.13
    October 21, 2020/
    0 Comments
  • Deploying and Managing Azure Sentinel – Ninja style
    Deploying and Managing Azure Sentinel – Ninja style
    October 12, 2020/
    2 Comments
  • AzSentinel – Version 0.6.10
    AzSentinel – Version 0.6.10
    October 9, 2020/
    0 Comments

Follow me

  • GitHub
  • Twitter
  • LinkedIn
Copyright (c) 2020 Pouyan Khabazi