Main Page
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 it yet). I am considering rewriting some of the code, but it's tedious and they should mostly be fine logically and functionally, so the motivation is somewhat lacking.
Contents |
Topics
- Linux - I haven't been too kind to Tux yet. Not a lot of content.
- Perl
- PowerShell
- 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.
Recommended Articles
- 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.
- 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.
- 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 Jobs Example Wrapper - Example script for jobs and various information about PowerShell jobs and concurrency. I think this article and script needs some work, but it should be faster than completely serial processing in most cases.
Fun Articles
- PowerShell ASCII Art Script - A PowerShell script to create ASCII art characters! Poor man's figlet.
External Resources
- 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://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.
