Close

PowerShell

PowerShell – Using Someone else’s script

Chapter 26 – Using Someone else’s script for lots of sample powershell scripts, check out this code repository: www.poshcode.org Here is the structure of the if-else statement that you can place inside a script: [cmdletbinding()] param( [parameter(mandatory=$true)] [int] $var ) # Here is an if-elseif-else statement. For some reason this […]

Read More