I'm currently working on a strategy for managing multiple Windows Server 2003 to 2008 running SQL Server 2000 - 2008 and I want/need a unified scripting platform for automating tasks. I'm becoming a big fan of Python and as such I'd like to know if Python has been used effectively as a scripting language for administering a various set of Windows Server installations with various SQL Server installations running various jobs. I'm familiar with IronPython which executes against the .Net framework but I'm unsure what syntax version of Python IronPython uses.
EDIT: FYI: I am familiar with Powershell but the more I know about it and it's syntax the more I don't like it.
EDIT: Please, if you can, I'd like to know of your success story of implementing Python as a script solution on Windows.
Notwithstanding my love of Python
, I think PowerShell
fits more.
From Wikipedia:
Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.
2 essentials for working on Windows with Python are:
Tim Golden's WMI module:
* http://timgolden.me.uk/python/wmi/cookbook.html
Mark Hammond's PyWin32 package:
* http://docs.activestate.com/activepython/2.4/pywin32/PyWin32.HTML
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With