SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Windows PowerShell  呂政周 精誠恆逸教育訓練處 資深講師 http://edu.uuu.com.tw - -
課程大綱 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Windows PowerShell  簡介 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Windows PowerShell  的優點 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Windows PowerShell  的優點  ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],- -
Windows PowerShell Overview Command-Line Interface Exchange Snap-In Task Automation Bulk Operations Extends Console
下載  PowerShell ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
安裝  PowerShell ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
使用 PowerShell - - PowerShell  的第一次接觸
- - Windows PowerShell  可以視為  Cmd  命令提示字元的延伸,許多  Cmd  或指令都可以繼續在  Windows PowerShell  執行,而且大部分的命令列工具程式也都能繼續在  Windows PowerShell  使用 ; 例如  cd/chdir 、 dir 、 cls 、 ls 、   ipconfig 或是 ServerManagerCmd … 等 . Windows PowerShell  不分字母大小寫,因此  dir  和  Dir  都會視為相同的指令。
Cmdlet  ,[object Object],[object Object],- -
Cmdlet  特性 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Get-Help ,[object Object],[object Object],[object Object],[object Object],- -
Get-Help ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Get-Help ( 續 ) ,[object Object],[object Object],[object Object],[object Object],- -
指令的參數與用法 ,[object Object],[object Object],[object Object],[object Object],- -
指令的參數與用法  ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
指令的參數與用法  ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],- -
指令的參數與用法  ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
指令的參數與用法  ( 續 ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],- -
Object Pipelines in Action gps|where{$_.handles -gt 500}|sort handles|ft name,handles gps (Get-Process) Operating system platform Windows PowerShell engine where (Where-Object) sort (Sort-Object) ft (Format-Table) (Out-Host) gps | where{$_.handles -gt 500} | sort handles | ft name,handles
演練 - -
結論
Community Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
For More Information ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- - © 2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

Weitere ähnliche Inhalte

Ähnlich wie 0220 Windows server 2008 PowerShell

Asp.net mvc 培训
Asp.net mvc 培训Asp.net mvc 培训
Asp.net mvc 培训lotusprince
 
Selenium介绍
Selenium介绍Selenium介绍
Selenium介绍lory hou
 
twMVC#04 | ASP.NET MVC - Code Templates實戰開發
twMVC#04 | ASP.NET MVC - Code Templates實戰開發twMVC#04 | ASP.NET MVC - Code Templates實戰開發
twMVC#04 | ASP.NET MVC - Code Templates實戰開發twMVC
 
ASP.NET MVC Code Templates實戰開發 -twMVC#4
 ASP.NET MVC Code Templates實戰開發 -twMVC#4 ASP.NET MVC Code Templates實戰開發 -twMVC#4
ASP.NET MVC Code Templates實戰開發 -twMVC#4twMVC
 
Struts Mitac(1)
Struts Mitac(1)Struts Mitac(1)
Struts Mitac(1)wangjiaz
 
網站設計100步
網站設計100步網站設計100步
網站設計100步evercislide
 
【 I Love Joomla 】- Joomla!佈景製作教學
【 I Love Joomla 】- Joomla!佈景製作教學【 I Love Joomla 】- Joomla!佈景製作教學
【 I Love Joomla 】- Joomla!佈景製作教學ilovejoomla
 
Introduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.xIntroduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.xBo-Yi Wu
 
PHP通用程序的模板运行机制
PHP通用程序的模板运行机制PHP通用程序的模板运行机制
PHP通用程序的模板运行机制horseluke
 
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 ServletServlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 ServletJustin Lin
 
Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有Wade Huang
 
Oraliux+mysql5单机多实例安装文档
Oraliux+mysql5单机多实例安装文档Oraliux+mysql5单机多实例安装文档
Oraliux+mysql5单机多实例安装文档xuebao_zx
 
Struts快速学习指南
Struts快速学习指南Struts快速学习指南
Struts快速学习指南yiditushe
 
