𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Windows Server automation with PowerShell cookbook : powerful ways to automate and manage Windows administrative tasks

✍ Scribed by Thomas Lee


Year
2021
Tongue
English
Leaves
675
Edition
Fourth
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Cover
Copyright
Contributors
Table of Contents
Preface
Chapter 1: Installing and Configuring PowerShell 7
Introduction
Installing PowerShell 7
Getting ready
How to do it...
How it works...
There's more...
Using the PowerShell 7 console
Getting ready
How to do it...
How it works...
There's more...
Exploring PowerShell 7 installation artifacts
Getting ready
How to do it...
How it works...
There's more...
Building PowerShell 7 profile files
Getting ready
How to do it...
How it works...
There's more...
Installing VS Code
Getting ready
How to do it...
How it works...
There's more...
Installing the Cascadia Code font
Getting ready
How to do it...
How it works...
There's more...
Exploring PSReadLine
Getting ready
How to do it...
How it works...
There's more...
Chapter 2: Introducing PowerShell 7
Introduction
Exploring new operators
Getting ready
How to do it...
How it works...
There's more...
Exploring parallel processing with ForEach-Object
Getting ready
How to do it...
How it works...
There's more...
Improvements in ForEach and ForEach-Object
Getting ready
How to do it...
How it works…
There's more...
Improvements in Test-Connection
Getting ready
How to do it...
How it works…
There's more...
Using Select-String
Getting ready
How to do it...
How it works…
There's more...
Exploring the error view and Get-Error
Getting ready
How to do it...
How it works...
There's more...
Exploring experimental features
Getting ready
How to do it...
How it works...
There's more...
Chapter 3: Exploring Compatibility with Windows PowerShell
Introduction
Module compatibility
Incompatible modules
Exploring compatibility with Windows PowerShell
Getting ready
How to do it...
How it works...
There's more...
Using the Windows PowerShell compatibility solution
Getting ready
How to do it…
How it works...
There's more...
Exploring compatibility solution limitations
Getting ready
How to do it...
How it works...
There's more...
Exploring the module deny list
Getting ready
How to do it...
How it works...
There's more...
Importing format XML
Getting ready
How to do it...
How it works...
There's more...
Leveraging compatibility
Getting ready
How to do it...
How it works...
There's more...
Chapter 4: Using PowerShell 7 in the Enterprise
Introduction
Installing RSAT tools on Windows Server
Getting ready
How to do it...
How it works...
There's more...
Exploring package management
Getting ready
How to do it...
How it works...
There's more...
Exploring PowerShellGet and the PS Gallery
Getting ready
How to do it...
How it works...
There's more...
Creating a local PowerShell repository
Getting ready
How to do it...
How it works...
There's more...
Establishing a script signing environment
Getting ready
How to do it...
How it works...
There's more...
Working with shortcuts and the PSShortcut module
Getting ready
How to do it...
How it works...
There's more...
Working with archive files
Getting ready
How to do it...
How it works...
There's more...
Chapter 5: Exploring .NET
Introduction
Exploring .NET assemblies
Getting ready
How to do it...
How it works...
There's more...
Examining .NET classes
Getting ready
How to do it...
How it works...
There's more...
Leveraging .NET methods
Getting ready
How to do it...
How it works...
There's more...
Creating a C# extension
Getting ready
How to do it...
How it works...
There's more...
Creating a PowerShell cmdlet
Getting ready
How to do it...
How it works...
There's more...
Chapter 6: Managing Active Directory
Introduction
Systems used in this chapter
Installing an AD forest root domain
Getting ready
How to do it...
How it works...
There's more...
Testing an AD installation
Getting ready
How to do it...
How it works...
There's more…
Installing a replica domain controller
Getting ready
How to do it...
How it works...
There's more...
Installing a child domain
Getting ready
How to do it...
How it works...
There's more...
Creating and managing AD users and groups
Getting ready
How to do it...
How it works...
There's more...
Managing AD computers
Getting ready
How to do it...
How it works...
There's more...
Adding users to AD using a CSV file
Getting ready
How to do it...
How it works...
There's more...
Creating Group Policy objects
Getting ready
How to do it...
How it works...
There's more...
Reporting on AD replication
Getting ready
How to do it...
How it works...
There's more...
Reporting on AD computers
Getting ready
How to do it...
How it works...
There's more...
Reporting on AD users
Getting ready
How to do it...
How it works...
There's more...
Chapter 7: Managing Networking in the Enterprise
Introduction
Configuring IP addressing
Getting ready
How to do it...
How it works...
There's more...
Testing network connectivity
Getting ready
How to do it...
How it works...
There's more...
Installing DHCP
Getting ready
How to do it...
How it works...
There's more...
Configuring DHCP scopes and options
Getting ready
How to do it...
How it works...
There's more...
Using DHCP
Getting ready
How to do it...
How it works...
There's more...
Implementing DHCP failover and load balancing
Getting ready
How to do it...
How it works...
There's more...
Deploying DNS in the Enterprise
Getting ready
How to do it...
How it works...
There's more...
Configuring DNS forwarding
Getting ready
How to do it...
How it works...
There's more...
Managing DNS zones and resource records
Getting ready
How to do it...
How it works...
There's more...
Chapter 8: Implementing Enterprise Security
Introduction
Implementing Just Enough Administration (JEA)
Getting ready
How to do it...
How it works...
There's more...
Examining Applications and Services Logs
Getting ready
How to do it...
How it works...
There's more...
Discovering logon events in the event log
Getting ready
How to do it...
How it works...
There's more...
Deploying PowerShell group policies
Getting ready
How to do it...
How it works...
There's more...
Using PowerShell Script Block Logging
Getting ready
How to do it...
How it works...
There's more...
Configuring AD password policies
Getting ready
How to do it...
How it works...
There's more...
Managing Windows Defender Antivirus
Getting ready
How to do it...
How it works...
There's more...
Chapter 9: Managing Storage
Introduction
Managing physical disks and volumes
Getting ready
How to do it...
How it works...
There's more...
Managing filesystems
Getting ready
How to do it...
How it works...
There's more...
Exploring providers and the FileSystem provider
Getting ready
How to do it...
How it works...
There's more...
Managing Storage Replica
Getting ready
How to do it...
How it works...
There's more...
Deploying Storage Spaces
Getting ready
How to do it...
How it works...
There's more...
Chapter 10: Managing Shared Data
Introduction
Managing NTFS file and folder permissions
Getting ready
How to do it...
How it works...
There's more...
Setting up and securing an SMB file server
Getting ready
How to do it…
How it works…
There's more...
Creating and securing SMB shares
Getting ready
How to do it...
How it works...
There's more...
Accessing SMB shares
Getting ready
How to do it...
How it works...
There's more...
Creating an iSCSI target
Getting ready
How to do it...
How it works...
There's more...
Using an iSCSI target
Getting ready
How to do it...
How it works...
There's more...
Implementing FSRM quotas
Getting ready
How to do it...
How it works...
There's more...
Implementing FSRM reporting
Getting ready
How to do it...
How it works...
There's more...
Implementing FSRM file screening
Getting ready
How to do it...
How it works...
There's more...
Chapter 11: Managing Printing
Introduction
Installing and sharing printers
Getting ready
How to do it...
How it works...
There's more...
Publishing a printer
Getting ready
How to do it...
How it works...
There's more...
Changing the spooler directory
Getting ready
How to do it...
How it works...
There's more...
Changing printer drivers
Getting ready
How to do it...
How it works...
There's more…
Printing a test page
Getting ready
How to do it...
How it works...
There's more...
Managing printer security
Getting ready
How to do it...
How it works...
There's more...
Creating a printer pool
Getting ready
How to do it...
How it works...
There's more...
Chapter 12: Managing Hyper-V
Introduction
Installing Hyper-V inside Windows Server
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a Hyper-V VM
Getting ready
How to do it...
How it works...
There's more...
Using PowerShell Direct
Getting ready
How to do it...
How it works...
There's more...
Using Hyper-V VM groups
Getting ready
How to do it...
How it works...
There's more...
Configuring VM hardware
Getting ready
How to do it...
How it works...
There's more...
Configuring VM networking
Getting ready
How to do it...
How it works...
There's more...
Implementing nested virtualization
Getting ready
How to do it...
How it works...
There's more...
Managing VM state
Getting ready
How to do it...
How it works...
There's more...
Managing VM and storage movement
Getting ready
How to do it...
How it works...
There's more...
Managing VM replication
Getting ready
How to do it...
How it works...
There's more...
Managing VM checkpoints
Getting ready
How to do it...
How it works...
There's more...
Chapter 13: Managing Azure
Introduction
Getting started using Azure with PowerShell
Getting ready
How to do it...
How it works...
There's more...
Creating Azure resources
Getting ready
How to do it...
How it works...
There's more...
Exploring the Azure storage account
Getting ready
How to do it...
How it works...
There's more...
Creating an Azure SMB file share
Getting ready
How to do it...
How it works...
There's more...
Creating an Azure website
Getting ready
How to do it...
How it works...
There's more...
Creating an Azure Virtual Machine
Getting ready
How to do it...
How it works...
There's more...
Chapter 14: Troubleshooting with PowerShell
Introduction
Using PowerShell Script Analyzer
Getting ready
How to do it...
How it works...
There's more...
Using Best Practices Analyzer
Getting ready
How to do it...
How it works...
There's more...
Network troubleshooting
Getting ready
How to do it...
How it works...
There's more...
Checking network connectivity using Get-NetView
Getting ready
How to do it...
How it works...
There's more...
Exploring PowerShell script debugging
Getting ready
How to do it...
How it works...
There's more...
Chapter 15: Managing with Windows Management Instrumentation
Introduction
WMI architecture
Exploring WMI in Windows
Getting ready
How to do it...
How it works...
There's more...
Exploring WMI namespaces
Getting ready
How to do it...
How it works...
There's more...
Exploring WMI classes
Getting ready
How to do it...
How it works...
There's more...
Obtaining local and remote WMI objects
Getting ready
How to do it...
How it works...
There's more...
Using WMI methods
Getting ready
How to do it...
How it works...
There's more...
Managing WMI events
Getting ready
How to do it...
How it works...
There's more...
Implementing permanent WMI eventing
Getting ready
How to do it...
How it works...
There's more...
Packtpage
Other Books You May Enjoy
Index


