LoginSignup
0
0

More than 3 years have passed since last update.

配列を利用した単純なPowerShellループ処理

Last updated at Posted at 2019-08-19
$list = @("xx","yy","zz")
for($i = 0; $i+1 -le $list.Count ; $i++){
やりたい処理
}
メモ

ループ処理で確認が出ると鬱陶しいので確認無効のオプションを入れておくと良いですね。
-Confirm:$false
ちゃんとテストした後に付けてくださいね(。・_・。)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0