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

Recent Posts

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)

Deleting and re-adding computers in WSUS

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

Have you deleted PC from WSUS with remove from WSUS option and you can't add it back to WSUS? Well try the steps below to fix this problem: net stop…

Continue ReadingDeleting and re-adding computers in WSUS

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
  • Go to the previous page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 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