Category Archives: Windows 10

Set active hours

Last time time you saw how to get the current active hours. This is how you set the active hours. $sb = {   Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name ActiveHoursStart -Value 10 -PassThru   Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings -Name ActiveHoursEnd -Value 22 -PassThru } … Continue reading

Posted in Powershell, Windows 10, Windows Server 2016 | Leave a comment

Get Active Hours

Windows 10 and Server 2016 (and later) have the concept of active hours. These are the hours you define as working hours in effect. This is how you get active hours for a system $sb = {   param([string]$computerName)      $ahs … Continue reading

Posted in Powershell, Windows 10, Windows Server 1709, Windows Server 2016 | Leave a comment

Windows update module

A Windows Update module is available on Windows versions 1709 and later. This includes Windows 10 Fall Creators Update, Windows Server 1709 and Windows Insider previews (Server and Client) post the 1709 release. The module supplies the following cmdlets Get-WUAVersion … Continue reading

Posted in Windows 10, Windows Server 1709 | Leave a comment

Windows 10 Fall Creators Update

The Windows 10 fall Creators Update arrived this morning. After the usual long download, install and then updating bits after I first log on (that last bit is really irritating – thought it was going away) I got into the … Continue reading

Posted in Windows 10 | Leave a comment

You have to laugh

Sometimes things just happen and you have to laugh. So I decided I wanted to get back to working with the Windows 10 Insider previews (and Windows Server previews). This time I decided to use VMs rather than my working … Continue reading

Posted in Windows 10 | 3 Comments

PowerShell Direct failure

PowerShell Direct is introduced with Server 2016/Windows 10. it enables you to create a remoting session from the Hyper-V host to a VM using the VM name or ID. I recent discovered a PowerShell Direct failure that I couldn’t explain … Continue reading

Posted in Hyper-V, Powershell, Windows 10, Windows Server 2016 | Leave a comment

Updating built in modules

Windows 10 and Server 2016 automatically install a module called Pester which is used for testing code. Its the foundation of Test Driven Development or Behaviour Driven Development using PowerShell. The version  installed by default is 3.4.0. Pester is originally … Continue reading

Posted in PowerShell v5, Windows 10, Windows Server 2016 | Leave a comment