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
Getting Started with Nano Server

You're reading from   Getting Started with Nano Server Automate multiple VMs and transform your datacenter

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781782175223
Length 406 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Charbel Nemnom Charbel Nemnom
Author Profile Icon Charbel Nemnom
Charbel Nemnom
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to Nano Server 2. Getting Started with Nano Server FREE CHAPTER 3. Deploying Nano Server in a Virtual Machine and on Physical Hardware 4. Deploying Hyper-V Cluster on Nano Server 5. Deploying, Managing, and Monitoring Nano Server with System Center 2016 6. Managing Nano Server with Windows PowerShell and Windows PowerShell DSC 7. Managing Nano Server with Third-Party Tools 8. Running Windows Server Containers and Hyper-V Containers on Nano Server 9. Troubleshooting Nano Server 10. Running Other Workloads on the Nano Server

Enabling access to Nano Server event logs


In the last section on troubleshooting a Nano Server installation, we will dive into how to enable and access Nano Server event logs.

To access the Event Logs on Nano Server that are located under the following path: C:\Windows\system32\winevt\Logs, you need to enable the following Windows firewall rules on Nano Server:

  • Windows management instrumentation (DCOM-In)
  • Windows management instrumentation (WMI-In)
  • Windows management instrumentation (WMI-Out)

On your management machine, open an elevated PowerShell console, and create a new PowerShell remoting session to the Nano Server. If you still have your PowerShell prompt open from the previous section, you can use the existing $Session variable:

$NanoIP = "172.16.20.185"

$NanoCred = Get-Credential ~\Administrator

$Session = New-PSSession -ComputerName $NanoIP -Credential $NanoCred

Next, run the following command to enable the three firewall rules mentioned previously:

Invoke-Command -Session $Session -ScriptBlock...
lock icon The rest of the chapter is locked
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