在雲端上啜飲爪哇
在雲端上啜飲爪哇在雲端上啜飲爪哇
在雲端上啜飲爪哇建興 王
 
0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)Timothy Chen
 
系統程式 -- 第 1 章 系統軟體
系統程式 -- 第 1 章 系統軟體系統程式 -- 第 1 章 系統軟體
系統程式 -- 第 1 章 系統軟體鍾誠 陳鍾誠
 
I Love Joomla! 佈景製作教學 0212
I Love Joomla! 佈景製作教學 0212I Love Joomla! 佈景製作教學 0212
I Love Joomla! 佈景製作教學 0212Asika Simon
 
P6 服务器安装与配置
P6 服务器安装与配置P6 服务器安装与配置
P6 服务器安装与配置epst
 
Free Marker中文文档
Free Marker中文文档Free Marker中文文档
Free Marker中文文档yiditushe
 
设计模式MVC
设计模式MVC设计模式MVC
设计模式MVCHesey
 

Ähnlich wie 0220 Windows server 2008 PowerShell (20)

Asp.net mvc 培训
Asp.net mvc 培训Asp.net mvc 培训
Asp.net mvc 培训
 
Selenium介绍
Selenium介绍Selenium介绍
Selenium介绍
 
twMVC#04 | ASP.NET MVC - Code Templates實戰開發
twMVC#04 | ASP.NET MVC - Code Templates實戰開發twMVC#04 | ASP.NET MVC - Code Templates實戰開發
twMVC#04 | ASP.NET MVC - Code Templates實戰開發
 
ASP.NET MVC Code Templates實戰開發 -twMVC#4
 ASP.NET MVC Code Templates實戰開發 -twMVC#4 ASP.NET MVC Code Templates實戰開發 -twMVC#4
ASP.NET MVC Code Templates實戰開發 -twMVC#4
 
Struts Mitac(1)
Struts Mitac(1)Struts Mitac(1)
Struts Mitac(1)
 
網站設計100步
網站設計100步網站設計100步
網站設計100步
 
【 I Love Joomla 】- Joomla!佈景製作教學
【 I Love Joomla 】- Joomla!佈景製作教學【 I Love Joomla 】- Joomla!佈景製作教學
【 I Love Joomla 】- Joomla!佈景製作教學
 
Introduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.xIntroduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.x
 
PHP通用程序的模板运行机制
PHP通用程序的模板运行机制PHP通用程序的模板运行机制
PHP通用程序的模板运行机制
 
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 ServletServlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
Servlet & JSP 教學手冊第二版試讀 - 撰寫與設定 Servlet
 
Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有Asp.net mvc網站的從無到有
Asp.net mvc網站的從無到有
 
Oraliux+mysql5单机多实例安装文档
Oraliux+mysql5单机多实例安装文档Oraliux+mysql5单机多实例安装文档
Oraliux+mysql5单机多实例安装文档
 
Struts快速学习指南
Struts快速学习指南Struts快速学习指南
Struts快速学习指南
 
在雲端上啜飲爪哇
在雲端上啜飲爪哇在雲端上啜飲爪哇
在雲端上啜飲爪哇
 
0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)
 
系統程式 -- 第 1 章 系統軟體
系統程式 -- 第 1 章 系統軟體系統程式 -- 第 1 章 系統軟體
系統程式 -- 第 1 章 系統軟體
 
I Love Joomla! 佈景製作教學 0212
I Love Joomla! 佈景製作教學 0212I Love Joomla! 佈景製作教學 0212
I Love Joomla! 佈景製作教學 0212
 
P6 服务器安装与配置
P6 服务器安装与配置P6 服务器安装与配置
P6 服务器安装与配置
 
Free Marker中文文档
Free Marker中文文档Free Marker中文文档
Free Marker中文文档
 
设计模式MVC
设计模式MVC设计模式MVC
设计模式MVC
 

Mehr von Timothy Chen

