SlideShare a Scribd company logo
Meet windows powershell!(no matter who you are)
This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC
introductionsDon JonesSenior Partner and Principal Technologist, Concentrated Technologywww.ConcentratedTech.comWindows PowerShell MVP Award RecipientBlogger at WindowsITPro.comColumnist for Microsoft TechNet Magazine and Redmond Magazinewww.TechNetMagazine.com • www.RedmondMag.comWindows PowerShell instructor and enthusiast
Learn Windows PowerShell in a Month of LunchesAlso available: Companion DVD and Web siteMoreLunches.comGet the book!You can order an autographed version when we’re done today, and it’ll be shipped right to you in about a week
Memes we’ll coverWhat is PowerShell, and Why Should You Care?PowerShell: Command-Line Interface or Scripting Language?PowerShell Patterns and Practices(Learn these and you’ll never need another class)Turning Commands into Reusable Tools
Our goalTo expose you to many of PowerShell’s core patterns and practicesWith this information, you can start to “figure out” PowerShell largely on your own!This is definitely a “crash course,” so prepare your airbags for rapid deploymentWe will be covering a good amount of material very quickly – the goal is to give you an idea of what PowerShell does and how it does it, not to make you an expertIf you’d like a somewhat slower-paced, methodical introduction… Learn Windows PowerShell in a Month of Lunches!Or consider an instructor-led class (MOC 10325A or have me on-site)
Before we get started…Ask Questions!Challenge Assumptions!Share Your Experiences!This is going to mostly involve demos, not slides. You can get a recorded full-day workshop on DVD from http://ConcentratedTech.com/DVDGoPack.php if you miss anything or need a reminderIf you lose any of the URLs, just visit ShellHub.com – I have them all listed thereThis deck is downloadable at ConcentratedTech.com/download
What is Windows PowerShell, and Why Should You Care?
The strategic outlookMicrosoft produced PowerShell because of customer demand for better administrative automation capabilities.In other words, management cares about efficiency. Who knew?Learn PowerShell = Be Efficient = Keep JobIgnore PowerShell = Keep Clicking Through Dialog Boxes = Fries With That?
System requirementsWindows 7 / Windows Server 2008 R2 (incl Core): Installed by defaultWindows Vista / Windows Server 2008: Has v1; Needs v2Windows XP / Windows Server 2003: Has nothing, Needs v2Requires .NET Framework v2 (v3.51 is better; can live side by side with v4)To get PowerShell v2: Search for “Download Management Framework Core”
Caution / gotcha alertOn 64-bit operating systems, you get four PowerShells:Console and ISE in 64-bit form
Console and ISE in 32-bit form - window says “(x86”)Shell extensions can only run in a matching architecture (e.g., 32-bit extension runs in x86 shell). Don’t mess this up.Also make sure window title bar says “Administrator,” or you aren’t administrator.
Is it a CLI?Or a Scripting Language?Hint: If you can run Dir | More,you can use PowerShell.
Really, it’s this easyGet-Mailbox | Sort Size –descending | Select –first 100 | Move-Mailbox –Server FOOOk, that isn’t the 100% syntax… but it’s close, and it gives you an idea of what PowerShell is. Sure, you can treat it like a VBScript replacement… but isn’t this much more cool?The tricky bit is that different audiences tend to approach PowerShell in different ways. Scripters use it to write scripts. Devs use it like “C# lite.” Admins shouldn’t be distracted by those approaches if they’re not appropriate – use it like a shell.
Let the demos beginEnough with the slides. Let’s do this.Start thinking: What would you like to be able to do in Windows PowerShell?Ask me how – I’ll at least tell you, and if I can, I’ll show you. Right now.
Patterns and practicesFinding commands by using Help and Get-CommandLoading new commands (extending the shell)Cmdlet naming conventionsWhy (almost) everything is a disk driveParameters and Interpreting the HelpCore cmdlets: Sorting, Filtering, Selecting, and MorePipeline Parameter Binding (ByValue and ByPropertyName)Working with Windows Management InstrumentationAdding custom columns (properties)Ways of feeding computer names to a –computerName parameter
Building reusable toolsWhile cmdlets are written in C# or Visual Basic……you can do something awfully close in an advanced function using PowerShell’s scripting languageLet’s take a fairly simple pair of commands and turn them into the ultimate re-usable tool, all from scratch. We’ll inventory OS, service back, and BIOS information from multiple computersThen we’ll do it with a command that clears the application log on one or more computers – and implements some more PowerShell patterns and best practices
summaryStart learning PowerShell. Find a task to automate and dive right in.Focus on patterns and practices to teach yourself.We really did cover a lot of stuff, didn’t we?
Thank you!Thanks to all the local folks who helped make this seminar happen……and thanks to Microsoft IT Pro Evangelist Harold Wong, who had the idea!Remember, you can get this deck at ConcentratedTech.com/downloadAny last questions????
Learn Windows PowerShell in a Month of LunchesAlso available: Companion DVD and Web siteMoreLunches.comRemember!You can order an autographed version today, and it’ll be shipped right to you in about a week!
My contact informationQ&A: http://connect.ConcentratedTech.comTwitter: @concentrateddonLinkedIn: http://linkedin.com/in/concentratedDonOr send a text message containing   DONJ   to 50500 – you’ll get a reply with my contact info and a vCard linkPrivate On-Site Training Available – contact sales@concentratedtech.com.Flat-rate pricing includes travel expenses (3-5 day classes)Get this deck from ConcentratedTech.com/downloadLook for “Jones-2011WestCoastTour.zip”
Go forth and shell!(before v3 comes out and adds a bunch of stuff)

