SlideShare a Scribd company logo
Powershell 3.0 
就是为了改变脚本世界 
张诚 
微软数据中心TSP 
@MVP张诚
我与Powershell
主题 
• 脚本解决的问题 
• Powershell前世今生 
• Powershell和自动化
• Windows PowerShell 1.0 
– 100+ cmdlets and a powerful scripting language 
– Access to WMI objects on remote computers 
– Extensible through PSSnapins and managed code 
• Windows PowerShell 2.0 
– 200+ cmdlets 
– PowerShell remoting (implicit and explicit) 
– Extensible through modules and PowerShell script 
– Background jobs 
– Integrated scripting environment
Windows PowerShell 3.0 Themes
Powershell For Hyper-V
一鱼三吃 
• $userName = Read-Host 
• $pwd = Read-Host -AsSecureString 
• Import-Module ActiveDirectory 
• New-ADUser -Name $userName -AccountPassword 
$pwd
未来能力:批量自动化 
• 脚本实现了批量操作 
• Orchestrator实现了自动化
Teched 2012 就是为了改变脚本世界
Teched 2012 就是为了改变脚本世界
Teched 2012 就是为了改变脚本世界

More Related Content

What's hot

Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
laonap166
 
Ansible
AnsibleAnsible
Ansible
gnosek
 
Ansible @ WebElement 2015
Ansible @ WebElement 2015Ansible @ WebElement 2015
Ansible @ WebElement 2015
Michal Maxian
 
Intro to MySQL Master Slave Replication
Intro to MySQL Master Slave ReplicationIntro to MySQL Master Slave Replication
Intro to MySQL Master Slave Replication
satejsahu
 
Write Less Drupal Code
Write Less Drupal CodeWrite Less Drupal Code
Write Less Drupal Code
Alex Barth
 
Building an ActionScript Game Server with over 15,000 Concurrent Connections
Building an ActionScript Game Server with over 15,000 Concurrent ConnectionsBuilding an ActionScript Game Server with over 15,000 Concurrent Connections
Building an ActionScript Game Server with over 15,000 Concurrent Connections
Renaun Erickson
 
Advance discussion on Ansible - Rahul Inti
Advance discussion on Ansible - Rahul IntiAdvance discussion on Ansible - Rahul Inti
Advance discussion on Ansible - Rahul Inti
Sahil Davawala
 
MongoDB + Node.JS + EPAM ROAD
MongoDB + Node.JS + EPAM ROADMongoDB + Node.JS + EPAM ROAD
MongoDB + Node.JS + EPAM ROAD
Szilveszter Molnár
 
Lessons Learned at Wakoopa
Lessons Learned at WakoopaLessons Learned at Wakoopa
Lessons Learned at Wakoopa
Menno van der Sman
 
NET Conf CL v2018 Infrastructure as Code on Azure
NET Conf CL v2018 Infrastructure as Code on AzureNET Conf CL v2018 Infrastructure as Code on Azure
NET Conf CL v2018 Infrastructure as Code on Azure
Victor Silva
 
MySQL High Availability Deep Dive
MySQL High Availability Deep DiveMySQL High Availability Deep Dive
MySQL High Availability Deep Dive
hastexo
 
Create Rest API in Nodejs
Create Rest API in Nodejs Create Rest API in Nodejs
Create Rest API in Nodejs
Irfan Maulana
 
Shell Tips and Tricks
Shell Tips and TricksShell Tips and Tricks
Shell Tips and Tricks
MongoDB
 
Ansible
AnsibleAnsible
Node JS
Node JSNode JS
Complete MVC on NodeJS
Complete MVC on NodeJSComplete MVC on NodeJS
Complete MVC on NodeJS
Hüseyin BABAL
 
Creating a Mesos python framework
Creating a Mesos python frameworkCreating a Mesos python framework
Creating a Mesos python framework
Olivier Sallou
 
Axemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x OverviewAxemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x Overview
Andrei Savu
 
Mysqlnd uh
Mysqlnd uhMysqlnd uh
Mysqlnd uh
natmchugh
 
MongoDB and Windows Azure
MongoDB and Windows AzureMongoDB and Windows Azure
MongoDB and Windows Azure
MongoDB
 

What's hot (20)

Jenkins and ansible reference
Jenkins and ansible referenceJenkins and ansible reference
Jenkins and ansible reference
 
Ansible
AnsibleAnsible
Ansible
 
Ansible @ WebElement 2015
Ansible @ WebElement 2015Ansible @ WebElement 2015
Ansible @ WebElement 2015
 
Intro to MySQL Master Slave Replication
Intro to MySQL Master Slave ReplicationIntro to MySQL Master Slave Replication
Intro to MySQL Master Slave Replication
 
Write Less Drupal Code
Write Less Drupal CodeWrite Less Drupal Code
Write Less Drupal Code
 
