SlideShare a Scribd company logo
1 of 13
An introduction at breakneck speed
Powershell Core
Croydon, 3rd April 2018
2© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
• Lots of manpower needed to operate many commercial Windows applications
• Poor consistency and interoperability
• No equivalent to SSH for remote operations
• Long, manual test cycles
Backstory
3© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
It’s a shell
4© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Scripting
5© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
CmdLets
6© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Docs and Help
7© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Everything is an object
8© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Pipes, Filters and processing data
9© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Formatting outputs
10© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Handling JSON data
11© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Interrogating AWS
12© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly
Connecting to remote Windows machines
A global leader in consulting, technology services and digital transformation,
Capgemini is at the forefront of innovation to address the entire breadth of clients’
opportunities in the evolving world of cloud, digital and platforms. Building on its
strong 50-year heritage and deep industry-specific expertise, Capgemini enables
organizations to realize their business ambitions through an array of services from
strategy to operations. Capgemini is driven by the conviction that the business
value of technology comes from and through people. It is a multicultural company
of 200,000 team members in over 40 countries. The Group reported 2016 global
revenues of EUR 12.5 billion.
About Capgemini
Learn more about us at
www.capgemini.com
This presentation contains information that may be privileged or confidential
and is the property of the Capgemini Group.
Copyright © 2018 Capgemini. All rights reserved.

More Related Content

What's hot

Transformação Digital!
Transformação Digital!Transformação Digital!
Transformação Digital!Paulo Guiné
 
How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud Yoko Uchio
 
Using FlockData to power your Recommendation Engine
Using FlockData to power your Recommendation EngineUsing FlockData to power your Recommendation Engine
Using FlockData to power your Recommendation EngineFlockData
 
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...Capgemini
 
Why the Home Office opted for an Open Source, Cloud SaaS Intranet
Why the Home Office opted for an Open Source, Cloud SaaS Intranet Why the Home Office opted for an Open Source, Cloud SaaS Intranet
Why the Home Office opted for an Open Source, Cloud SaaS Intranet Invotra2014
 
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron Tolido
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron TolidoCWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron Tolido
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron TolidoCapgemini
 
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案Jiunn-Shiow Lin
 

What's hot (10)

Transformação Digital!
Transformação Digital!Transformação Digital!
Transformação Digital!
 
How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud How datadog was born in and grew with the cloud
How datadog was born in and grew with the cloud
 
Using FlockData to power your Recommendation Engine
Using FlockData to power your Recommendation EngineUsing FlockData to power your Recommendation Engine
Using FlockData to power your Recommendation Engine
 
Uxhel17 hackathon presentation
Uxhel17 hackathon presentationUxhel17 hackathon presentation
Uxhel17 hackathon presentation
 
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...
CWIN17 Toulouse / Additive manufacturing and cognitive augmented design 3 ds-...
 
Why the Home Office opted for an Open Source, Cloud SaaS Intranet
Why the Home Office opted for an Open Source, Cloud SaaS Intranet Why the Home Office opted for an Open Source, Cloud SaaS Intranet
Why the Home Office opted for an Open Source, Cloud SaaS Intranet
 
Honeywell - a trendsetter in the logistic space
Honeywell - a trendsetter in the logistic spaceHoneywell - a trendsetter in the logistic space
Honeywell - a trendsetter in the logistic space
 
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron Tolido
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron TolidoCWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron Tolido
CWIN17 Toulouse / Discover TechnoVision 2017 to boost innovation - Ron Tolido
 
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案
參加2015香港舉辦的兩岸三地黑客松競賽 黑客松提案
 
CDE - Innovation Network Event - 17 Nov 2016
CDE - Innovation Network Event - 17 Nov 2016CDE - Innovation Network Event - 17 Nov 2016
CDE - Innovation Network Event - 17 Nov 2016
 

Similar to Powershell core-2018

Cloud Journey Roadmap: Capgemini's Cloud Readiness Assessment
Cloud Journey Roadmap: Capgemini's Cloud Readiness AssessmentCloud Journey Roadmap: Capgemini's Cloud Readiness Assessment
Cloud Journey Roadmap: Capgemini's Cloud Readiness AssessmentCapgemini
 
London Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIsLondon Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIsPhil Wilkins
 
The Future of Infrastructure: Key Trends to consider
The Future of Infrastructure: Key Trends to considerThe Future of Infrastructure: Key Trends to consider
The Future of Infrastructure: Key Trends to considerCapgemini
 
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0Mirko Kleiner
 
