Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Enterprise PowerShell Scripting Bootcamp

You're reading from   Enterprise PowerShell Scripting Bootcamp The fastest way to learn PowerShell scripting

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787288287
Length 238 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Brenton J.W. Blawat Brenton J.W. Blawat
Author Profile Icon Brenton J.W. Blawat
Brenton J.W. Blawat
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Getting Started with Enterprise PowerShell Scripting FREE CHAPTER 2. Script Structure, Comment Blocks, and Script Logging 3. Working with Answer Files 4. String Encryption and Decryption 5. Interacting with Services, Processes, Profiles, and Logged on Users 6. Evaluating 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. Overall Script Workflow, Termination Files, and Merging Data Results 13. Creating the Windows Server Scanning Script and Post-Execution Cleanup Index

Windows server scanning script

There can be times in large enterprises where you need to determine the functionality of systems. If you don't have large asset management software, you will need the ability to perform a discovery. This book was designed to provide a significant jumpstart for the creation of a Windows server scanning script. The script takes into consideration the limitations of Windows components and provides extremely detailed information about systems.

Some of the items that you will be scanning for include:

  • Disk configuration: You will be able to query the disk layout for a particular system and determine device type, drive letters, free space, and total disk size.
  • Scheduled task scanning: You will discover the scheduled tasks that are not running as built-in accounts, providing visibility into non-standard configurations.
  • Windows processes: You will identify the Windows processes on the system to determine what processes are running with alternate user credentials. This will help identify systems that have service accounts for process execution.
  • Windows services: You will review the Windows services on the system to discover what services are not running as built-in accounts. This will further identify service account usage in your enterprise.
  • Installed software: You will learn how to safely scan a system for software to identify software titles installed on a system.
  • User profiles: You will evaluate all of the user profiles created on a system to determine the last login usernames and times. This will help identify teams that own the management of the servers.
  • Windows features: You will determine the installed Windows features and roles on a system to help identify what role the server has in your enterprise.
  • Scanning files: You will scan individual files on a system for strings. This provides the ability to identify items such as user credentials and configured server names.

This script is designed to provide a robust platform to scan your enterprise. Variations of this script have been used in multiple Fortune 500 companies and executed on well over 10,000 systems. The chapters in this book have been designed to enable you to quickly learn the core components to integrate this PowerShell tool into your personal repository.

You have been reading a chapter from
Enterprise PowerShell Scripting Bootcamp
Published in: May 2017
Publisher: Packt
ISBN-13: 9781787288287
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime