E-book details

Enterprise PowerShell Scripting Bootcamp. The fastest way to learn PowerShell scripting

Enterprise PowerShell Scripting Bootcamp. The fastest way to learn PowerShell scripting

Brenton J.W. Blawat

Ebook
Enterprise PowerShell Scripting Bootcamp explains how to create your own repeatable PowerShell scripting framework. This framework contains script logging methodologies, answer file interactions, and string encryption and decryption strategies.

This book focuses on evaluating individual components to identify the system’s function, role, and unique characteristics. To do this, you will leverage built-in CMDlets and Windows Management Instrumentation (WMI) to explore Windows services, Windows processes, Windows features, scheduled tasks, and disk statistics. You will also create custom functions to perform a deep search for specific strings in files and evaluate installed software through executable properties.

We will then discuss different scripting techniques to improve the efficiency of scripts. By leveraging several small changes to your code, you can increase the execution performance by over 130%.

By the end of this book, you will be able to tie all of the concepts together in a PowerShell-based Windows server scanning script. This discovery script will be able to scan a Windows server to identify a multitude of components.
  • 1. Getting Started with PowerShell Scripting
  • 2. Synopsis and Script Logging creation
  • 3. Working with Answer Files and Exclusion Lists
  • 4. String Encryption and Decryption
  • 5. Interacting with Services, Processes, Profiles, and Logged on Users
  • 6. Scheduled Tasks
  • 7. Determining Disk Statistics
  • 8. Windows Features and Installed Software Detection
  • 9. File Scanning
  • 10. Optimizing Script Execution Speed
  • 11. Improving performance by using Regular Expressions
  • 12. Creating the Windows Server Scanning Script
  • 13. Merging Data Results, creating a Termination File, and Script Cleanup
  • Title: Enterprise PowerShell Scripting Bootcamp. The fastest way to learn PowerShell scripting
  • Author: Brenton J.W. Blawat
  • Original title: Enterprise PowerShell Scripting Bootcamp. The fastest way to learn PowerShell scripting
  • ISBN: 9781787281158, 9781787281158
  • Date of issue: 2017-05-18
  • Format: Ebook
  • Item ID: e_15je
  • Publisher: Packt Publishing