Building an ActionScript Game Server with over 15,000 Concurrent Connections
Building an ActionScript Game Server with over 15,000 Concurrent ConnectionsBuilding an ActionScript Game Server with over 15,000 Concurrent Connections
Building an ActionScript Game Server with over 15,000 Concurrent Connections
 
Advance discussion on Ansible - Rahul Inti
Advance discussion on Ansible - Rahul IntiAdvance discussion on Ansible - Rahul Inti
Advance discussion on Ansible - Rahul Inti
 
MongoDB + Node.JS + EPAM ROAD
MongoDB + Node.JS + EPAM ROADMongoDB + Node.JS + EPAM ROAD
MongoDB + Node.JS + EPAM ROAD
 
Lessons Learned at Wakoopa
Lessons Learned at WakoopaLessons Learned at Wakoopa
Lessons Learned at Wakoopa
 
NET Conf CL v2018 Infrastructure as Code on Azure
NET Conf CL v2018 Infrastructure as Code on AzureNET Conf CL v2018 Infrastructure as Code on Azure
NET Conf CL v2018 Infrastructure as Code on Azure
 
MySQL High Availability Deep Dive
MySQL High Availability Deep DiveMySQL High Availability Deep Dive
MySQL High Availability Deep Dive
 
Create Rest API in Nodejs
Create Rest API in Nodejs Create Rest API in Nodejs
Create Rest API in Nodejs
 
Shell Tips and Tricks
Shell Tips and TricksShell Tips and Tricks
Shell Tips and Tricks
 
Ansible
AnsibleAnsible
Ansible
 
Node JS
Node JSNode JS
Node JS
 
Complete MVC on NodeJS
Complete MVC on NodeJSComplete MVC on NodeJS
Complete MVC on NodeJS
 
Creating a Mesos python framework
Creating a Mesos python frameworkCreating a Mesos python framework
Creating a Mesos python framework
 
Axemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x OverviewAxemblr Provisionr 0.3.x Overview
Axemblr Provisionr 0.3.x Overview
 
Mysqlnd uh
Mysqlnd uhMysqlnd uh
Mysqlnd uh
 
MongoDB and Windows Azure
MongoDB and Windows AzureMongoDB and Windows Azure
MongoDB and Windows Azure
 

Viewers also liked

Curso de la historia de mexico
Curso de la historia de mexicoCurso de la historia de mexico
Curso de la historia de mexico
Sebastian Fermin Leal
 
Teched 2013 监和控
Teched 2013  监和控Teched 2013  监和控
Teched 2013 监和控
Cheng Zhang
 
Que son las tics
Que son las ticsQue son las tics
Que son las tics
azazels
 
Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云
Cheng Zhang
 
Teoría del Big Bang
Teoría del Big BangTeoría del Big Bang
Teoría del Big Bang
montsetapia
 
Portafolio Digital Aguadita Grande
Portafolio Digital  Aguadita Grande Portafolio Digital  Aguadita Grande
Portafolio Digital Aguadita Grande
Juan Sebastian Castaño Orozco
 
全脑数字化教学&云端未来教室产品说明V2.01
全脑数字化教学&云端未来教室产品说明V2.01全脑数字化教学&云端未来教室产品说明V2.01
全脑数字化教学&云端未来教室产品说明V2.01
Jackie Liu
 
Timeline of Antibiotic Resistance
Timeline of Antibiotic ResistanceTimeline of Antibiotic Resistance
Timeline of Antibiotic Resistance
katefranklyn
 
Toptvshows.me
Toptvshows.meToptvshows.me
Toptvshows.me
vinesmethe
 
La sociología de las masas
La sociología de las masasLa sociología de las masas
La sociología de las masas
Ricardo Nomas
 
Penilaian pelaksanaan pekerjaan pns
Penilaian pelaksanaan pekerjaan pns Penilaian pelaksanaan pekerjaan pns
Penilaian pelaksanaan pekerjaan pns
Tri Anto
 
Social Labs Day - 31/03/2016 na Faap em SJCampos
Social Labs Day - 31/03/2016 na Faap em SJCamposSocial Labs Day - 31/03/2016 na Faap em SJCampos
Social Labs Day - 31/03/2016 na Faap em SJCampos
Jacqueline Lafloufa
 
Jhonatan alvarez
Jhonatan alvarez Jhonatan alvarez
Jhonatan alvarez
jhonatan alvarez castaño
 
The Lamb and A Poison Tree
The Lamb and A Poison TreeThe Lamb and A Poison Tree
The Lamb and A Poison Tree
laurarodriguezsua
 
Automatizace jednodušše (6. sraz přátel Symfony v Praze)
Automatizace jednodušše (6. sraz přátel Symfony v Praze)Automatizace jednodušše (6. sraz přátel Symfony v Praze)
Automatizace jednodušše (6. sraz přátel Symfony v Praze)
Martin Zeman
 