The next generation of ap is luis weir.cwin18.telford
The next generation of ap is   luis weir.cwin18.telfordThe next generation of ap is   luis weir.cwin18.telford
The next generation of ap is luis weir.cwin18.telfordCapgemini
 
Assurance Scoring: using machine learning and analytics to reduce risk in the...
Assurance Scoring: using machine learning and analytics to reduce risk in the...Assurance Scoring: using machine learning and analytics to reduce risk in the...
Assurance Scoring: using machine learning and analytics to reduce risk in the...South West Data Meetup
 
Cwin18 Cloud Re-platforming and Cloud Journey - fausto pasqualetti final
Cwin18 Cloud  Re-platforming and Cloud Journey -  fausto pasqualetti finalCwin18 Cloud  Re-platforming and Cloud Journey -  fausto pasqualetti final
Cwin18 Cloud Re-platforming and Cloud Journey - fausto pasqualetti finalFausto Pasqualetti
 
CWIN17 telford application integration and ap is - lisa eckersley
CWIN17 telford   application integration and ap is - lisa eckersleyCWIN17 telford   application integration and ap is - lisa eckersley
CWIN17 telford application integration and ap is - lisa eckersleyCapgemini
 
Hackathon capgemini sogeti team-cwin18_toulouse
Hackathon capgemini sogeti team-cwin18_toulouseHackathon capgemini sogeti team-cwin18_toulouse
Hackathon capgemini sogeti team-cwin18_toulouseCapgemini
 
Intelligent process automation maximizing business
Intelligent process automation maximizing businessIntelligent process automation maximizing business
Intelligent process automation maximizing businessCapgemini
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudIndustry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudJohan Louwers
 
Con1169 office depot scm cloud mbx session
Con1169 office depot scm cloud mbx sessionCon1169 office depot scm cloud mbx session
Con1169 office depot scm cloud mbx sessionBharti Tiwary, PMP
 
AtemisCloud B2B Solutions
AtemisCloud B2B SolutionsAtemisCloud B2B Solutions
AtemisCloud B2B SolutionsBenoit BARRIER
 
Stargo - NOAH18 Tel Aviv
Stargo - NOAH18 Tel Aviv Stargo - NOAH18 Tel Aviv
Stargo - NOAH18 Tel Aviv NOAH Advisors
 
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...Capgemini
 
ERP Cloud: Assessing Readiness and Building the Roadmap
ERP Cloud: Assessing Readiness and Building the RoadmapERP Cloud: Assessing Readiness and Building the Roadmap
ERP Cloud: Assessing Readiness and Building the RoadmapCapgemini
 
Composing a case management solution with SaaS, PaaS, On-premise products
Composing a case management solution with SaaS, PaaS, On-premise productsComposing a case management solution with SaaS, PaaS, On-premise products
Composing a case management solution with SaaS, PaaS, On-premise productsLeon Smiers
 
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA Cloud
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA CloudBoosting Innovation and Value for Your Subsidiaries with SAP S/4HANA Cloud
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA CloudCapgemini
 
Working Agile in an Ever Changing World
Working Agile in an Ever Changing WorldWorking Agile in an Ever Changing World
Working Agile in an Ever Changing WorldCapgemini
 
Oracle Open World 2013 Case Management Smiers / Kitson
Oracle Open World 2013 Case Management Smiers / KitsonOracle Open World 2013 Case Management Smiers / Kitson
Oracle Open World 2013 Case Management Smiers / KitsonLeon Smiers
 

Similar to Powershell core-2018 (20)

Cloud Journey Roadmap: Capgemini's Cloud Readiness Assessment
Cloud Journey Roadmap: Capgemini's Cloud Readiness AssessmentCloud Journey Roadmap: Capgemini's Cloud Readiness Assessment
Cloud Journey Roadmap: Capgemini's Cloud Readiness Assessment
 
London Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIsLondon Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIs
 
The Future of Infrastructure: Key Trends to consider
The Future of Infrastructure: Key Trends to considerThe Future of Infrastructure: Key Trends to consider
The Future of Infrastructure: Key Trends to consider
 
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0
Cips Meetup Auckland-Mirko-Kleiner-lean-agile-procurement-201904-1.0
 
The next generation of ap is luis weir.cwin18.telford
The next generation of ap is   luis weir.cwin18.telfordThe next generation of ap is   luis weir.cwin18.telford
The next generation of ap is luis weir.cwin18.telford
 
Assurance Scoring: using machine learning and analytics to reduce risk in the...
Assurance Scoring: using machine learning and analytics to reduce risk in the...Assurance Scoring: using machine learning and analytics to reduce risk in the...
Assurance Scoring: using machine learning and analytics to reduce risk in the...
 
