PowerShell Link Dump

Posted by Brandon Burton on December 17th, 2009 filed in powershell, sysadmin

I’ve spent most of the last three days working on some pretty cool powershell account automation to “sync” accounts in MySQL and local accounts on Windows 2008 Server.

I thought I’d share some of the links I accumulated in doing so.

  • http://devcentral.f5.com/weblogs/Joe/archive/2009/01/20/powershell-abcs—t-is-for-type-literals.aspx (type literals)
  • http://powershell.com/cs/forums/p/1569/2121.aspx (creating a local account)
  • http://support.microsoft.com/kb/968929 (downloads for posh 2.0)
  • http://stackoverflow.com/questions/149191/powershell-functions-return-behavior (returning values from functions)
  • http://technet.microsoft.com/en-us/magazine/2008.11.windowspowershell.aspx?pr=blog (creating functions)
  • http://www.vistax64.com/powershell/56109-exit-out-powershell-script-if-block.html (exiting from an if block, used the ‘continue’ statement in my code)
  • http://www.leeholmes.com/blog/MorePowerShellSyntaxHighlighting.aspx (good example of functions and implementing a custom Main function)
  • http://www.westmesatech.com/misctools.html (ps1exec utility)
  • http://www.hanselman.com/blog/CommentView.aspx?guid=4cc31f23-659b-495a-bae1-fa89177314a9 (run ps1 scripts in a hidden window with hstart)
  • http://technet.microsoft.com/en-us/library/ee692798.aspx (Finding an item in an array)
  • http://technet.microsoft.com/en-us/library/ee176828.aspx (using foreach)
  • http://www.computerperformance.co.uk/powershell/powershell_if_statement.htm (powershell if statements)
  • http://windowsitpro.com/article/articleid/98447/powershell-101-lesson-4.html (write-output)
  • http://www.pluralsight.com/community/blogs/dan/archive/2006/10/29/41389.aspx (Using ADO.NET and MySQL in PowerShell)
  • http://poshcode.org/544 (finding local group members)
  • http://www.idera.com/richardsworld/post/Getting-MySql-Results-with-PowerShell.aspx (MySQL and PoSH)
  • http://programming.torensma.net/2009/01/connect_powershell_to_mysql/ (Connect to MySQL)

Enjoy.

Leave a Comment