Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
"PowerShell"を学ぶ方法
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Takuya Shibata
PRO
April 09, 2016
Technology
0
300
"PowerShell"を学ぶ方法
2016/04/09に行われた第 6 回 PowerShell 勉強会のLTで発表した内容です。
Takuya Shibata
PRO
April 09, 2016
Tweet
Share
More Decks by Takuya Shibata
See All by Takuya Shibata
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
430
AWSのProductのLifecycleについて
stknohg
PRO
0
520
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
580
CloudFrontの継続的デプロイを試してみたはなし
stknohg
PRO
0
1.5k
Snapshot & Backup
stknohg
PRO
0
4.1k
AWSエンジニアのためのActive Directory入門
stknohg
PRO
1
3.5k
EC2 Image Builder
stknohg
PRO
0
500
Windows on AWS の “基礎”
stknohg
PRO
0
890
Azure Dedicated Host と2019年10月1日からのライセンス改定のはなし
stknohg
PRO
0
580
Other Decks in Technology
See All in Technology
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
140
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Phase05_ClaudeCode入門
overflowinc
0
370
Copilot 宇宙へ 〜生成AIで「専門データの壁」を壊す方法〜
nakasho
0
130
ReactのdangerouslySetInnerHTMLは“dangerously”だから危険 / Security.any #09 卒業したいセキュリティLT
flatt_security
0
370
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
210
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
340
LINEヤフーにおけるAIOpsの現在地
lycorptech_jp
PRO
4
1.1k
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
310
VLAモデル構築のための AIロボット向け模倣学習キット
kmatsuiugo
0
310
Kiro Powers 入門
k_adachi_01
0
130
AlloyDB 奮闘記
hatappi
0
180
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
280
Faster Mobile Websites
deanohume
310
31k
The Limits of Empathy - UXLibs8
cassininazir
1
270
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
110
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
91
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
Tell your own story through comics
letsgokoyo
1
850
Designing for Performance
lara
611
70k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
“PowerShell”を学ぶ方法 2016/04/09 JPPOSH 第6回 POWERSHELL 勉強会 素敵なおひげ 公開版
自己紹介 素敵なおひげ ◦Twitter - @stknohg ◦Blog - http://stknohg.hatenablog.jp/
何者? ◦札幌から来ました。 ◦CLR/HとJAZUG札幌(きたあず)の裏方です。 ◦PowerShell勉強中! 2
CLR/H http://clr-h.jp/ 3
CLR/H in Tokyo 東京でもやってます 4
きたあず http://kitaazu.azurewebsites.net/ 5
4/23に勉強会やります(札幌) http://clrh.connpass.com/event/28972 PowerShellの”オブジェクト”について話す予定です 6
本題 今日は私がPowerShellの内部動作 や仕様といった、 ”PowerShell”そのものを どの様にして学んでいるか お話します。 7
書籍 8
書籍 PowerShellの機能や文法を学ぶための本 は結構ある ◦ コマンドリファレンスや 機能別の逆引きリファレンスが多い けど、PowerShellの内部動作を学べる本 は少ない
9
言語仕様書 PowerShell 2.0 ◦ https://www.microsoft.com/en-us/download/details.aspx?id=9706 10
言語仕様書 PowerShell 3.0 ◦ https://www.microsoft.com/en-us/download/details.aspx?id=36389 11
Windows PowerShell IN ACTION 一言でいうと「インサイドWindows」の PowerShell版 現在第2版でPowerShell 2.0に対応
◦ PowerShell 5.0に対応した第3版が現在作成中 日本語版は絶版 ◦ 中古を探せばあるけど初版 原書を買うのがおすすめ ◦ 電子書籍版がよりおすすめ 12
Windows PowerShell IN ACTION 実物 (左はMADOSMA) 13
Get-Help Get-Helpはコマンドレットのためだけでは ない “about_*”シリーズで文法やシェルの機能 のヘルプを見ることができる ◦ ただし英語のみ 14
> Update-Help > Get-Help about_* > Get-Help about_Signing
Get-Help 15
MSDN 日本語でヘルプを見たければMSDN 全てではないがある程度は日本語に 翻訳されている Windows PowerShell コア
About トピック ◦ https://technet.microsoft.com/ja-jp/library/hh847856.aspx 16
MSDN 17
Trace-Command Trace-Commadでコマンドのトレースを取れる 18 > Trace-Command -Name * ` -Expression
{ Write-Output "Hello" } -PSHost
Reference Source 最終的な内部動作を追うにはソースを 読むしかない… Reference Source ◦ http://referencesource.microsoft.com/
Reference Source では、 “System.Management.Automation” 名前空間のみソースを参照可能 ◦ コア中のコア機能だけ ◦ 各コマンドレットのソースは見れない… 完全なオープンソース化はよ 19
Reference Source 20
まとめ “PowerShell”そのものを学ぶには 以下の方法が便利! ◦言語仕様書 ◦Windows PowerShell IN ACTION ◦Get-Help
◦MSDN ◦Trace-Command ◦Reference Source 21
まとめ PowerShellを完全に オープンソース化してほしい ですね! 22