<div> <h3>Key Features</h3> <ul><li>Understand expressions and variables and how to use them practically</li> <li>Familiarize yourself with the various text filtering tools available in Linux</li> <li>A fast-paced and concise guide that gets you well versed with linux shell scripting.</li></ul>
Enterprise PowerShell Scripting Bootcamp
โ Scribed by Brenton J.W. Blawat
- Tongue
- English
- Leaves
- 238
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Table of Contents
Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: Getting Started with Enterprise PowerShell Scripting
Windows server scanning script
Performance considerations
PowerShell scripting templates
Summary
Chapter 2: Script Structure, Comment Blocks, and Script Logging
Overall script structure
Comment blocks
Script logging
Creating the logging files
Creating a windows event log source
Creating the logging function
Summary
Chapter 3: Working with Answer Files
Answer files
XML answer files
Reading XML answer files
XML tag function
Summary
Chapter 4: String Encryption and Decryption
RijndaelManaged encryption
Creating random salt, initialization vector, and passwords
Encrypting and decrypting strings
Decrypting strings
Securing the password
Decryption with encoded password
Summary
Chapter 5: Interacting with Services, Processes, Profiles, and Logged on Users
Windows services
Managing Windows processes
Identifying logged on users
User profiles
Summary
Chapter 6: Evaluating Scheduled Tasks
Scheduled tasks
Identifying scheduled tasks running as alternate users
Summary
Chapter 7: Determining Disk Statistics
Disk statistics
Retrieving physical and logical disk information
The DriveType property
Converting disk space to MB and GB
Free Space property
Disk information script
Summary
Chapter 8: Windows Features and Installed Software Detection
Windows features
Installed software detection
Scanning executables in \Program Files
Summary
Chapter 9: File Scanning
File scanning
Excluding long paths
Excluding files
Summary
Chapter 10: Optimizing Script Execution Speed
Script execution speed
Speed considerations for the write-host cmdlet
Speed considerations for the write-progress cmdlet
Speed consideration - switches versus if statements
Summary
Chapter 11: Improving Performance by Using Regular Expressions
Using regular expressions
Dynamically building expressions
Implementating regular expression performance
Summary
Chapter 12: Overall Script Workflow, Termination Files, and Merging Data Results
Windows server scanning script overview
Pre-script security
Script 1 - randomized password and string generator
Script 2 - string encryption script
XML answer file creation
PowerShell script 3 - the termination files
PowerShell script 4 - merging the scanning script result data
Summary
Chapter 13: Creating the Windows Server Scanning Script and Post-Execution Cleanup
Windows server scanning script creation
Comment block
Parameter block
Answer file reading function
Decryption function
Populating script answers in variables and arrays
Creating the log files and logging function
Creating a termination function
Multiple Windows server scanning script functions
Scheduled tasks function
Windows processes function
Windows services function
Installed software function
User profiles function
Windows features function
Scan files and folders function
Invoking the functions
Running the script
Performing script cleanup
Summary
Index
๐ SIMILAR VOLUMES
Key Features Understand expressions and variables and how to use them practically Familiarize yourself with the various text filtering tools available in Linux A fast-paced and concise guide that gets you well versed with linux shell scripting. Book Description Linux Shell Scripting Bootcamp is
PowerShell scripts provides a convenient method for automating tasks, using them proficiently can be challenging. This all-inclusive guide begins at the basics and covers advanced concepts, equipping you with tips to become an expert in PowerShell Core 7.3 scripting.