PowerShell: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
m (moving powershell resources cont.)
(moving moving moving ;))
Line 99: Line 99:
* [[PowerCLI: Factory reset of ESXi]]
* [[PowerCLI: Factory reset of ESXi]]


==== General powershell ====
* [http://blogs.msdn.com/powershell/archive/2006/11/03/erroraction-and-errorvariable.aspx Error handling in Powershell]
* [http://blog.sapien.com/index.php/2009/05/12/a-powershell-port-scan/ A powershell port scan]
* [[Remote WMI defrag script]]
* [http://stackoverflow.com/questions/893295/what-are-some-of-the-most-useful-yet-little-known-features-in-the-powershell-lang useful less known features in powershell]
* [http://www.microsoft.com/technet/scriptcenter/default.mspx MS Technet scriptcenter]
* [http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/ Virtu-al: Running a PowerCLI Scheduled task]
* [http://blog.geekpoet.net/2008/04/powershell-script-to-report-on-all.html Geekpoet: Report on all scheduled tasks in your domain]
* [http://www.peetersonline.nl/index.php/powershell/user-confirmation-in-powershell/ Peetersonline: User Confirmation in Powershell]
* [http://autopowershell.com/projects/show/autops Autopowershell scripting host]
* [http://dmitrysotnikov.wordpress.com/2009/07/14/powerguiorg-now-with-about_-topics/ twitter @powerGuiOrg]
* [http://blogs.msdn.com/powershell/archive/2009/07/22/dynamic-binary-modules.aspx MSDN Powershell blog: Dynamically compile and load an assembly on Remote Host]
* [http://blogs.technet.com/heyscriptingguy/archive/2009/07/22/hey-scripting-guy-how-can-i-speed-up-my-windows-powershell-scripts.aspx Technet Blog: How can I speed up my Powershell scripts?]
* [http://www.nivot.org/2009/08/19/PowerShell20AConfigurableAndFlexibleScriptLoggerModule.aspx PowerShell 2.0: A Configurable and Flexible Script Logger Module]
* [http://www.idera.com/Products/Free-Tools/PowerShell-scripts/ Free SQL Server powershell scripts]
* [http://www.astroarch.com/blog/?p=11 Blue Gears: Power Shell-ism's Tales from a Linux Developer]
* [http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/09/07/parsing-powershell-scripts.aspx parsing PowerShell scripts]
* [http://dougfinke.com/blog/index.php/2009/09/28/try-powershell-an-interactive-tutorial/ Try PowerShell – An Interactive Tutorial]
==== Powershell tools ====
* [http://www.thevesi.org The Vizioncore Virtualization Ecoshell initiative]
* [http://www.powergui.org Quest Software PowerGUI]
* [http://www.primaltools.com/freetools/ SAPIEN Primalforms] See also [http://blog.sapien.com/index.php/2008/11/03/getting-started-with-primalforms/ Getting started with Primalforms]


[[Category: Powershell]][[Category: VI-Toolkit]]
[[Category: Powershell]][[Category: VI-Toolkit]]

Revision as of 18:18, 11 February 2010

If you are not running windows 2008/Windows 7 and don't have PowerShell (Posh) installed then go get it from Microsoft's PowerShell landing page It is nowadays also offered via Windows Update as an optional update. Then in order to manage your virtual infrastructure you will need the VI Toolkit for windows.



Learning VI-Toolkit Powershell


PowerCLI Oneliners

Hugo Peeters started with posting so called oneliners to indicate how powerful the VI-Toolkit on Powershell is. After a while this got picked up by others as sort of a sport to see if you can do it in one line. Below is a collection of links with oneliners from great powershell scripters. These pages now contains links to oneliners from Hugo Peeters, Alan Renouf, get-admin.com and Arne Fokkema


PowerCLI scripts (not categorized)

VM Configuration
Host Management