More Related Content

What's hot (19)

PS scripting and modularization
PS scripting and modularizationPS scripting and modularization
PS scripting and modularization
Concentrated Technology
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
imaack
 
Building your first WordPress plugin
Building your first WordPress pluginBuilding your first WordPress plugin
Building your first WordPress plugin
Justin Foell
 
2018 Fall - Teacher Technology with Naima Hill
2018 Fall - Teacher Technology with Naima Hill2018 Fall - Teacher Technology with Naima Hill
2018 Fall - Teacher Technology with Naima Hill
Mountain View College Teaching and Learning
 
Wordpress Questions & Answers
Wordpress Questions & AnswersWordpress Questions & Answers
Wordpress Questions & Answers
Nicole Dion
 
Style Guide Best Practices
Style Guide Best PracticesStyle Guide Best Practices
Style Guide Best Practices
Brad Frost
 
Microsoft P.P. vs. Prezi!
Microsoft P.P. vs. Prezi!Microsoft P.P. vs. Prezi!
Microsoft P.P. vs. Prezi!
MrNoodles
 
Matt Jones Software Evaluation
Matt Jones Software EvaluationMatt Jones Software Evaluation
Matt Jones Software Evaluation
Texas Tech Class
 
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
D2L Barry
 
Question 6 Media
Question 6 MediaQuestion 6 Media
Question 6 Media
Georgia-Mae Smith
 
How to customise Joomla
How to customise JoomlaHow to customise Joomla
How to customise Joomla
Tim Plummer
 
PowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint adminsPowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint admins
Concentrated Technology
 
Video Captions and Transcripts Made Easy, or at least easier
Video Captions and Transcripts Made Easy, or at least easierVideo Captions and Transcripts Made Easy, or at least easier
Video Captions and Transcripts Made Easy, or at least easier
D2L Barry
 
PowerPoint's Best Kept Secret by @damonify
PowerPoint's Best Kept Secret by @damonifyPowerPoint's Best Kept Secret by @damonify
PowerPoint's Best Kept Secret by @damonify
Slides | Presentation Design Agency
 
Question 6
Question 6Question 6
Question 6
Adam Pawsey
 
The Other Dev Tools
The Other Dev ToolsThe Other Dev Tools
The Other Dev Tools
Raymond Camden
 
