Welcome to PoshTips.com – your friendly source for Windows PowerShell tips, scripts, and code snippets. Admittedly, there are many good PowerShell sites already on the Internet, many of which I have used myself to jump-start various scripting projects. Like others, I prefer to save time by borrowing existing code and tweaking it to meet my needs. The purpose of this site is to make a variety of handy chunks of code available to others (and myself) for quick and easy reference. All code posted to this site is tested and working, ready for anyone to use. While the site is not intended as a Q&A forum, any inquiries or suggestions for improvement of posted code is certainly welcome.
The capabilities of Windows PowerShell are truly light-years beyond what can be done in the DOS shell or even VbScript. Microsoft really hit a home run with this free product and has finally provided a great, extensible scripting language for Windows on par and perhaps beyond what the Unix crowd has been enjoying for years. Unlike the Unix and DOS shells that process only textual data, PowerShell handles object data which opens up a huge array of new scripting possibilities. The user-friendly Windows Graphical User Interface (GUI) continues to be great as a standardized, easy-to-understand environment with a minimal learning curve but for production work there is no substitute for a capable command shell with scripting capabilities. In short, the GUI is great but the command-line RULES!
The goal here is to keep it simple – quick tips or chunks of code and perhaps a few full-blown scripts with just enough verbiage to help make sense of it. All code is available for free (of course); just cut-and-paste from the samples and hopefully you will save time and make a scripting job go quicker with better quality. While all of the code postings have been tested and believed to be fully working, bear in mind that there is no warranty expressed or implied – use any code samples on this site at your own risk.
I hope that visitors of this site find the content to be useful. If you like it, be sure to spread the word and share with others! A Share This link is provided below each article to facilitate easy email sharing, bookmarking, or posting to various social websites.
PoshTips Visitor Map
View more maps in the Visitor Map Viewer