Paso a paso zenoss 2.5
Paso a paso zenoss  2.5Paso a paso zenoss  2.5
Paso a paso zenoss 2.5
Vanesa Rodríguez Percy
 
Boardmaker Powerpoint - My Experience
Boardmaker Powerpoint - My ExperienceBoardmaker Powerpoint - My Experience
Boardmaker Powerpoint - My Experience
1JJH
 
Aprendizaje cooperativo pdf
Aprendizaje cooperativo pdfAprendizaje cooperativo pdf
Aprendizaje cooperativo pdf
divaflower1998
 

Viewers also liked (20)

Curso de la historia de mexico
Curso de la historia de mexicoCurso de la historia de mexico
Curso de la historia de mexico
 
I risultati dell’azione di accompagnamento
I risultati dell’azione di accompagnamentoI risultati dell’azione di accompagnamento
I risultati dell’azione di accompagnamento
 
Teched 2013 监和控
Teched 2013  监和控Teched 2013  监和控
Teched 2013 监和控
 
Que son las tics
Que son las ticsQue son las tics
Que son las tics
 
Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云Teched 2012 60分钟构建私有云
Teched 2012 60分钟构建私有云
 
Teoría del Big Bang
Teoría del Big BangTeoría del Big Bang
Teoría del Big Bang
 
Portafolio Digital Aguadita Grande
Portafolio Digital  Aguadita Grande Portafolio Digital  Aguadita Grande
Portafolio Digital Aguadita Grande
 
全脑数字化教学&云端未来教室产品说明V2.01
全脑数字化教学&云端未来教室产品说明V2.01全脑数字化教学&云端未来教室产品说明V2.01
全脑数字化教学&云端未来教室产品说明V2.01
 
Timeline of Antibiotic Resistance
Timeline of Antibiotic ResistanceTimeline of Antibiotic Resistance
Timeline of Antibiotic Resistance
 
Toptvshows.me
Toptvshows.meToptvshows.me
Toptvshows.me
 
מזל
מזלמזל
מזל
 
La sociología de las masas
La sociología de las masasLa sociología de las masas
La sociología de las masas
 
Penilaian pelaksanaan pekerjaan pns
Penilaian pelaksanaan pekerjaan pns Penilaian pelaksanaan pekerjaan pns
Penilaian pelaksanaan pekerjaan pns
 
Social Labs Day - 31/03/2016 na Faap em SJCampos
Social Labs Day - 31/03/2016 na Faap em SJCamposSocial Labs Day - 31/03/2016 na Faap em SJCampos
Social Labs Day - 31/03/2016 na Faap em SJCampos
 
Jhonatan alvarez
Jhonatan alvarez Jhonatan alvarez
Jhonatan alvarez
 
The Lamb and A Poison Tree
The Lamb and A Poison TreeThe Lamb and A Poison Tree
The Lamb and A Poison Tree
 
Automatizace jednodušše (6. sraz přátel Symfony v Praze)
Automatizace jednodušše (6. sraz přátel Symfony v Praze)Automatizace jednodušše (6. sraz přátel Symfony v Praze)
Automatizace jednodušše (6. sraz přátel Symfony v Praze)
 
Paso a paso zenoss 2.5
Paso a paso zenoss  2.5Paso a paso zenoss  2.5
Paso a paso zenoss 2.5
 
Boardmaker Powerpoint - My Experience
Boardmaker Powerpoint - My ExperienceBoardmaker Powerpoint - My Experience
Boardmaker Powerpoint - My Experience
 
Aprendizaje cooperativo pdf
Aprendizaje cooperativo pdfAprendizaje cooperativo pdf
Aprendizaje cooperativo pdf
 

Recently uploaded

HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
Donato Onofri
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
3a0sd7z3
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
APNIC
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
rtunex8r
 
Securing BGP: Operational Strategies and Best Practices for Network Defenders...
Securing BGP: Operational Strategies and Best Practices for Network Defenders...Securing BGP: Operational Strategies and Best Practices for Network Defenders...
Securing BGP: Operational Strategies and Best Practices for Network Defenders...
APNIC
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
Tarandeep Singh
 
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
thezot
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
3a0sd7z3
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
k4ncd0z
 

Recently uploaded (12)

HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
Honeypots Unveiled: Proactive Defense Tactics for Cyber Security, Phoenix Sum...
 
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
 
Securing BGP: Operational Strategies and Best Practices for Network Defenders...
Securing BGP: Operational Strategies and Best Practices for Network Defenders...Securing BGP: Operational Strategies and Best Practices for Network Defenders...
Securing BGP: Operational Strategies and Best Practices for Network Defenders...
 
Bengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal BrandingBengaluru Dreamin' 24 - Personal Branding
Bengaluru Dreamin' 24 - Personal Branding
 
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
一比一原版新西兰林肯大学毕业证(Lincoln毕业证书)学历如何办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
 

Teched 2012 就是为了改变脚本世界