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

Category: Programming

How To: MS SQL Reseed or Reset Identity Column

January 20, 2013 Steve Hardie

DBCC CHECKIDENT can reseed (reset) the identity value of the table. For example, YourTable has 25 rows with 25 as…

Continue Reading →

Posted in: Other Filed under: How To, microsoft, MSSQL, SQL, T-SQL

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

Exchange 2010: Distribution Group Owner doesn’t have permissions to update list

April 4, 2012 Steve Hardie

Problem When a distribution group owner tries to update their own group in Outlook, they recieve a message saying changes…

Continue Reading →

Posted in: Exchange, Powershell Filed under: exchange, microsoft, Outlook

Exchange Powershell: Remove e-mail address from address list

March 26, 2012 Steve Hardie 7 Comments

This powershell script is written for Microsoft Exchange 2010. Problem I recently came across a problem where all exchange mailboxes…

Continue Reading →

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

Post navigation

Page 2 of 4
← Previous 1 2 3 4 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