Browse by Tags

All Tags » PowerShell (RSS)

Clustersize, Blocksize, and Allocation Unit Size

Depending on where you see the terms used in Windows, you may see different names for the same thing. The clustersize of a volume, the blocksize of a volume, and the allocation unit size of the volume are all referring to the same value. Some tools report...
Posted by michael | with no comments

TinyMonitorService

This is my first binary release of anything. TinyMonitorService is exactly what is sounds like. It is a service that checks only a few characteristics associated with any computer. It checks the processor utilization, the memory utilization, and the diskspace...

Finding Services Using non-System Accounts With PowerShell, v3

In 2008,I authored a PowerShell blogpost/script Finding Services Using non-System Accounts With PowerShell . It was a rewrite of an earlier VBscript blogpost/script from 2006, Finding Services Using non-System Accounts . That was a very basic rewrite...

Testing Exchange Autodiscover with PowerShell

Exchange Autodiscover is deceptively simple. Until it doesn't work. Then, repairing autodiscover can be surprisingly challenging. Microsoft does provide the Microsoft Connectivity Analyzer which can (among other things) give you detailed information...
Posted by michael | with no comments
Filed under: , ,

PowerShell Quick Script: Would You Like to Play a Game?

I teach a three-day course for System Administrators. I call it "Pragmatic PowerShell" - and that's exactly what it is about. Teaching administrators what they need to know about using PowerShell. Of course, discoverability is a large part...
Posted by michael | 1 comment(s)
Filed under:

Reporting on Client Access Server Configurations

Exchange 2010 and Exchange 2013 are rich with cmdlets providing you access to information regarding your Exchange environment. However, as of Exchange 2013 CU6, there are 956 (!!) cmdlets. Knowing which cmdlets to use can be challenging. It can also be...
Posted by michael | with no comments

Reporting on primary and secondary SMTP addresses on Exchange objects

Most companies have a set of primary Internet domains (Exchange accepted domains) that they use to assign to users. However, a constant is that most companies also assign a secondary email address that has a domain which is identical for all of their...
Posted by michael | with no comments

Determining the Exchange Version - without using Get-ExchangeServer - Update 2013

This is an update of my post Determining the Exchange Version - without using Get-ExchangeServer, from April 25, 2012. Since then, Exchange 2013 has been released! I've had several requests from people who are not PowerShell scripters to update that...
Posted by michael | with no comments

PowerShell Quick Script: Finding the Exchange Schema Version

Every major Exchange release comes with updates to the Active Directory schema. In this case, "major release" means new major version (at RTM), every service pack, and (probably) every Cumulative Update with the new servicing model introduced...
Posted by michael | with no comments

PowerShell Quick Script: Invoke-Splat

One of the features added to PowerShell v2 (and of course continued with PowerShell v3) is splatting. Without going into extreme detail (there are plenty of other blogs and books that do that), splatting allows you to pass parameters to a PowerShell cmdlet...
Posted by michael | with no comments
Filed under: ,

Windows Management Framework 3.0 / PowerShell 3.0 and Exchange

In the last few days, Windows Management Framework 3.0 (WMF 3.0) has begun appearing in Microsoft Update (MU), Windows Update (WU), Windows Software Update Services (WSUS), and on Configuration Manager Software Update Points. This basically means that...

Microsoft Security Advisory 2737111 - Exchange 2007/2010/2013

Well, in case you haven’t seen it, an Exchange Security advisory was released today. “Vulnerabilities in Microsoft Exchange and FAST Search Server 2010 for SharePoint Parsing Could Allow Remote Code Execution” http://technet.microsoft.com/en-us/security...
Posted by michael | with no comments

Bit Shifting in PowerShell, Redux

I do bit shifting in PowerShell all the time. It's quite necessary when you are working with option values in Active Directory, WMI, and various Win32 interfaces. .NET tends to use enumerations, which are tad easier to deal with in PowerShell. I had...
Posted by michael | with no comments
Filed under: ,

Processing Large and Embedded Groups in PowerShell

I'm working with a client that has - over an extended period of time - accumulated thousands of security groups, most of which are mail enabled for use by both Exchange and for setting rights on various objects. Becasue they use embedded groups (that...

How to Make Your PowerShell Session into an Exchange Management Shell

In my last blog post, Determining the Exchange Version Without Using Get-ExchangeServer ,I showed how to read the Exchange version from the registry. Shortly after posting that, the questions began to roll in about "how to make my PowerShell session...
Posted by michael | with no comments
Filed under: , ,
More Posts Next page »