PowerShell for Windows Admins:

March, 2018


March 31, 2018  12:57 PM

PowerShell join

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I looked at PowerShell split a few posts back. This time I’ll look at the opposite action – PowerShell join. Lets look at a simple string PS> $str = 'PowerShell for Windows and Linux' and split it PS> $strs = -split $str PS>...

March 31, 2018  10:35 AM

Iron Scripter 2108

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Iron Scripter 2018 is the scripting competition we’re holding at the PowerShell Summit on 12 April 2018. The task for the main event is still under wraps but even if you can’t make the Summit you can benefit from the competition. I’ve posted 10 prequel puzzles on powershell.org. Each...


March 29, 2018  1:35 PM

Windows server futures

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Windows Server

A blog post - 0 Comments     RSS Feed     Email a friend


March 29, 2018  9:28 AM

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
OpenSSH, Powershell

I’ve had a number problems Installing Win32 OpenSSH https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH since it...


March 29, 2018  5:08 AM

Windows Server 2019 preview

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Windows Server

A Windows Server 2019 preview is available - 0 Comments     RSS Feed     Email a friend


March 28, 2018  2:25 PM

PowerShell split

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell split operator is used to split strings based on a delimiter. The default delimiter is white space PS> $str = 'AA BB CC DD EE FF GG' PS> -split $str AA BB CC DD EE FF GG You can define a delimiter PS> $str = 'AA-B-CC-DD-EE-FF-GG' PS> $str -split...


March 28, 2018  9:42 AM

PowerShell v6.1.0 preview 1

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The first preview release of PowerShell v6.1 is available at https://github.com/PowerShell/PowerShell/releases There are a few breaking changes you should check out. Most...


March 17, 2018  7:19 AM

PowerShell v6.0.2

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

PowerShell v6.0.2 is available from https://github.com/PowerShell/PowerShell/releases The only real change is that .NET core 2.0.6 is used in this release to counter the Hash...


March 15, 2018  6:37 AM

Set active hours

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

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...


March 14, 2018  1:42 PM

Get Active Hours

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

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 = Get-Item -Path...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: