Archivio per

PowerShell v6 and PowerShell Direct (R.Siddaway)

Not seen this reported anywhere so thought I post. PowerShell v6 went to GA in January 2018. PowerShell Direct is a feature of Windows 10/Windows Server 2016. By accident I found that PowerShell v6 and PowerShell Direct work together. PowerShell v6 is based on .NET core which is basically a subset of the full .NET […] … Continua a leggere

Powershell for Loop (Richard Siddaway)

PowerShell has a number of looping mechanisms – do-while; do-until; foreach; while and for loops. In this post I’ll show you how to use the PowerShell for loop. A for loop iterates a predefined number 0f times. A basic for loop looks like this: for ($i=0; $i -lt 10; $i++) { $i } In the […] … Continua a leggere