Some quick PowerShell Tips

How to prompt for input and use that input as a variable:
$User = Read-Host -Prompt ‘Username’
How to SAY something, similar to the ECHO command when writing batch files: Write-Host “What you want to say here”

How to prompt for input and use that input as a variable:
$User = Read-Host -Prompt ‘Username’
How to SAY something, similar to the ECHO command when writing batch files: Write-Host “What you want to say here”

Add a Comment

Your email address will not be published. Required fields are marked *