How to Personalize Product Demos
How to Personalize Product DemosHow to Personalize Product Demos
How to Personalize Product Demos
Consensus
 
Surviving agile remote teams - why remote work is a SKILL
Surviving agile remote teams - why remote work is a SKILLSurviving agile remote teams - why remote work is a SKILL
Surviving agile remote teams - why remote work is a SKILL
Jens Broos
 
PowerShell custom properties
PowerShell custom propertiesPowerShell custom properties
PowerShell custom properties
Concentrated Technology
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
imaack
 
Building your first WordPress plugin
Building your first WordPress pluginBuilding your first WordPress plugin
Building your first WordPress plugin
Justin Foell
 
Wordpress Questions & Answers
Wordpress Questions & AnswersWordpress Questions & Answers
Wordpress Questions & Answers
Nicole Dion
 
Style Guide Best Practices
Style Guide Best PracticesStyle Guide Best Practices
Style Guide Best Practices
Brad Frost
 
Microsoft P.P. vs. Prezi!
Microsoft P.P. vs. Prezi!Microsoft P.P. vs. Prezi!
Microsoft P.P. vs. Prezi!
MrNoodles
 
Matt Jones Software Evaluation
Matt Jones Software EvaluationMatt Jones Software Evaluation
Matt Jones Software Evaluation
Texas Tech Class
 
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
10 Bright Ideas to make your Brightspace Courses More Accessible to Students ...
D2L Barry
 
How to customise Joomla
How to customise JoomlaHow to customise Joomla
How to customise Joomla
Tim Plummer
 
PowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint adminsPowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint admins
Concentrated Technology
 
Video Captions and Transcripts Made Easy, or at least easier
Video Captions and Transcripts Made Easy, or at least easierVideo Captions and Transcripts Made Easy, or at least easier
Video Captions and Transcripts Made Easy, or at least easier
D2L Barry
 
How to Personalize Product Demos
How to Personalize Product DemosHow to Personalize Product Demos
How to Personalize Product Demos
Consensus
 
Surviving agile remote teams - why remote work is a SKILL
Surviving agile remote teams - why remote work is a SKILLSurviving agile remote teams - why remote work is a SKILL
Surviving agile remote teams - why remote work is a SKILL
Jens Broos
 

Viewers also liked (18)

Managing enterprise with PowerShell remoting
Managing enterprise with PowerShell remotingManaging enterprise with PowerShell remoting
Managing enterprise with PowerShell remoting
Concentrated Technology
 
Ha & drs gotcha's
Ha & drs gotcha'sHa & drs gotcha's
Ha & drs gotcha's
Concentrated Technology
 
Implementing dr w. hyper v clustering
Implementing dr w. hyper v clusteringImplementing dr w. hyper v clustering
Implementing dr w. hyper v clustering
Concentrated Technology
 
Managing SQLserver
Managing SQLserverManaging SQLserver
Managing SQLserver
Concentrated Technology
 
Best free tools for w d a
Best free tools for w d aBest free tools for w d a
Best free tools for w d a
Concentrated Technology
 
Ive got a powershell secret
Ive got a powershell secretIve got a powershell secret
Ive got a powershell secret
Chris Conte
 
Ad disasters & how to prevent them
Ad disasters & how to prevent themAd disasters & how to prevent them
Ad disasters & how to prevent them
Concentrated Technology
 
Server Core2
Server Core2Server Core2
Server Core2
Concentrated Technology
 
Automating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShellAutomating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShell
Concentrated Technology
 
Best free tools for win database admin
Best free tools for win database adminBest free tools for win database admin
Best free tools for win database admin
Concentrated Technology
 
No-script PowerShell v2
No-script PowerShell v2No-script PowerShell v2
No-script PowerShell v2
Concentrated Technology
 
Basic PowerShell Toolmaking - Spiceworld 2016 session
Basic PowerShell Toolmaking - Spiceworld 2016 sessionBasic PowerShell Toolmaking - Spiceworld 2016 session
Basic PowerShell Toolmaking - Spiceworld 2016 session
Rob Dunn
 
