-
Search
-
Categories
- Lab Infrastructure (78)
- Messaging (10)
- Scripting (153)
- Uncategorized (2)
- Virtualization (208)
-
Archives
Author Archives: brian.wuchner
Improving performance with Get-MailboxFolderStatistics
In a previous post I mentioned some performance improvements I made in an Exchange script that used Get-MailboxFolderStatistics. A portion of this script selected the size (in megabytes) of the top 5 folders in each users mailbox. I made a … Continue reading
Posted in Messaging, Scripting
Leave a comment
Improving SQL Update/Insert performance
I was recently reviewing a Powershell script that had slow performance. The script used Get-MailboxFolderStatistics to pull information from an Exchange Server environment and insert (or update) a record in a SQL database based off the email address. The code … Continue reading
Posted in Scripting
Leave a comment
Get Regular Expression matches
Recently I was given a task at work…someone pointed at a haystack and asked me to find a needle. Actually, the task involved reading the body of hundreds of email messages looking for telephone numbers. Regular expressions and powershell make … Continue reading
Find upper range of AD attributes
The other day I was working on a powershell script to copy specific Active Directory attributes to a SQL database. I wanted to see if the destination SQL fields (which were varchar 100) would be able to contain the attributes, … Continue reading
Posted in Scripting
Leave a comment
Cisco UCS and Default Authentication Domains
I’ve recently been working with Cisco UCS — and more specifically the UCS Powertool (the powershell management component). Initially, my scripts were using a local account in UCSM for authentication. However, after changing the “Default Authentication Realm” from Local to … Continue reading
Posted in Virtualization
5 Comments