Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

Over 100 recipes to help you leverage PowerShell to automate Windows Server 2016 manual tasks
Preview in Mapt
Code Files

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition

Thomas Lee

1 customer reviews
Over 100 recipes to help you leverage PowerShell to automate Windows Server 2016 manual tasks
Mapt Subscription
FREE
$29.99/m after trial
eBook
$33.60
RRP $47.99
Save 29%
Print + eBook
$59.99
RRP $59.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$33.60
$59.99
$29.99p/m after trial
RRP $47.99
RRP $59.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Windows Server 2016 Automation with PowerShell Cookbook - Second Edition Book Cover
Windows Server 2016 Automation with PowerShell Cookbook - Second Edition
$ 47.99
$ 33.60
Windows Server 2012 Automation with PowerShell Cookbook Book Cover
Windows Server 2012 Automation with PowerShell Cookbook
$ 32.99
$ 23.10
Buy 2 for $35.00
Save $45.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781787122048
Paperback660 pages

Book Description

This book showcases several ways that Windows administrators can use to automate and streamline their job. You'll start with the PowerShell and Windows Server fundamentals, where you'll become well versed with PowerShell and Windows Server features.

In the next module, Core Windows Server 2016, you'll implement Nano Server, manage Windows updates, and implement troubleshooting and server inventories. You'll then move on to the Networking module, where you'll manage Windows network services and network shares.

The last module covers Azure and DSC, where you will use Azure on PowerShell and DSC to easily maintain Windows servers.

Table of Contents

Chapter 1: What's New in PowerShell and Windows Server
Introduction
Exploring Remote Server Administration Tools (RSAT)
Discovering new cmdlets in PowerShell 4 and Windows Server 2012 R2
Discovering new cmdlets in PowerShell 5/5.1 and Windows Server 2016
Exploring PowerShellGet
Exploring PackageManagement
Creating an internal PowerShell repository
Chapter 2: Implementing Nano Server
Introduction
Deploying a Nano Server in a VM
Connecting to and managing a Nano Server
Installing features with Nano Server packages
Chapter 3: Managing Windows Updates
Introduction
Installing Windows Server Update Services
Configuring WSUS update synchronization
Configuring the Windows Update client
Creating computer target groups
Configuring WSUS auto-approvals
Managing updates
Chapter 4: Managing Printers
Introduction
Installing and sharing printers
Publishing a printer
Changing the spool directory
Changing printer drivers
Printing a test page on a printer
Reporting on printer security
Modifying printer security
Deploying shared printers
Enabling Branch Office Direct Printing
Creating a printer pool
Reporting on printer usage
Chapter 5: Managing Server Backup
Introduction
Configure and set backup policy
Examine the results of a backup
Initiate a backup manually
Restore files and folders
Backup and restore a Hyper-V Virtual Machine
Backup and perform bare metal recovery
Restore the registry from a backup
Create a daily backup report
Backup and restore using Microsoft Azure
Chapter 6: Managing Performance
Introduction
Explore performance counters with Get-Counter
Explore performance counters using CIM cmdlets
Configuring and using Data Collector Sets
Reporting on performance data
Generating performance monitoring graph
Creating a system diagnostics report
Chapter 7: Troubleshooting Windows Server 2016
Introduction
Checking network connectivity
Using troubleshooting packs
Use best practice analyzer
Managing event logs
Forward event logs to a central server
Chapter 8: Managing Windows Networking Services
Introduction
New ways to do old things
Configuring IP addressing
Converting IP address from static to DHCP
Installing domain controllers and DNS
Configuring zones and resource records in DNS
Installing and authorizing a DHCP server
Configuring DHCP scopes
Configuring DHCP server failover and load balancing
Building a public key infrastructure
Creating and managing AD users, groups, and computers
Adding users to AD using a CSV file
Reporting on AD users
Finding expired computers in AD
Creating a privileged user report
Chapter 9: Managing Network Shares
Introduction
Securing your SMB file server
Creating and securing SMB shares
Accessing SMB shares
Creating an iSCSI target
Using an iSCSI target
Creating a scale-out SMB file server
Configuring a DFS Namespace
Configuring DFS Replication
Chapter 10: Managing Internet Information Server
Introduction
Installing IIS
Configuring IIS for SSL
Managing TLS cipher suites
Configuring a central certificate store
Configuring IIS bindings
Configuring IIS logging and log files
Managing applications and application pools
Managing and monitoring network load balancing
Chapter 11: Managing Hyper-V
Introduction
Installing and configuring Hyper-V feature
Using Windows PowerShell Direct
Securing Hyper-V host
Create a virtual machine
Configuring VM hardware
Configuring Hyper-V networking
Implementing nested Hyper-V
Managing VM state
Configuring VM and storage movement
Configuring VM replication
Managing VM checkpoints
Monitoring Hyper-V utilization and performance
Creating a Hyper-V health report
Chapter 12: Managing Azure
Introduction
Using PowerShell with Azure
Creating Core Azure Resources
Exploring your storage account
Creating Azure an SMB File Share
Creating and using websites
Creating and using Azure virtual machines
Chapter 13: Using Desired State Configuration
Introduction
Using DSC and built-in resources
Parameterizing DSC configuration
Finding and installing DSC resources
Using DSC with PSGallery resources
Configuring Local Configuration Manager
Implementing a SMB pull server
Implementing a DSC web-based pull server
Using DSC partial configurations