PowerShell and the Future of Windows Automation
PowerShell and the Future of Windows AutomationPowerShell and the Future of Windows Automation
PowerShell and the Future of Windows Automation
Concentrated Technology
 
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and UsesVDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
Concentrated Technology
 
Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!
Thomas Lee
 
Introduction to powershell
Introduction to powershellIntroduction to powershell
Introduction to powershell
Salaudeen Rajack
 
PowerShell Functions
PowerShell FunctionsPowerShell Functions
PowerShell Functions
mikepfeiffer
 
Free tools for win server administration
Free tools for win server administrationFree tools for win server administration
Free tools for win server administration
Concentrated Technology
 
Managing enterprise with PowerShell remoting
Managing enterprise with PowerShell remotingManaging enterprise with PowerShell remoting
Managing enterprise with PowerShell remoting
Concentrated Technology
 
Ive got a powershell secret
Ive got a powershell secretIve got a powershell secret
Ive got a powershell secret
Chris Conte
 
Automating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShellAutomating Active Directory mgmt in PowerShell
Automating Active Directory mgmt in PowerShell
Concentrated Technology
 
Basic PowerShell Toolmaking - Spiceworld 2016 session
Basic PowerShell Toolmaking - Spiceworld 2016 sessionBasic PowerShell Toolmaking - Spiceworld 2016 session
Basic PowerShell Toolmaking - Spiceworld 2016 session
Rob Dunn
 
PowerShell and the Future of Windows Automation
PowerShell and the Future of Windows AutomationPowerShell and the Future of Windows Automation
PowerShell and the Future of Windows Automation
Concentrated Technology
 
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and UsesVDI-in-a-Box:  Microsoft Desktop Virtualization for Smaller Businesses and Uses
VDI-in-a-Box: Microsoft Desktop Virtualization for Smaller Businesses and Uses
Concentrated Technology
 
Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!Three cool cmdlets I wish PowerShell Had!
Three cool cmdlets I wish PowerShell Had!
Thomas Lee
 
Introduction to powershell
Introduction to powershellIntroduction to powershell
Introduction to powershell
Salaudeen Rajack
 
PowerShell Functions
PowerShell FunctionsPowerShell Functions
PowerShell Functions
mikepfeiffer
 
Free tools for win server administration
Free tools for win server administrationFree tools for win server administration
Free tools for win server administration
Concentrated Technology
 
Ad

Similar to Meet Windows PowerShell (20)

PowerShell Scripting and Modularization (TechMentor Fall 2011)
PowerShell Scripting and Modularization (TechMentor Fall 2011)PowerShell Scripting and Modularization (TechMentor Fall 2011)
PowerShell Scripting and Modularization (TechMentor Fall 2011)
Concentrated Technology
 
Inventory your network and clients with PowerShell
Inventory your network and clients with PowerShellInventory your network and clients with PowerShell
Inventory your network and clients with PowerShell
Concentrated Technology
 
NET Event - Migrating WinForm
NET Event - Migrating WinFormNET Event - Migrating WinForm
NET Event - Migrating WinForm
Raffaele Garofalo
 
Using power shell to enhance efficiency of your operation
Using power shell to enhance efficiency of your operationUsing power shell to enhance efficiency of your operation
Using power shell to enhance efficiency of your operation
Milton Goh
 
Introduction to PowerShell and getting started
Introduction to PowerShell and getting startedIntroduction to PowerShell and getting started
Introduction to PowerShell and getting started
Ravikanth Chaganti
 
Contributing to Drupal
Contributing to DrupalContributing to Drupal
Contributing to Drupal
Chris Skene
 
Dev ops days berlin damien caro
Dev ops days berlin   damien caroDev ops days berlin   damien caro
Dev ops days berlin damien caro
Damien Caro
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
Jamie Oastler
 
PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011
Ravikanth Chaganti
 
