When working with objects in Active Directory and Exchange Server with PowerShell changing an attribute may not be as easy as specifying a parameter for a particular PowerShell cmdlet. The
Category: Uncategorized
Need Input? Read-HostNeed Input? Read-Host
PowerShell scripts can perform all sorts of functions. They can gather information, make reports, change settings and prepare servers for app installs. The scripts can be run as scheduled tasks,
Tyops and PowerShellTyops and PowerShell
When writing a recent blog post, I noticed that some text I had copied from a website to quote certain specifics, had misspelled words and missing dashes in words. How
How Unique – Output FilesHow Unique – Output Files
Unique output files: Date Random number Append Noclobber When working with output files it is sometimes necessary to create some sort of uniqueness factor. The purpose of this uniqueness factor
Block Coding / Code IterationsBlock Coding / Code Iterations
When building a complex script in PowerShell, remember to bite off only what you can chew successfully. This means that you probably can’t code an entire script one setting, so
PowerShell Cleanup TipsPowerShell Cleanup Tips
PowerShell scripts can use and create many types out output. Some output is needed for archival purposes, picked up by other scripts, emailed to recipients and stored as queries for
Sleepy PowerShellSleepy PowerShell
Putting PowerShell to sleep. Seems cruel. But it is necessary sometimes in order to either wait for another process or for an operator to read output. In this week’s PowerShell
Event Log ConfigurationEvent Log Configuration
Production servers require a lot of attention and configuration before they are ready to be put into service. For this article we’ll work on an oft overlooked configuration item for
New Script? Be Prepared!New Script? Be Prepared!
While writing up some new scripts I ran into some issues which resulting in some troubleshooting, brainstorming and re-writing of the original code. This article was written to pass along
Basic Error HandlingBasic Error Handling
Like all programming languages, PowerShell has a form of error handling to help the programmer or scripter, as the case may be. Error handling is meant to help troubleshoot a