Archive for the ‘Powershell’ Category

Run SSH command from Powershell with PuTTy plink

If you want to run a script on a linux host from your powershell you might want to open an ssh session. Powershell does not bring this feature natively … but you can build yourself a quick workaround by combining powershell with the free tool “PuTTy” and it’s commandline interface “plink”  … read more Powershell SSH Howto

Automatically import pages to mediawiki from powershell script

If you are using a mediawiki for internal documentation or as a team knowledge base you might want to automate page creation from a shell. I wrote a powershell script which offers a simple function to create a new wiki page with a title, text and a category as parameters. It works with HTTP – so it should work from most of your servers without firewall problems.

Mediwiki offers a Special page where you can import pages. But this is not a webservice API or something like that – it’s an html form with an xml file upload. So you have to create a mediawiki-compliant xml file and fake an html form submission with the correct parameters (thats why I have this strange parameters in $wikiURL – without them it won’t work). Read more … Powershell Tutorial

PowerShell 2.0 out now

At 27. October Microsoft has released the PowerShell 2.0!
Microsoft published it togetther with the Windows Management-Framework. Included in the framework are
* Windows Remote Management (WinRM) 2.0
* Windows PowerShell 2.0
* Background Intelligent Transfer Service (BITS) 4.0

We will publish a short tutorial, howto update from PowerShell 1.0 or CTP v2/v3 to PowerShell 2.0

You can download the the installation files here http://support.microsoft.com/kb/968929.

Powershell IIS Administration

You want restart an IIS application pool? Or create a new website in IIS 6 with Powershell? But there is no CMD-Let for IIS6.0 available?

You can find powershell scripts and functions here.

Send mail with powershell

Sendmail isn´t implemented in PowerShell. You can use this short script … see our tutorial wiki

Return top