INTERNSHIP REPORT
INTERNSHIP REPORTINTERNSHIP REPORT
INTERNSHIP REPORT
Muhammad Talha Bashir
 
Save Time With PowerCLI
Save Time With PowerCLISave Time With PowerCLI
Save Time With PowerCLI
jonathanmedd
 
SharePoint Framework 101 (SPFx)
SharePoint Framework 101 (SPFx)SharePoint Framework 101 (SPFx)
SharePoint Framework 101 (SPFx)
Matthew J. Bailey , MCT
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShell
Aaron Shilo
 
Admin SharePoint 2010 with PowerShell
Admin SharePoint 2010 with PowerShellAdmin SharePoint 2010 with PowerShell
Admin SharePoint 2010 with PowerShell
Concentrated Technology
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
Ivo Jansch
 
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
niassjoeidy
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
Evan Mullins
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
Brendan Sera-Shriar
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
Micky Metts
 
Word press in 60 minutes
Word press in 60 minutesWord press in 60 minutes
Word press in 60 minutes
Michelle Castillo
 
PowerShell Scripting and Modularization (TechMentor Fall 2011)
PowerShell Scripting and Modularization (TechMentor Fall 2011)PowerShell Scripting and Modularization (TechMentor Fall 2011)
PowerShell Scripting and Modularization (TechMentor Fall 2011)
Concentrated Technology
 
Inventory your network and clients with PowerShell
Inventory your network and clients with PowerShellInventory your network and clients with PowerShell
Inventory your network and clients with PowerShell
Concentrated Technology
 
NET Event - Migrating WinForm
NET Event - Migrating WinFormNET Event - Migrating WinForm
NET Event - Migrating WinForm
Raffaele Garofalo
 
Using power shell to enhance efficiency of your operation
Using power shell to enhance efficiency of your operationUsing power shell to enhance efficiency of your operation
Using power shell to enhance efficiency of your operation
Milton Goh
 
Introduction to PowerShell and getting started
Introduction to PowerShell and getting startedIntroduction to PowerShell and getting started
Introduction to PowerShell and getting started
Ravikanth Chaganti
 
Contributing to Drupal
Contributing to DrupalContributing to Drupal
Contributing to Drupal
Chris Skene
 
Dev ops days berlin damien caro
Dev ops days berlin   damien caroDev ops days berlin   damien caro
Dev ops days berlin damien caro
Damien Caro
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
Jamie Oastler
 
PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011
Ravikanth Chaganti
 
Save Time With PowerCLI
Save Time With PowerCLISave Time With PowerCLI
Save Time With PowerCLI
jonathanmedd
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShell
Aaron Shilo
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
Ivo Jansch
 
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
Beginning Powershell For Sharepoint 2013 1st Edition Nikolas Charleboislaprad...
niassjoeidy
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
Evan Mullins
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
Brendan Sera-Shriar
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
Micky Metts
 
Ad

More from Concentrated Technology (17)

Wsus sample scripts
Wsus sample scriptsWsus sample scripts
Wsus sample scripts
Concentrated Technology
 
Wsus best practices
Wsus best practicesWsus best practices
Wsus best practices
Concentrated Technology
 
Virtualization today
Virtualization todayVirtualization today
Virtualization today
Concentrated Technology
 
Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0
Concentrated Technology
 
Vdi in-a-box
Vdi in-a-boxVdi in-a-box
Vdi in-a-box
Concentrated Technology
 
Top ESXi command line v2.0
Top ESXi command line v2.0Top ESXi command line v2.0
Top ESXi command line v2.0
Concentrated Technology
 
Supporting SQLserver
Supporting SQLserverSupporting SQLserver
Supporting SQLserver
Concentrated Technology
 
Securely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rdsSecurely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rds
Concentrated Technology
 
Rapidly deploying software
Rapidly deploying softwareRapidly deploying software
Rapidly deploying software
Concentrated Technology
 
Prepping software for w7 deployment
Prepping software for w7 deploymentPrepping software for w7 deployment
Prepping software for w7 deployment
Concentrated Technology
 
