2014年2月19日

【PowerShell】ファイルを読み込む



PowerShellでファイルを読み込むにはGet-Contentコマンドレットを使います。




PS C:\work> Get-Content -Path [表示させたいファイル名]

ちなみに、-Pathは省略できます。


<関連記事>
【PowerShell】ファイル作成
【PowerShell】ファイルをコピーする
【PowerShell】ファイルを削除
【PowerShell】ファイル検索
【PowerShell】フォルダを移動する



スポンサーリンク