πŸ“œ SIMILAR VOLUMES


Windows Server Automation with PowerShel
✍ Thomas Lee πŸ“‚ Library πŸ“… 2021 πŸ› Packt Publishing 🌐 English

<p><b>Over 100 PowerShell recipes for working more effectively with Windows Server 2022/2019</b></p><h4>Key Features</h4><ul><li>Develop a holistic understanding of Windows Server 2022/2019 with PowerShell 7.1</li><li>Learn best practices for PowerShell scripting to automate common tasks and manage

Windows Server Automation with PowerShel
✍ Thomas Lee πŸ“‚ Library πŸ“… 2023 πŸ› Packt Publishing 🌐 English

<p><span>Use over 100 PowerShell 7.2 recipes to deepen your understanding of Windows Server 2022 and see how to automate common administrative tasks with ease</span></p><p><span>Purchase of the print or Kindle book includes a free eBook in PDF format</span></p><h4><span>Key Features</span></h4><ul><

Windows Server Automation with PowerShel
✍ Thomas Lee πŸ“‚ Library πŸ› Packt Publishing 🌐 English

<p><span>Use over 100 PowerShell 7.2 recipes to deepen your understanding of Windows Server 2022 and see how to automate common administrative tasks with ease</span></p><p><span>Purchase of the print or Kindle book includes a free eBook in PDF format</span></p><h4><span>Key Features</span></h4><ul><

Windows Server 2012 Automation with Powe
✍ Ed Goad πŸ“‚ Library πŸ“… 2013 πŸ› Packt Publishing 🌐 English

Automating server tasks allows administrators to repeatedly perform the same, or similar, tasks over and over again. With PowerShell scripts, you can automate server tasks and reduce manual input, allowing you to focus on more important tasks. Windows Server 2012 Automation with PowerShell Cookbook