Cwin18 Cloud Re-platforming and Cloud Journey - fausto pasqualetti final
Cwin18 Cloud  Re-platforming and Cloud Journey -  fausto pasqualetti finalCwin18 Cloud  Re-platforming and Cloud Journey -  fausto pasqualetti final
Cwin18 Cloud Re-platforming and Cloud Journey - fausto pasqualetti final
 
CWIN17 telford application integration and ap is - lisa eckersley
CWIN17 telford   application integration and ap is - lisa eckersleyCWIN17 telford   application integration and ap is - lisa eckersley
CWIN17 telford application integration and ap is - lisa eckersley
 
Hackathon capgemini sogeti team-cwin18_toulouse
Hackathon capgemini sogeti team-cwin18_toulouseHackathon capgemini sogeti team-cwin18_toulouse
Hackathon capgemini sogeti team-cwin18_toulouse
 
Intelligent process automation maximizing business
Intelligent process automation maximizing businessIntelligent process automation maximizing business
Intelligent process automation maximizing business
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudIndustry 4.0 and Oracle Cloud
Industry 4.0 and Oracle Cloud
 
Con1169 office depot scm cloud mbx session
Con1169 office depot scm cloud mbx sessionCon1169 office depot scm cloud mbx session
Con1169 office depot scm cloud mbx session
 
AtemisCloud B2B Solutions
AtemisCloud B2B SolutionsAtemisCloud B2B Solutions
AtemisCloud B2B Solutions
 
Stargo - NOAH18 Tel Aviv
Stargo - NOAH18 Tel Aviv Stargo - NOAH18 Tel Aviv
Stargo - NOAH18 Tel Aviv
 
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...
Accelerating Return on SAP Investment for Excelerate Energy: Harnessing the P...
 
ERP Cloud: Assessing Readiness and Building the Roadmap
ERP Cloud: Assessing Readiness and Building the RoadmapERP Cloud: Assessing Readiness and Building the Roadmap
ERP Cloud: Assessing Readiness and Building the Roadmap
 
Composing a case management solution with SaaS, PaaS, On-premise products
Composing a case management solution with SaaS, PaaS, On-premise productsComposing a case management solution with SaaS, PaaS, On-premise products
Composing a case management solution with SaaS, PaaS, On-premise products
 
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA Cloud
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA CloudBoosting Innovation and Value for Your Subsidiaries with SAP S/4HANA Cloud
Boosting Innovation and Value for Your Subsidiaries with SAP S/4HANA Cloud
 
Working Agile in an Ever Changing World
Working Agile in an Ever Changing WorldWorking Agile in an Ever Changing World
Working Agile in an Ever Changing World
 
Oracle Open World 2013 Case Management Smiers / Kitson
Oracle Open World 2013 Case Management Smiers / KitsonOracle Open World 2013 Case Management Smiers / Kitson
Oracle Open World 2013 Case Management Smiers / Kitson
 

Recently uploaded

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 

Recently uploaded (20)

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 

Powershell core-2018

  • 1. An introduction at breakneck speed Powershell Core Croydon, 3rd April 2018
  • 2. 2© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly • Lots of manpower needed to operate many commercial Windows applications • Poor consistency and interoperability • No equivalent to SSH for remote operations • Long, manual test cycles Backstory
  • 3. 3© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly It’s a shell
  • 4. 4© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Scripting
  • 5. 5© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly CmdLets
  • 6. 6© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Docs and Help
  • 7. 7© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Everything is an object
  • 8. 8© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Pipes, Filters and processing data
  • 9. 9© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Formatting outputs
  • 10. 10© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Handling JSON data
  • 11. 11© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Interrogating AWS
  • 12. 12© Capgemini 2018. All rights reserved |Powershell Core | April 3rd 2018 | Stephen Connolly Connecting to remote Windows machines
  • 13. A global leader in consulting, technology services and digital transformation, Capgemini is at the forefront of innovation to address the entire breadth of clients’ opportunities in the evolving world of cloud, digital and platforms. Building on its strong 50-year heritage and deep industry-specific expertise, Capgemini enables organizations to realize their business ambitions through an array of services from strategy to operations. Capgemini is driven by the conviction that the business value of technology comes from and through people. It is a multicultural company of 200,000 team members in over 40 countries. The Group reported 2016 global revenues of EUR 12.5 billion. About Capgemini Learn more about us at www.capgemini.com This presentation contains information that may be privileged or confidential and is the property of the Capgemini Group. Copyright © 2018 Capgemini. All rights reserved.

