Skip to content
  • Home
  • About
  • Contact
  • Toggle website search
Menu Close
  • Home
  • About
  • Contact
  • Toggle website search

Powershell

  1. Home>
  2. Powershell>
  3. Page 5

The WinRM client received an HTTP server error status (502)

  • Post author:pkhabazi
  • Post published:September 16, 2012
  • Post category:PowerShell
  • Post comments:0 Comments

If you get the following error when you try to connect to your WinRM client, try the command below: Connecting to remote server failed with the following error message: The…

Continue ReadingThe WinRM client received an HTTP server error status (502)

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
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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