Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Windows Server 2016 Automation with PowerShell Cookbook
Windows Server 2016 Automation with PowerShell Cookbook

Windows Server 2016 Automation with PowerShell Cookbook: Powerful ways to automate and manage Windows administrative tasks , Second Edition

eBook
$35.99 $51.99
Paperback
$65.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Windows Server 2016 Automation with PowerShell Cookbook

Implementing Nano Server

This chapter contains the following recipes:

  • Deploying a Nano Server in a VM
  • Connecting to and managing a Nano Server
  • Installing features with Nano Server packages

Introduction

Nano Server is a new installation mode of Windows Server 2016. It is a minimal implementation of Windows Server with no desktop, and no default features or services. Nano Server has a minimal disk, memory, and CPU footprint to reduce attack surface and patching requirements.

Deploying a Nano Server in a VM

Deploying a Nano Server is a simple and customizable process. This recipe focuses on the most straightforward implementation which is deploying a Nano Server in a virtual machine. With Nano Server you have several customization options:

  • Network address: By default, Nano Server uses DHCP to acquire an IP address. You can configure the IP address, subnet, gateway, and DNS both before or after deployment.
  • Domain membership: By default, Nano Server is not domain joined. You can configure domain membership both before or after deployment.

As this book was going to press, Microsoft has announced that, going forward, Nano Server is only available as a container base OS image. Refer to: https://docs.microsoft.com/en-us/windows-server/get-started/nano-in-semi-annual-channel for more information.

...

Connecting to and managing a Nano Server

Nano Server is designed to be managed remotely without the use of remote desktop services or local console access. You can connect directly to your Nano Server or use other tools to carry out management functions.

Nano Server lacks a desktop experience and remote desktop capability. You use the Nano Server Recovery Console to do some basic network management and to view operating system information. You perform most configuration and management remotely.

Perhaps the simplest way to connect to and configure virtual machines (VMs) is for you to use PowerShell Direct, a new feature introduced in Windows Server 2016. PowerShell Direct enables PowerShell remoting to VMs via the hypervisor instead of using the network, without the need to access the recovery console or configure networking for the VM.

...

Installing features with Nano Server packages

Nano Server is a minimal implementation of a Windows Server 2016. You can customize it to include only the desired features and roles you require. You customize Nano Servers using the PackageManagement module along with the NanoServerPackage provider. The NanoServerPackage provider can search, download, or install packages that implement features and roles for Nano Server from an online gallery. This provider enables you to install useful server features and roles which you will explore in this recipe.

In Nano Server, packages replace the Add Roles & Features functionality in other editions of Windows. For example, if you need a web server, in other editions of Windows you would install the Web Server (IIS) role, but in Nano server, you would install the Microsoft-NanoServer-IIS-Package package. Instead of installing...

Left arrow icon Right arrow icon

Key benefits

  • •Automate Windows server tasks with the powerful features of the PowerShell Language
  • •Master new features such as DevOps, containers, and Nano servers, and speed up their performance using PowerShell
  • •Improve PowerShell's usability, and control and manage Windows-based environments by working through inviting recipes

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.

Who is this book for?

If you are a systems administrator, engineer, or an architect working with Windows Server 2016 and want to automate tasks with PowerShell, then this book is for you. A basic knowledge of PowerShell is expected.

What you will learn

  • Things 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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 21, 2017
Length: 660 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787126404
Vendor :
Microsoft
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 21, 2017
Length: 660 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787126404
Vendor :
Microsoft
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 163.97
Learning PowerShell DSC
$48.99
Mastering Windows PowerShell Scripting (Second Edition)
$48.99
Windows Server 2016 Automation with PowerShell Cookbook
$65.99
Total $ 163.97 Stars icon
Banner background image

Table of Contents

13 Chapters
What's New in PowerShell and Windows Server Chevron down icon Chevron up icon
Implementing Nano Server Chevron down icon Chevron up icon
Managing Windows Updates Chevron down icon Chevron up icon
Managing Printers Chevron down icon Chevron up icon
Managing Server Backup Chevron down icon Chevron up icon
Managing Performance Chevron down icon Chevron up icon
Troubleshooting Windows Server 2016 Chevron down icon Chevron up icon
Managing Windows Networking Services Chevron down icon Chevron up icon
Managing Network Shares Chevron down icon Chevron up icon
Managing Internet Information Server Chevron down icon Chevron up icon
Managing Hyper-V Chevron down icon Chevron up icon
Managing Azure Chevron down icon Chevron up icon
Using Desired State Configuration Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.7
(7 Ratings)
5 star 71.4%
4 star 28.6%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Bill Anderson Aug 02, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good book.
Amazon Verified review Amazon
L. LYONS Apr 04, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
When it comes to Powershell, Thomas Lee is among the best out there. Having had a hand in actually creating the Powershell syntax, and also responsible for several training sessions I've had the pleasure to attend, I had great expectations of this book. I was NOT disappointed.I know the basics in Powershell, and have started to create my own scripts. However, because I don't have a programming background, my syntax leaves a LOT to be desired.After reading some of Thomas' examples, and working through his logic, I started to see my own shortcomings and have gone back to refine the scripts I created and because of the skills I learned from Thomas, my management think I look good!There are other authors out there, who also know their stuff. But why go to the Rest, when you can learn from the Best?
Amazon Verified review Amazon
Joseph Feb 29, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Must have for work
Amazon Verified review Amazon
Joseph Faries II Oct 19, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good book
Amazon Verified review Amazon
Michel HEINRICHS Jan 15, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Impeccable
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.