PowerShell Remoting
PowerShell RemotingPowerShell Remoting
PowerShell Remoting
Concentrated Technology
 
PowerShell crashcourse for sharepoint
PowerShell crashcourse for sharepointPowerShell crashcourse for sharepoint
PowerShell crashcourse for sharepoint
Concentrated Technology
 
PowerShell crash course
PowerShell crash coursePowerShell crash course
PowerShell crash course
Concentrated Technology
 
PowerShell and WMI
PowerShell and WMIPowerShell and WMI
PowerShell and WMI
Concentrated Technology
 
Managing SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAManaging SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBA
Concentrated Technology
 
Iis implementation
Iis implementationIis implementation
Iis implementation
Concentrated Technology
 
Hyper v r2 deep dive
Hyper v r2 deep diveHyper v r2 deep dive
Hyper v r2 deep dive
Concentrated Technology
 

Recently uploaded (20)

Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
SDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhereSDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhere
Adtran
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
Data Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any ApplicationData Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any Application
Safe Software
 
Co-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using ProvenanceCo-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using Provenance
Paul Groth
 
6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Microsoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentationMicrosoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentation
Digitalmara
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Aaryan Kansari
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
AI Trends - Mary Meeker
AI Trends - Mary MeekerAI Trends - Mary Meeker
AI Trends - Mary Meeker
Razin Mustafiz
 
Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
SDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhereSDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhere
Adtran
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
Data Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any ApplicationData Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any Application
Safe Software
 
Co-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using ProvenanceCo-Constructing Explanations for AI Systems using Provenance
Co-Constructing Explanations for AI Systems using Provenance
Paul Groth
 
6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Microsoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentationMicrosoft Build 2025 takeaways in one presentation
Microsoft Build 2025 takeaways in one presentation
Digitalmara
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Agentic AI Explained: The Next Frontier of Autonomous Intelligence & Generati...
Aaryan Kansari
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
AI Trends - Mary Meeker
AI Trends - Mary MeekerAI Trends - Mary Meeker
AI Trends - Mary Meeker
Razin Mustafiz
 

