Skip to content
SteveHardie.com Logo
Steve Hardie
Its Me. Online.
  • Home
  • About
  • Categories
    • Aviation
    • How To
    • Microsoft
    • Programming

Tag: power shell

Exchange 2010: Mailbox Size

July 4, 2013 Steve Hardie 2 Comments

This post demonstrates how you can use Exchange Powershell to list and export user mailbox size, including deleted items size.…

Continue Reading →

Posted in: Exchange Filed under: exchange, microsoft, power shell

Powershell: Delete Folder if Exists

April 27, 2013 Steve Hardie 1 Comment

Powershell script to delete a folder or directory if it exists: $strFolderName=”c:\temp\” If (Test-Path $strFolderName){ Remove-Item $strFolderName } See Also:…

Continue Reading →

Posted in: Powershell Filed under: power shell

Powershell: Check If File Exists

April 26, 2013 Steve Hardie 8 Comments

Powershell script to check if a file exists $strFileName=”c:\filename.txt” If (Test-Path $strFileName){ # // File exists }Else{ # // File…

Continue Reading →

Posted in: Powershell Filed under: power shell

Powershell: Delete File if Exists

September 25, 2012 Steve Hardie 6 Comments

Powershell script to delete a file if it already exists: If (Test-Path $strFileName){ Remove-Item $strFileName } See Also: Powershell: Check…

Continue Reading →

Posted in: Featured Articles, Powershell Filed under: power shell

Exchange 2010: Set Work Hours for Room Mailbox

August 16, 2012 Steve Hardie 2 Comments

In Exchange 2010, when you create a room or resource mailbox, the Resource Policy tab gives you the option to…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, microsoft, power shell

Exchange 2010: Remove disconnected mailbox

June 26, 2012 Steve Hardie

After you delete a user from Acrive directory or Exchagne their mailbox is kept in the Exchange database for a…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, power shell

Exchange 2010: Register custom functions in console

Steve Hardie

If you have defined custom functions in a .ps1 file, to register them in Exchange Command Shell all you need…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, power shell

Exchange 2010: Purge Dumpster

May 23, 2012 Steve Hardie 5 Comments

This article outlines how to force empty the deleted items / recoverable items dumpster in a users mailbox. To view…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, microsoft, power shell

Exchange 2010: The Term “Search-Mailbox” Is Not Recognized as the Name of a cmdlet

Steve Hardie 7 Comments

Problem: When using Powershell to run the Search-Mailbox command the following error is generated: Search-Mailbox” Command in Powershell: The Term…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, microsoft, power shell

Exchange 2010: View available space in database

May 22, 2012 Steve Hardie

To view how much database white space you have on your databases run the following cmdlet: Get-MailboxDatabase -Status | Sort-Object…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, microsoft, power shell

Post navigation

Page 1 of 2
1 2 Next →

Search

Categories

  • .NET
  • Aviation
  • Cisco
  • Cyber Security
  • Data
  • Exchange
  • Featured Articles
  • How To
  • Intune
  • JavaScript
  • Microsoft
  • Other
  • Powershell
  • Programming
  • Uncategorized

Tags

.NET Active Directory Asc ASCII ASP.NET Asterisk Aviation Chr Cisco Data E-Mail exchange File Size fromCharCode How To HP iinet ISO ISO 639 JavaScript jquery Language Little Bay microsoft Milroy Ave MSA 2012fc MSSQL Network Outlook Photoshop power shell RegEx SBS 2011 server 2008 SQL T-SQL Time Lapse troubleshoot Troubleshooting VB.NET VFR Flight Video VPN windows win xp
Copyright © 2025 Steve Hardie