Google Q3 2008 Quarterly Earnings Summary
Google Q3 2008 Quarterly Earnings SummaryGoogle Q3 2008 Quarterly Earnings Summary
Google Q3 2008 Quarterly Earnings SummaryTimothy Chen
 
Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Timothy Chen
 
Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Timothy Chen
 
0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制Timothy Chen
 
0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制Timothy Chen
 
0513 深入Windows Server 2008 系統核心
0513 深入Windows Server 2008  系統核心0513 深入Windows Server 2008  系統核心
0513 深入Windows Server 2008 系統核心Timothy Chen
 
0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式Timothy Chen
 
0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務Timothy Chen
 
0505 Windows Server 2008 一日精華營 Part II
0505 Windows Server 2008 一日精華營 Part II0505 Windows Server 2008 一日精華營 Part II
0505 Windows Server 2008 一日精華營 Part IITimothy Chen
 
0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartITimothy Chen
 
0502 Windwos Server 2008 Card Space 新一代身份驗證機制
0502 Windwos Server 2008 Card Space 新一代身份驗證機制0502 Windwos Server 2008 Card Space 新一代身份驗證機制
0502 Windwos Server 2008 Card Space 新一代身份驗證機制Timothy Chen
 
1204 Windows Server 2008 檔案儲存與分行管理技術
1204 Windows Server 2008 檔案儲存與分行管理技術1204 Windows Server 2008 檔案儲存與分行管理技術
1204 Windows Server 2008 檔案儲存與分行管理技術Timothy Chen
 
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合Timothy Chen
 
0416 Windows Server 2008 Native IPv6 新功能介紹
0416 Windows Server 2008 Native IPv6 新功能介紹0416 Windows Server 2008 Native IPv6 新功能介紹
0416 Windows Server 2008 Native IPv6 新功能介紹Timothy Chen
 
0328 Windows Server 2008 應用程式相容性
0328 Windows Server 2008 應用程式相容性0328 Windows Server 2008 應用程式相容性
0328 Windows Server 2008 應用程式相容性Timothy Chen
 
1130 Windows server 2008 - IIS 7.0 伺服器效能管理
1130 Windows server 2008 - IIS 7.0 伺服器效能管理1130 Windows server 2008 - IIS 7.0 伺服器效能管理
1130 Windows server 2008 - IIS 7.0 伺服器效能管理Timothy Chen
 
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台Timothy Chen
 
Tech Net Taiwan Resources Intro
Tech Net Taiwan Resources IntroTech Net Taiwan Resources Intro
Tech Net Taiwan Resources IntroTimothy Chen
 
0828 Windows Server 2008 新安全功能探討
0828 Windows Server 2008 新安全功能探討0828 Windows Server 2008 新安全功能探討
0828 Windows Server 2008 新安全功能探討Timothy Chen
 
1026 Windows Server 2008 Active Directory 版權管理服務
1026 Windows Server 2008 Active Directory 版權管理服務1026 Windows Server 2008 Active Directory 版權管理服務
1026 Windows Server 2008 Active Directory 版權管理服務Timothy Chen
 

Mehr von Timothy Chen (20)

Google Q3 2008 Quarterly Earnings Summary
Google Q3 2008 Quarterly Earnings SummaryGoogle Q3 2008 Quarterly Earnings Summary
Google Q3 2008 Quarterly Earnings Summary
 
Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案
 
Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案Windows Server 2008 伺服器虛擬化解決方案
Windows Server 2008 伺服器虛擬化解決方案
 
0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制
 
0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制0514 Windows Server 2008 事件管理機制
0514 Windows Server 2008 事件管理機制
 
0513 深入Windows Server 2008 系統核心
0513 深入Windows Server 2008  系統核心0513 深入Windows Server 2008  系統核心
0513 深入Windows Server 2008 系統核心
 
0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式0509 Windows Serevr 2008 新世代網路應用程式
0509 Windows Serevr 2008 新世代網路應用程式
 