Editor's Notes

  1. A little bit about me All of early career spent in the Windows world doing automation using DOS, then VBScript and eventually Powershell For the most part worked in the build, source control and deployment automation space – developer enablement. Windows apps very GUI focused but hard to automate and manage at scale. Proliferation of scripting tools - VBS, DOS, bespoke CLI tooling, sysprepping servers was labour-intensive and error-prone. We had to write a lot of code to make sure our customers’ machines were ready to have software installed on them. Similarly our QA teams wasted hours building test images. Off the shelf 'solutions’ typically costly. No consistency of CLI or API between different vendors, assuming they even offer any kind of automation option. High TCO vs Unix and its CLI apps. Windows has no built-in remoting capability. It was either RDP (which isn't automatable in a remote session other than via gui drivers) or PSExec. No equivalent of SSH. MS realised the limitation here, even for their own internal product development teams, as they couldn't do agile without being able to automate all of their testing. Exchange admin console for example, although it's a GUI, under the hood it uses PowerShell so everything is properly tested.
  2. It's a Shell - command shell for 1 off commands, history, pipelines. However, the built in commands are not discrete executables that fork processes, but functional objects called cmdlets (command-lets) that run in-proc. Core objects are written in C# - either built in in the shell or developed by vendors and released as PowerShell modules that can be loaded on demand. If a vendor or developer hasn't written cmdlets, you can even instantiate .net classes directly and script them yourself. You can also create your own cmdlets and modules in powershell code if you don't want to write C# or VB.Net.
  3. It's a scripting language - owes a massive debt to Bash. Less resemblance to other high level scripting languages like VBS, Python and Ruby
  4. Cmdlets (command-lets) are essentially built in powershell functions named as <verb>-<noun>, such as Get-ChildItem (for enumerating a tree, such as a Directory) or Get-Content (equivalent of cat, for printing out a file). Typically only a limited range of verbs. The Noun part is always singular, even if it returns a collection. Helps avoid ambiguity. Built in cmdlets typically have a number of aliases to make it easier for people adapt to using it. So gci and dir map are both aliases of get-childitem. If like me you can’t remember the name of the command, you can use a process of elimination using get-command and filters, like get-command –noun JSON* You can write your own cmdlets and package them as re-usable modules or libraries. To avoid naming collision, provide your own noun prefix to make it easier to identify your own cmdlets. AWS don’t do this (tut tut)
  5. Built in documentation and tab-completion. Even if you haven't written any docstrings or comment blocks, any cmdlets you write will support tab completion and basic docs.
  6. Unlike unix shells the output of cmdlets isn't just a raw strings or numbers that you have to wrangle with cut, grep, sed and awk. When a cmdlet returns something, what you get is an object, or a stream / collection of objects. So get-childitem doesn't give you a listing, but a collection of file system objects. Because they are objects, you can inspect their properties and invoke their methods using get-member
  7. Pipes and filters. Any bulk operation like listing objects in the file system, reading lines from a file or machines running in the cloud will yield a collection. Rather than storing the results in memory you can use pipelining to process the results one at a time, discarding things you don't care about and performing deeper processing or transformation on the rest and even generate new output objects. Built-ins for reading and writing common textual serialization formats - XML, CSV and JSON.
  8. Although the output looks like a table or list (not unlike a docker PS output, for example)What's actually going on under the hood is that every command in the shell terminates in an implicit formatting object, which is predefined for most built in object types with the default properties to render. If you want to override this, just explicitly output to table, list or a custom format, telling it which properties of the object you want to include in the output. If an object has many properties, you can shave off the ones you don't care about and pass down the pipeline.
  9. Let’s put this together and run a query to get some JSON data from a web service and pull some specific data off it. In this case we’re going to interrogate stack exchange for powershell topics Once we have the raw request returning data, we can drill in and identify specific data fields, in this case just the Question title and the link
  10. All we’re doing here is querying the AWS London AMI store for base Windows machines, sorting them by date and selecting the most recent one.
  11. Windows machines are not generally enabled for allowing inbound connections other than over RDP. Fortunately there are some pretty solid scripts that you can include in your user data to allow the system to configure the WSMan services and install SSL certificates locally so that the traffic can be properly encrypted. Once that’s done it’s a pretty straightforward move to connect to the remote Windows machine and run some commands in the remote session. All we’re doing here is connecting to a remote AWS instance and interrogating the instance metadata, but of course there is no limit to what you can do. It’s worth pointing out that this is the same mechanism that Ansible uses for configuring Windows machines. Because the client isn’t domain-joined we have to use basic authentication, though it’s over an SSL channel.