Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Automate everything with PowerShell

6,314 views

Published on

The signs are on the wall, scripting and coding is becoming increasingly important for any role in IT. PowerShell is a crucial component in your toolkit and in this session we will cover the basics of PowerShell and how you can get started and be successful, how we can secure systems running PowerShell and what benefits can it bring.

In this session Jaap will talk about what PowerShell is, the language, the console, the editors and how PowerShell came to be. Recently PowerShell has been made open source and multi-platform. We will look at what the implications are and what benefits this brings along.

As security is increasingly a more important consideration for every company, we will take a look at what capabilities PowerShell has and how we can use these tools to create a more secure scripting environment.

This session contains multiple real-world examples and applications of this technology. There will be time for questions during the session and if you have any specific PowerShell related questions that are not answered in the presentation Jaap will be available for questions all day.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Automate everything with PowerShell

  1. 1. #AllAccessIT #AllAccessIT Automate Everything with PowerShell Jaap Brasser @Jaap_Brasser
  2. 2. • Works at Rubrik • PowerShell Conference EU/Asia • Dutch PowerShell User Group • Speaker / Blogger / Tech Enthusiast @jaap_brasser jaapbrasser.com/about
  3. 3. #AllAccessIT Agenda What is PowerShell PowerShell Infrastructure PowerShell Security PowerShell Cloud PowerShell Serverless
  4. 4. #AllAccessIT Why PowerShell ???
  5. 5. New Start
  6. 6. #AllAccessIT Worth it?
  7. 7. What is PowerShell • Development started in 2001 • First released in 2006 • Was initially codenamed Monad • It is written: PowerShell • Currently at version 6
  8. 8. #AllAccessIT Components of PowerShell
  9. 9. #AllAccessIT Windows PowerShell
  10. 10. #AllAccessIT Windows PowerShell versions
  11. 11. #AllAccessIT Desired State Configuration
  12. 12. #AllAccessIT Just Enough Administration(JEA)
  13. 13. #AllAccessIT PowerShell Gallery
  14. 14. #AllAccessIT Azure PowerShell
  15. 15. #AllAccessIT PowerShell Modules
  16. 16. #AllAccessIT PowerShell, what else?
  17. 17. #AllAccessIT PowerShell Language • Verb-Noun • Get-Help, Restart-Computer, Get-ADUser • Cmdlets, Functions • Parameters • Arguments
  18. 18. #AllAccessIT#AllAccessIT Demo – PowerShell Basics
  19. 19. #AllAccessIT Version Information
  20. 20. #AllAccessIT Available commands
  21. 21. #AllAccessIT Commands - Grouped
  22. 22. #AllAccessIT Commands – Grouped & Sorted
  23. 23. #AllAccessIT Help
  24. 24. #AllAccessIT Help – in GUI
  25. 25. #AllAccessIT Show-Command
  26. 26. #AllAccessIT Get-Process
  27. 27. #AllAccessIT Get-Process | Out-Gridview
  28. 28. #AllAccessIT Get-Process | Out-Gridview | kill
  29. 29. #AllAccessIT Get-Process | Out-Gridview | kill
  30. 30. #AllAccessIT PowerShell Drives
  31. 31. #AllAccessIT .Net methods
  32. 32. #AllAccessIT Wmi Query
  33. 33. #AllAccessIT Clipboard
  34. 34. #AllAccessIT Get-ChildItem | Measure-Object
  35. 35. #AllAccessIT Get-ChildItem | Set-Clipboard
  36. 36. #AllAccessIT Demo Summary Get available commands Get-Help Show-Commands (GUI) Manipulate output Measure/Count and Group output
  37. 37. Writing scripts No Aliases Write help No one-liners Simple Code Functions Ask for help
  38. 38. Developing PowerShell scripts
  39. 39. #AllAccessIT#AllAccessIT Demo – PowerShell Infra
  40. 40. #AllAccessIT Find-Module
  41. 41. #AllAccessIT Install-Module
  42. 42. #AllAccessIT Get- RemoteProgram
  43. 43. #AllAccessIT Get-Counter
  44. 44. #AllAccessIT Enter-PSSession
  45. 45. #AllAccessIT Secure String
  46. 46. #AllAccessIT Invoke-Command
  47. 47. #AllAccessIT Demo Summary Find and Install modules Connect to a remote system Store passwords securely
  48. 48. #AllAccessIT PowerShell Remoting
  49. 49. #AllAccessIT Just Enough Administration
  50. 50. Reasons for JEA Secure PowerShell Access Reduce the amount of people that can do „everything“ See what users do on the system
  51. 51. #AllAccessIT#AllAccessIT Demo – PowerShell Security
  52. 52. #AllAccessIT Transcription Logging
  53. 53. #AllAccessIT Console Logging
  54. 54. #AllAccessIT Event Log
  55. 55. #AllAccessIT Group Policy
  56. 56. #AllAccessIT Demo Summary Different types of logging Transcription, Console, Event Log Configured by GPO or registry settings
  57. 57. #AllAccessIT The future
  58. 58. #AllAccessIT Questions? @Jaap_Brasser #AllAccessIT

×