Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to set minimum char for variable in powershell from user input

$Server = Read-Host -Prompt 'Input your server  name'
$User = Read-Host -Prompt 'Input the user name'
$Date = Get-Date
Write-Host "You input server '$Servers' and '$User' on '$Date'" 
Source by www.itprotoday.com #
 
PREVIOUS NEXT
Tagged: #set #minimum #char #variable #powershell #user #input
ADD COMMENT
Topic
Name
9+9 =