moritetuのIT関連技術メモ

PowerShell Core

Linuxやmac OS上でも動作する環境。

コマンドレット

動詞-名詞の規則で構成される。

例: Select-String ...

パラメータ

-パラメータ名 となり、パラメータ名の前には、ハイフンがつく。

-?は、ヘルプを示す。使用方法が分からないコマンドは、-?で調べると良い。

PS /Users/t-moriyasu> Get-Content -?

NAME
    Get-Content

SYNTAX
    Get-Content [-Path] <string[]> [-ReadCount <long>] [-TotalCount <long>] [-Tail <int>] [-Filter <string>] [-Include <string[]>
    ] [-Exclude <string[]>] [-Force] [-Credential <pscredential>] [-Delimiter <string>] [-Wait] [-Raw] [-Encoding <Encoding>] [-A
    sByteStream] [<CommonParameters>]

    Get-Content -LiteralPath <string[]> [-ReadCount <long>] [-TotalCount <long>] [-Tail <int>] [-Filter <string>] [-Include <stri
    ng[]>] [-Exclude <string[]>] [-Force] [-Credential <pscredential>] [-Delimiter <string>] [-Wait] [-Raw] [-Encoding <Encoding>
    ] [-AsByteStream] [<CommonParameters>]


ALIASES
    gc
    type


REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
        -- To download and install Help files for the module that includes this cmdlet, use Update-Help.
        -- To view the Help topic for this cmdlet online, type: "Get-Help Get-Content -Online" or
           go to https://go.microsoft.com/fwlink/?LinkID=113310.

参考リンク


トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
目次
ダブルクリックで閉じるTOP | 閉じる
GO TO TOP