Monthly Archives: July 2014

History cmdlets

There are 4 cmdlets for working with the history in a PowerShell session: Add-History – adds an entry to the historyClear-History – clears the historyGet-History -enables you see the current historyInvoke-History – enables you to run a line in your … Continue reading

Posted in Powershell | 1 Comment

Its mandatory Jim but not as we know it

A uestion was asked on the forum about whether a parameter could be made mandatory sometimes and nor other – in particular if a parameter could be made mandatory if another parameter was used. My initial thought was that it … Continue reading

Posted in Powershell | Leave a comment

msmvps.com is back

My blog on msmvps.com is back at http://blogs.msmvps.com/richardsiddaway/

Posted in General | Leave a comment

July 22 2014–deal of the day

Half off my book PowerShell and WMI. Use code dotd072214au at http://www.manning.com/siddaway2/ Also Half off PowerShell in Depth, Second Edition. Use code dotd072214au at http://www.manning.com/jones6/

Posted in Books, Powershell | 2 Comments

Bad practice – – creating objects

Another in my occassional series on bad practices I’ve seen and recommend you avoid.  This time I want to look at creating objects. I recently saw some code that looked a bit like this: $os = Get-CimInstance -ClassName Win32_OperatingSystem$comp = … Continue reading

Posted in Powershell | Leave a comment

DSC Resource Kit Wave 5

The next wave of the DSC resource kit has arrived – see http://blogs.msdn.com/b/powershell/archive/2014/07/17/powershell-dsc-resource-kit-wave-5-arrives.aspx for details

Posted in Powershell | Leave a comment

Docker and DSC for Linux

Docker is a way to “virtualise” applications on Linux machines. With DSC for Linux you can manage Docker instances http://blogs.technet.com/b/privatecloud/archive/2014/07/17/configuring-docker-on-azure-with-powershell-dsc.aspx

Posted in Powershell | Leave a comment

msmvps.com is down

My mirror blog on msmvps.com is down – as is the rest of the site.  It is being worked on. In the meantime transfer here

Posted in General | Leave a comment

PowerShell Summit Europe 2014 – – update 5

Registration is now open. Access through Events menu at powershell.org

Posted in Powershell, Summit | Leave a comment

Formatting disks – – the new way

Last time I showed how to format disks using the Win32_Volume CIM class. If you need to perform this activity on a Windows Server 2012/Windows 8 or later system you can use a couple of cmdlets from the Storage module … Continue reading

Posted in Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2 | Leave a comment