From Svendsen Tech Powershell Wiki
Welcome to the Svendsen Tech Wiki.
It's about PowerShell, Perl, Python, Linux, Windows, technology, programming, system administration and that which seems relevant.
I feel a need to mention that this wiki has been a work in progress, and I've learned and picked up new things along the way. The early PowerShell articles don't always conform to my current preferred style, which is influenced heavily by the official guidelines. The style guidelines can be found here (I haven't read all of them yet). I am considering rewriting some of the code, but it's tedious and it should mostly be fine logically and functionally, so the motivation is somewhat lacking.
- Linux - I haven't been too kind to Tux yet. Not a lot of content.
- Windows (includes PowerShell articles)
- Microsoft Deployment Tools - Getting started on this topic.
- Python - Getting started on this topic.
If you find something here useful and want to reward my efforts, please consider donating a small amount. It's greatly appreciated even if it is done mostly as a gesture.
- PowerShell Regular Expressions - Examples and details on most use cases for regular expressions with .NET/PowerShell. It's a comprehensive article.
- A Module With SSH Cmdlets For PowerShell - Pretty cool stuff. Based on the SSH.NET library found on CodePlex. Connect to, execute commands against and collects results from multiple hosts via SSH, using this ready-made module.
- PowerShell foreach Loops And The ForEach-Object Cmdlet - Learn about foreach loops in PowerShell, and the ForEach-Object cmdlet used for pipeline processing.
- The PowerShell Where-Object cmdlet - Learn about PowerShell's Where-Object cmdlet.
- Active Directory Password Expiration Notification - A ready-made, generic, customizable PowerShell script for warning users via email before their AD user passwords expire.
- Check For Open TCP Ports Using PowerShell - Code example and a script for checking for open TCP ports with PowerShell.
- A Get-MountPointData cmdlet for PowerShell - Display used/free space on mount points using fairly robust logic, and it can also be used for regular disk drives (that's not the default behaviour).
- Microsoft Translator PowerShell module - Uses v2 of the MS Translator API. Translates text to and from all supported languages (dynamically retrieved list via API) as well as detecting text language.
- A Merge-Csv cmdlet - Combines CSV files based on a shared column (such as usernames) and creates a joined version with all columns from all files. Some consistency checking and reporting is done. Also a link to Microsoft's Join-Object cmdlet by the PowerShell team.
- Get-WmiObject-Wrapper - A wrapper around Get-WmiObject that collects data from online servers/workstations and stores it in XML format. There's also a custom XML parser for generating CSV/other reports based on the XML schema Get-WmiObject-Wrapper uses. It's more useful than it sounds!
- Perl on Windows - Information about how to use Perl on Windows.
- Running Perl one-liners and scripts from PowerShell.
- Create A 32-bit Standalone Executable From Perl Code.
- Create A Self-contained Cmd/Batch File Containing Perl Code - either with Perl on a UNC share, locally or on a mapped network drive.
- PowerShell PsExec Wrapper - Wrapper for gathering output from PsExec run against multiple target computers. Data is stored as CSV or XML.
- PowerShell Script For Finding Installed .NET Versions On Remote Workstations Or Servers - What the title says: a script for getting remote Windows hosts' .NET versions based on registry key lookups.
- Getting Computer Information Using PowerShell - An example script for retrieving information about a workstation or server in a domain. Uses WMI and, if available, Get-QADComputer from the Quest ActiveRoles cmdlets.
- PowerShell Benchmarking Module Built Around Measure-Command - When you want an easy-to-use interface to benchmarking multiple runs of code in script blocks you specify.
- Getting Computer Names From AD Using PowerShell - How to "dump" computers from Active Directory using Microsoft's AD cmdlets, DirectoryServices.DirectorySearcher with LDAP/ADSI and Quest ActiveRoles' Get-QADComputer cmdlet.
- Getting Usernames From Active Directory With PowerShell - How to get a list of users from Active Directory using Microsoft's AD cmdlets, DirectoryServices.DirectorySearcher/LDAP/ADSI and Quest ActiveRoles' Get-QADUser cmdlet.
- Find Out When Servers Or Workstations Were Last Patched With Windows Update - WSUS version (somewhat flawed), remote COM and local COM via PowerShell remoting.
- Getting Computer Models In A Domain Using PowerShell - Overkill solution for how to retrieve what kind of hardware models are running in a domain environment. WSUS version, WMI version with and without PowerShell jobs and even a PsExec wrapper version.
- PowerShell ASCII Art Script - A PowerShell script to create ASCII art characters! Poor man's figlet.
- http://poshcode.org - PowerShell Script Repository (PowerShell's "CPAN"?)
- http://gallery.technet.microsoft.com/scriptcenter/ - Technet Script Center Repository (Microsoft's "CPAN"?)
- http://www.cpan.org - CPAN, The Comprehensive Perl Archive Network - with about 100,000 already written modules
- http://social.technet.microsoft.com/wiki/contents/articles/183.windows-powershell-survival-guide-en-us.aspx - Lots of PowerShell goodness.
- http://www.computerperformance.co.uk/powershell/ - Guy Thomas has tutorials and intros to PowerShell and lots of material suited for beginners on this page.
- http://richardspowershellblog.wordpress.com/ - Richard Siddaway's PowerShell blog.
- http://rkeithhill.wordpress.com/ - Keith Hill's PowerShell blog.
- http://powershell.org - A PowerShell community site.
- http://huddledmasses.org/ - Joel Bennett's PowerShell and technology blog
- http://www.dougfinke.com/blog/ - PowerShell MVP Doug Finke's blog.
- http://www.indented.co.uk/index.php/category/powershell/ - Chris Denty's PowerShell blog.
- http://www.mwjcomputing.com/category/powershell/ - Matt Johnson's PowerShell blog.
- http://www.blkmtn.org/ - Steven Peck's website about PowerShell and other tech stuff.
- http://www.leeholmes.com/blog/ - PowerShell developer Lee Holmes' blog.
- http://jfrmilner.wordpress.com/ - John Milner's PowerShell/tech blog.