Meet Windows PowerShell

  • 1. Meet windows powershell!(no matter who you are)
  • 2. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC
  • 3. introductionsDon JonesSenior Partner and Principal Technologist, Concentrated Technologywww.ConcentratedTech.comWindows PowerShell MVP Award RecipientBlogger at WindowsITPro.comColumnist for Microsoft TechNet Magazine and Redmond Magazinewww.TechNetMagazine.com • www.RedmondMag.comWindows PowerShell instructor and enthusiast
  • 4. Learn Windows PowerShell in a Month of LunchesAlso available: Companion DVD and Web siteMoreLunches.comGet the book!You can order an autographed version when we’re done today, and it’ll be shipped right to you in about a week
  • 5. Memes we’ll coverWhat is PowerShell, and Why Should You Care?PowerShell: Command-Line Interface or Scripting Language?PowerShell Patterns and Practices(Learn these and you’ll never need another class)Turning Commands into Reusable Tools
  • 6. Our goalTo expose you to many of PowerShell’s core patterns and practicesWith this information, you can start to “figure out” PowerShell largely on your own!This is definitely a “crash course,” so prepare your airbags for rapid deploymentWe will be covering a good amount of material very quickly – the goal is to give you an idea of what PowerShell does and how it does it, not to make you an expertIf you’d like a somewhat slower-paced, methodical introduction… Learn Windows PowerShell in a Month of Lunches!Or consider an instructor-led class (MOC 10325A or have me on-site)
  • 7. Before we get started…Ask Questions!Challenge Assumptions!Share Your Experiences!This is going to mostly involve demos, not slides. You can get a recorded full-day workshop on DVD from http://ConcentratedTech.com/DVDGoPack.php if you miss anything or need a reminderIf you lose any of the URLs, just visit ShellHub.com – I have them all listed thereThis deck is downloadable at ConcentratedTech.com/download
  • 8. What is Windows PowerShell, and Why Should You Care?
  • 9. The strategic outlookMicrosoft produced PowerShell because of customer demand for better administrative automation capabilities.In other words, management cares about efficiency. Who knew?Learn PowerShell = Be Efficient = Keep JobIgnore PowerShell = Keep Clicking Through Dialog Boxes = Fries With That?
  • 10. System requirementsWindows 7 / Windows Server 2008 R2 (incl Core): Installed by defaultWindows Vista / Windows Server 2008: Has v1; Needs v2Windows XP / Windows Server 2003: Has nothing, Needs v2Requires .NET Framework v2 (v3.51 is better; can live side by side with v4)To get PowerShell v2: Search for “Download Management Framework Core”
  • 11. Caution / gotcha alertOn 64-bit operating systems, you get four PowerShells:Console and ISE in 64-bit form
  • 12. Console and ISE in 32-bit form - window says “(x86”)Shell extensions can only run in a matching architecture (e.g., 32-bit extension runs in x86 shell). Don’t mess this up.Also make sure window title bar says “Administrator,” or you aren’t administrator.
  • 13. Is it a CLI?Or a Scripting Language?Hint: If you can run Dir | More,you can use PowerShell.
  • 14. Really, it’s this easyGet-Mailbox | Sort Size –descending | Select –first 100 | Move-Mailbox –Server FOOOk, that isn’t the 100% syntax… but it’s close, and it gives you an idea of what PowerShell is. Sure, you can treat it like a VBScript replacement… but isn’t this much more cool?The tricky bit is that different audiences tend to approach PowerShell in different ways. Scripters use it to write scripts. Devs use it like “C# lite.” Admins shouldn’t be distracted by those approaches if they’re not appropriate – use it like a shell.
  • 15. Let the demos beginEnough with the slides. Let’s do this.Start thinking: What would you like to be able to do in Windows PowerShell?Ask me how – I’ll at least tell you, and if I can, I’ll show you. Right now.
  • 16. Patterns and practicesFinding commands by using Help and Get-CommandLoading new commands (extending the shell)Cmdlet naming conventionsWhy (almost) everything is a disk driveParameters and Interpreting the HelpCore cmdlets: Sorting, Filtering, Selecting, and MorePipeline Parameter Binding (ByValue and ByPropertyName)Working with Windows Management InstrumentationAdding custom columns (properties)Ways of feeding computer names to a –computerName parameter
  • 17. Building reusable toolsWhile cmdlets are written in C# or Visual Basic……you can do something awfully close in an advanced function using PowerShell’s scripting languageLet’s take a fairly simple pair of commands and turn them into the ultimate re-usable tool, all from scratch. We’ll inventory OS, service back, and BIOS information from multiple computersThen we’ll do it with a command that clears the application log on one or more computers – and implements some more PowerShell patterns and best practices
  • 18. summaryStart learning PowerShell. Find a task to automate and dive right in.Focus on patterns and practices to teach yourself.We really did cover a lot of stuff, didn’t we?
  • 19. Thank you!Thanks to all the local folks who helped make this seminar happen……and thanks to Microsoft IT Pro Evangelist Harold Wong, who had the idea!Remember, you can get this deck at ConcentratedTech.com/downloadAny last questions????
  • 20. Learn Windows PowerShell in a Month of LunchesAlso available: Companion DVD and Web siteMoreLunches.comRemember!You can order an autographed version today, and it’ll be shipped right to you in about a week!
  • 21. My contact informationQ&A: http://connect.ConcentratedTech.comTwitter: @concentrateddonLinkedIn: http://linkedin.com/in/concentratedDonOr send a text message containing DONJ to 50500 – you’ll get a reply with my contact info and a vCard linkPrivate On-Site Training Available – contact [email protected] pricing includes travel expenses (3-5 day classes)Get this deck from ConcentratedTech.com/downloadLook for “Jones-2011WestCoastTour.zip”
  • 22. Go forth and shell!(before v3 comes out and adds a bunch of stuff)
  • 23. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC