Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell get arguments

 param (
    [string]$server = "http://defaultserver",
    [Parameter(Mandatory=$true)][string]$username,
    [string]$password = $( Read-Host "Input password, please" )
 )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #arguments
ADD COMMENT
Topic
Name
7+7 =