-
-
PowerShell - 記号の意味 - ふたつのプラスとマイナス (++ --)
2012/7/18
Windows PowerShell で使用されるふたつのプラス (++) とふたつのマイナス (--) について説明します。 変数のインクリメント (1 を足す) このサンプルでは、最終的に 変数 ...
-
-
PowerShell - 記号の意味 - スラッシュ (/)
2012/7/17
Windows PowerShellで使用されるスラッシュ (/) について説明します。 割り算 10 / 5 パスの区切り このサンプルでは、ルートディレクトリ、Windows ディレクトリ、Sys ...
-
-
PowerShell - 記号の意味 - アスタリスク (*)
2012/7/16
Windows PowerShell で使用されるアスタリスク (*) について説明します。 掛け算 10 * 5
-
-
PowerShell - 記号の意味 - マイナス (-)
2012/7/15
Windows PowerShell で使用されるマイナス (-) について説明します。 引き算 10 - 5 コマンドのオプション Get-ChildItem -Include *.log
-
-
PowerShell - 記号の意味 - プラス (+)
2012/7/14
Windows PowerShell で使用されるプラス (+) について説明します。 足し算 10 + 5 文字列の連結 "ABC" + "XYZ"
-
-
PowerShell - 記号の意味 - 円マーク (\)
2012/7/13
Windows Powershell で使用される円マーク (\) について説明します。 パスの区切り このサンプルでは、ルートディレクトリ、Windows ディレクトリ、System32 ディレクト ...
-
-
PowerShell - 記号の意味 - アットマーク付き引用符 (@" ~ "@ と @' ~ '@)
2012/7/12
Windows PowerShell で使用されるアットマーク付き引用符 (@" ~ "@ と @' ~ '@) について説明します。これはヒア文字列を表します。 アットマーク付き二重引用符 @" ~ ...
-
-
PowerShell - 記号の意味 - 引用符 ("" ~ "" と ' ~ ')
2012/7/11
Windows PowerShellで使用される引用符 ("" ~ "" と ' ~ ') について説明します。 二重引用符 " ~ " この記号で囲まれた内容は文字列として扱われます。但し、変数が含 ...
-
-
PowerShell - 記号の意味 - パイプライン (|)
2012/7/10
Windows PowerShellで使用されるパイプライン (|) について説明します。 オブジェクトパイプラインの処理 このサンプルでは、Get-Command の結果をオブジェクト (コレクショ ...
-
-
PowerShell - 記号の意味 - 感嘆符 (!)
2012/7/9
Windows PowerShell で使用される感嘆符 (!) について説明します。 論理値の否定 このサンプルでは、$true の否定である $false を返します。 !$true
-
-
PowerShell – 記号の意味 - 疑問符 (?)
2012/7/9
Windows PowerShell で使用される疑問符 (?) について説明します。 Where-Object コマンドレットのエイリアス 次の 2 つのサンプルは同じ意味です。 Get-Comma ...
-
-
PowerShell - 記号の意味 - パーセント ( % )
2012/7/8
Windows PowerShell で使用されるパーセント ( % ) について説明します。 ForEach-Object コマンドレットのエイリアス この 2 つのサンプルは同じ意味です。 Get ...
-
-
PowerShell - 記号の意味 - アンパサント (&)
2012/7/7
Windows PowerShell で使用されるアンパサント (&) について説明します。 文字列をコマンドの実体に変換 このサンプルでは、文字列 "dir" を dir エイリアスに変換し ...
-
-
PowerShell - 記号の意味 - ドル記号 ($)
2012/7/6
Windows PowerShell で使用されるドル記号 ($) について説明します。 変数を表す このサンプルでは、変数名は i です。 $i = 10 $i このサンプルでは、変数名は {$a} ...
-
-
PowerShell - 記号の意味 - バッククォート (`)
2012/7/5
Windows PowerShell で使用されるバッククォート ( ` ) について説明します。 コマンドの途中で改行 powershell.exe や Windows PowerShell IDE ...
-
-
PowerShell - 記号の意味 - セミコロン (;)
2012/7/4
Windows PowerShell で使用されるセミコロン ( ; ) について説明します。 2 つのコマンドレットを 1 行に記述 このサンプルでは、Set-Location と Get-Chil ...
-
-
PowerShell - 記号の意味 - ふたつのコロン (::)
2012/7/3
Windows PowerShell で使用されるふたつのコロン (::) について説明します。 .NET クラスの静的プロパティ このサンプルでは、System.String クラスの Empty ...
-
-
PowerShell - 記号の意味 - コロン (:)
2012/7/2
Windows PowerShell で使用されるコロン (:) について説明します。 ドライブを表す記号 このサンプルでは、Function ドライブに移動しています。 cd Function: ス ...
-
-
PowerShell - 記号の意味 - カンマ (,)
2012/7/1
Windows PowerShell で使用されるカンマ ( , ) について説明します。 配列を作成 このサンプルでは、作成した配列を変数に代入しています。 $a = "ABC", "XYZ" $a ...
-
-
PowerShell - 記号の意味 - ふたつのピリオド (..)
2012/6/30
Windows PowerShell で使用されるふたつピリオド ( .. ) について説明します。 連続した数値を作成 このサンプルでは、1 から 10 までの数値を作成しています。作成した結果は配 ...