#author("2019-03-24T00:28:53+00:00","default:haikikyou","haikikyou")
#author("2019-03-24T00:30:13+00:00","default:haikikyou","haikikyou")
[[moritetuのIT関連技術メモ]]
* PowerShell Core [#c971e98d]
Linuxやmac OS上でも動作する環境。
* コマンドレット [#raf3122a]
''動詞-名詞''の規則で構成される。
例: Select-String ...
* パラメータ [#ma2ba5ca]
&code(){-パラメータ名}; となり、パラメータ名の前には、ハイフンがつく。
''-?''は、ヘルプを示す。使用方法が分からないコマンドは、-?で調べると良い。
#geshi{{{
#geshi(powershell){{{
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.
}}}
* 参考リンク [#a70776f9]
- https://docs.microsoft.com/en-us/powershell/?view=powershell-6
- https://github.com/PowerShell
- [[PowerShell のさまざまなバージョンのインストール>https://docs.microsoft.com/ja-jp/powershell/scripting/install/installing-powershell?view=powershell-6]] - &size(11){&color(gray){on https://docs.microsoft.com/ja-jp/powershell/scripting/install/installing-powershell?view=powershell-6};};