basic-powershell-commands-intro-670x335

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”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.