📜  powershell 命令行变量 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:37.443000             🧑  作者: Mango

代码示例1
write-host "There are a total of $($args.count) arguments"
for ( $i = 0; $i -lt $args.count; $i++ ) {
    write-host "Argument  $i is $($args[$i])"
}