What You Will Learn

  • Streamline routine administration processes
  • Improve the performance and storage of your Windows server with enhanced large-scale PowerShell scripts
  • Use DSC to leverage Windows server features
  • Generate automatic reports that highlight unexpected changes in your environment
  • Monitor performance and report on system utilization using detailed graphs and analysis
  • Create and manage a reliable and redundant Hyper-V environment
  • Manage your enterprise's patch level
  • Utilize multiple tools and protocols to manage your environment

Authors

Table of Contents

Chapter 1: What's New in PowerShell and Windows Server
Introduction
Exploring Remote Server Administration Tools (RSAT)
Discovering new cmdlets in PowerShell 4 and Windows Server 2012 R2
Discovering new cmdlets in PowerShell 5/5.1 and Windows Server 2016
Exploring PowerShellGet
Exploring PackageManagement
Creating an internal PowerShell repository
Chapter 2: Implementing Nano Server
Introduction
Deploying a Nano Server in a VM
Connecting to and managing a Nano Server
Installing features with Nano Server packages
Chapter 3: Managing Windows Updates
Introduction
Installing Windows Server Update Services
Configuring WSUS update synchronization
Configuring the Windows Update client
Creating computer target groups
Configuring WSUS auto-approvals
Managing updates
Chapter 4: Managing Printers
Introduction
Installing and sharing printers
Publishing a printer
Changing the spool directory
Changing printer drivers
Printing a test page on a printer
Reporting on printer security
Modifying printer security
Deploying shared printers
Enabling Branch Office Direct Printing
Creating a printer pool
Reporting on printer usage
Chapter 5: Managing Server Backup
Introduction
Configure and set backup policy
Examine the results of a backup
Initiate a backup manually
Restore files and folders
Backup and restore a Hyper-V Virtual Machine
Backup and perform bare metal recovery
Restore the registry from a backup
Create a daily backup report
Backup and restore using Microsoft Azure
Chapter 6: Managing Performance
Introduction
Explore performance counters with Get-Counter
Explore performance counters using CIM cmdlets
Configuring and using Data Collector Sets
Reporting on performance data
Generating performance monitoring graph
Creating a system diagnostics report
Chapter 7: Troubleshooting Windows Server 2016
Introduction
Checking network connectivity
Using troubleshooting packs
Use best practice analyzer
Managing event logs
Forward event logs to a central server
Chapter 8: Managing Windows Networking Services
Introduction
New ways to do old things
Configuring IP addressing
Converting IP address from static to DHCP
Installing domain controllers and DNS
Configuring zones and resource records in DNS
Installing and authorizing a DHCP server
Configuring DHCP scopes
Configuring DHCP server failover and load balancing
Building a public key infrastructure
Creating and managing AD users, groups, and computers
Adding users to AD using a CSV file
Reporting on AD users
Finding expired computers in AD
Creating a privileged user report
Chapter 9: Managing Network Shares
Introduction
Securing your SMB file server
Creating and securing SMB shares
Accessing SMB shares
Creating an iSCSI target
Using an iSCSI target
Creating a scale-out SMB file server
Configuring a DFS Namespace
Configuring DFS Replication
Chapter 10: Managing Internet Information Server
Introduction
Installing IIS
Configuring IIS for SSL
Managing TLS cipher suites
Configuring a central certificate store
Configuring IIS bindings
Configuring IIS logging and log files
Managing applications and application pools
Managing and monitoring network load balancing
Chapter 11: Managing Hyper-V
Introduction
Installing and configuring Hyper-V feature
Using Windows PowerShell Direct
Securing Hyper-V host
Create a virtual machine
Configuring VM hardware
Configuring Hyper-V networking
Implementing nested Hyper-V
Managing VM state
Configuring VM and storage movement
Configuring VM replication
Managing VM checkpoints
Monitoring Hyper-V utilization and performance
Creating a Hyper-V health report
Chapter 12: Managing Azure
Introduction
Using PowerShell with Azure
Creating Core Azure Resources
Exploring your storage account
Creating Azure an SMB File Share
Creating and using websites
Creating and using Azure virtual machines
Chapter 13: Using Desired State Configuration
Introduction
Using DSC and built-in resources
Parameterizing DSC configuration
Finding and installing DSC resources
Using DSC with PSGallery resources
Configuring Local Configuration Manager
Implementing a SMB pull server
Implementing a DSC web-based pull server
Using DSC partial configurations

Book Details

ISBN 139781787122048
Paperback660 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Windows Server 2012 Automation with PowerShell Cookbook Book Cover
Windows Server 2012 Automation with PowerShell Cookbook
$ 32.99
$ 23.10
Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition Book Cover
Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition
$ 47.99
$ 33.60
Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition Book Cover
Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition
$ 35.99
$ 25.20
Windows PowerShell for .NET Developers - Second Edition Book Cover
Windows PowerShell for .NET Developers - Second Edition
$ 39.99
$ 28.00
Microsoft Exchange Server PowerShell Cookbook - Third Edition Book Cover
Microsoft Exchange Server PowerShell Cookbook - Third Edition
$ 47.99
$ 33.60
SQL Server 2014 with PowerShell v5 Cookbook Book Cover
SQL Server 2014 with PowerShell v5 Cookbook
$ 47.99
$ 33.60