Listing Azure OS Updates

invoke-webrequest -uriĀ  http://sxp.microsoft.com/feeds/3.0/msdntn/WindowsAzureOSUpdates | select -ExpandProperty content | select-xml //item | select -ExpandProperty Node | format-list Title,Description This is very convenient summary.

Read full story Comments { 0 }

Lightweight powershell web server

http://www.poshserver.net/

Read full story Comments { 0 }

Windows Azure Documentation Issues

Windows Azure is a great platform. There is however a massive hole where the documentation should be. This is the list of the azure vm’s: http://msdn.microsoft.com/en-us/library/windowsazure/ee924680.aspx If you don’t want to use the latest guest os (if you do the upgrade plan is entirely at the mercy of the Azure OS team) then you need [...]

Read full story Comments { 0 }

Powershell Cmdlets in C# now easier to write.

These just became a lot easier with the nuget package System.Management.Automation. When powershell first arrived you could download a small sdk that just allowed the development of cmdlets. Over time this got folded into the windows sdk so that you had in install 6GB of files just to get the required assemblies. Now we have [...]

Read full story Comments { 0 }

Azure Log Query

https://github.com/chriseyre2000/AzureLogQuery This is a utility to assist in reading WADLog files

Read full story Comments { 0 }

humax itv player 10001

If you are getting error message 10001 when trying to view the itvplayer on your Humax box try moving to chanel 903. This seems to work.

Read full story Comments { 0 }

Using AutoMoq

This is an example of using AutoMoq. It requires the use of NUnit and the AutoMoq NuGet packages. As far as I can see there is no difference between the Create and Resolve methods. ILSpy confirms that the generic resolve calls the generic create method. using AutoMoq; using Moq; using NUnit.Framework; namespace TestLib { public [...]

Read full story Comments { 0 }

Powershell and TFS

I have been experimenting with controlling tfs with powershell. Mostly this consists of creating wrappers for the command-line tools. Here is the github repo: https://github.com/chriseyre2000/Powershell/tree/master/Posh-Tfs It can perform checkin and checkouts. More usefully it can inform you that you have files in your tfs mapped folders that are not checked in or excluded – Get-tfsStatus(). [...]

Read full story Comments { 0 }

Powershell Unversal Scafolder

https://github.com/chriseyre2000/Powershell/tree/master/Generator This is a universal scaffolder. It can be used to generate anything and is highly scriptable.

Read full story Comments Off

Powershell select-string with variable extraction

#Multiline powershell regex with variable extraction. $data = @” first second third “@ $data | Select-string -Pattern “(?s)first(?.*)third” | select -ExpandProperty Matches | foreach { $_.Groups["name"].Value}

Read full story Comments Off