Author Archives: richardsiddaway

September 2016–DSC Resource updates

Two new modules of DSC resources are available: OfficeOnlineServerDsc SystemLocaleDsc A number of updates to existing resources have been made available. Details from https://blogs.msdn.microsoft.com/powershell/2016/09/21/dsc-resource-kit-september-release/

Posted in DSC, Powershell | Leave a comment

Update-Help errors

One the latest build of Windows 10 – 14296 I’m getting errors when updating help. Three modules do’t seem to have help available Update-Help : Failed to update Help for the module(s) ‘Microsoft.PowerShell.Operation.Validation’with UI culture(s) {en-GB} : The value of … Continue reading

Posted in PowerShell v5 | Leave a comment

Talk like a pirate day

In honour of International talk like a pirate day  – http://talklikeapirate.com/wordpress/ What’s a pirate’s favourite programming language? R   What’s a pirate’s favourite load balancer? ARR = Application Request Routing –  see http://www.iis.net/learn/extensions/installing-application-request-routing-arr Normal service may be resumed quite soon

Posted in General | Leave a comment

Unregistering the default repository–PS version dependent?

In this post – https://richardspowershellblog.wordpress.com/2016/09/17/powershell-repositories/ – I stated that you could unregister the default PowerShell repository. I also said that the statement in the documentation for Unregister-PSrepository that you couldn’t unregister PSGallery was incorrect. A couple of readers have left … Continue reading

Posted in PowerShell v5 | Leave a comment

PowerShell repositories

A reader on my blog asked if you can unregister the default PowerShell repository so you just use an internal repository. First off – PSGallery is the default repository PS> Get-PSRepository | Format-List Name                      : PSGallerySourceLocation            : https://www.powershellgallery.com/api/v2/Trusted                   : FalseRegistered                … Continue reading

Posted in PowerShell v5 | 3 Comments

Dealing with CIM properties that are integer arrays

Saw a post about WmiMonitorID that intrigued me If you use the WmiMonitorID: PS> Get-CimInstance -Namespace root\wmi -ClassName WmiMonitorID | select -f 1 Active                 : TrueInstanceName           : DISPLAY\GSM598F\4&19086f00&0&UID200195_0ManufacturerName       : {71, 83, 77, 0…}ProductCodeID          : {53, 57, 56, 70…}SerialNumberID         : {51, … Continue reading

Posted in PowerShell and CIM, PowerShell and WMI | Leave a comment

Latest Windows 10 build fixes Surface Pro 2 wireless issue

The latest Windows 10 build  – 14926  –  fixes the issue that took out the wireless adapter on my Surface Pro 2 in build 14915. Wasn’t a major issue as I could successfully revert to 14905 but unexpected for  all … Continue reading

Posted in Windows 10 | Leave a comment