0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務0506 Windows Server 2008 終端機服務
0506 Windows Server 2008 終端機服務
 
0505 Windows Server 2008 一日精華營 Part II
0505 Windows Server 2008 一日精華營 Part II0505 Windows Server 2008 一日精華營 Part II
0505 Windows Server 2008 一日精華營 Part II
 
0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI0505 Windows Server 2008 一日精華營 PartI
0505 Windows Server 2008 一日精華營 PartI
 
0502 Windwos Server 2008 Card Space 新一代身份驗證機制
0502 Windwos Server 2008 Card Space 新一代身份驗證機制0502 Windwos Server 2008 Card Space 新一代身份驗證機制
0502 Windwos Server 2008 Card Space 新一代身份驗證機制
 
1204 Windows Server 2008 檔案儲存與分行管理技術
1204 Windows Server 2008 檔案儲存與分行管理技術1204 Windows Server 2008 檔案儲存與分行管理技術
1204 Windows Server 2008 檔案儲存與分行管理技術
 
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合
0425 Windows Server 2008 與 WSS下之表單工作與工作流程的整合
 
0416 Windows Server 2008 Native IPv6 新功能介紹
0416 Windows Server 2008 Native IPv6 新功能介紹0416 Windows Server 2008 Native IPv6 新功能介紹
0416 Windows Server 2008 Native IPv6 新功能介紹
 
0328 Windows Server 2008 應用程式相容性
0328 Windows Server 2008 應用程式相容性0328 Windows Server 2008 應用程式相容性
0328 Windows Server 2008 應用程式相容性
 
1130 Windows server 2008 - IIS 7.0 伺服器效能管理
1130 Windows server 2008 - IIS 7.0 伺服器效能管理1130 Windows server 2008 - IIS 7.0 伺服器效能管理
1130 Windows server 2008 - IIS 7.0 伺服器效能管理
 
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台
1116 Windows server 2008 - 使用 IIS 7.0 建置安全站台
 
Tech Net Taiwan Resources Intro
Tech Net Taiwan Resources IntroTech Net Taiwan Resources Intro
Tech Net Taiwan Resources Intro
 
0828 Windows Server 2008 新安全功能探討
0828 Windows Server 2008 新安全功能探討0828 Windows Server 2008 新安全功能探討
0828 Windows Server 2008 新安全功能探討
 
1026 Windows Server 2008 Active Directory 版權管理服務
1026 Windows Server 2008 Active Directory 版權管理服務1026 Windows Server 2008 Active Directory 版權管理服務
1026 Windows Server 2008 Active Directory 版權管理服務
 

0220 Windows server 2008 PowerShell

  • 1. Windows PowerShell 呂政周 精誠恆逸教育訓練處 資深講師 http://edu.uuu.com.tw - -
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Windows PowerShell Overview Command-Line Interface Exchange Snap-In Task Automation Bulk Operations Extends Console
  • 7.
  • 8.
  • 9. 使用 PowerShell - - PowerShell 的第一次接觸
  • 10. - - Windows PowerShell 可以視為 Cmd 命令提示字元的延伸,許多 Cmd 或指令都可以繼續在 Windows PowerShell 執行,而且大部分的命令列工具程式也都能繼續在 Windows PowerShell 使用 ; 例如 cd/chdir 、 dir 、 cls 、 ls 、 ipconfig 或是 ServerManagerCmd … 等 . Windows PowerShell 不分字母大小寫,因此 dir 和 Dir 都會視為相同的指令。
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Object Pipelines in Action gps|where{$_.handles -gt 500}|sort handles|ft name,handles gps (Get-Process) Operating system platform Windows PowerShell engine where (Where-Object) sort (Sort-Object) ft (Format-Table) (Out-Host) gps | where{$_.handles -gt 500} | sort handles | ft name,handles
  • 24.
  • 25.
  • 26. - - © 2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.