Configuring
Windows
Server 2019
Module 2
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 1
Learning Objectives
After completing this module, you should be able to:
• Use Server Manager to monitor and manage Windows Server
systems
• Configure server hardware devices
• Use the System File Checker and Sigverif to verify system files
• Configure key Windows Server components within Control Panel
and Device Manager
• Identify the components, features, and usage of Windows
PowerShell
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 2
Working with Server Manager
• Used to monitor and manage several different Windows Server systems
• Server Manager Dashboard panes
− Dashboard section at the top
− Welcome to Server Manager pane
− Roles and Server Groups pane
• Dashboard uses various colors and icons
• Additional Server Manager panes
− Events, Services, Best Practices Analyzer, Performance, Roles and Features
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 3
Adding Roles and Features Using Server
Manager
• Three different ways to add roles and features within Server Manager
− Selecting Add roles and features from the Welcome to Server Manager pane
within the Dashboard section
− Selecting Add Roles and Features from the Manage menu
− Selecting Add Roles and Features from the Tasks menu within the Roles and
Features pane for a server or server role
• Starting the installation of a role is the same for all three methods
− Use the Add Roles and Features Wizard
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 4
Configuring Server Hardware Devices
• Many types of hardware devices
• Plug and Play (PnP)
− Operating system works with hardware devices to automatically detect and
configure recently installed hardware to work with the operating system
• Simple PnP device installation process
− Attach device
− Wait for Windows Server 2019 to detect it
− Install appropriate device drivers
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 5
Adding Hardware Using Control Panel
• Devices and Printers utility
− Force the operating system to detect and install new PnP hardware
− Install non-PnP hardware
− Troubleshoot problems you might be having with existing hardware
• Start Devices and Printers utility from the Control Panel
− Two views: Category view or Classic view
• Sample tasks
− Add device, display device, troubleshoot device
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 6
Using Device Manager
• Device Manager shows all devices on the system
• Open Device Manager from Control Panel to update a device driver
− Generic or Unknown devices require updated drivers for full functionality
− PnP hardware resource must be considered to prevent conflicts
Interrupt Request (IRQ) line, Input/Output (I/O) address, reserved
memory range
• Can check for a resource conflict and examine other device properties
− Device Properties box has four tabs to review
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 7
Verifying System Files
• System file signatures can become invalid
− Overwritten, corrupted, modified by malware
• System File Checker
− Scans system files for integrity
− Replaces damaged or overwritten files with the proper version
• File Signature Verification tool (Sigverif)
− A scan-only tool that determines if files have a signature
− Output written to a log file called [Link]
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 8
Configuring Windows Settings
• Configurable elements of the operating system
− Startup and recovery options
− Power options
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 9
Configuring Performance Options
• Configuring file caching
• File caching turned on by default
− Speeds up the time it takes to read from or write to a disk
• Flushing
− Freeing memory used for cached data after data written to disk
• Can turn off caching and flushing to easily hot swap a drive
− Server can seem slower to users
− May lose data during hot swap while the server is in use
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 10
Configuring Power Options
• Power options that can be set
− Select a power plan
− Choose what the power button does
− Create a power plan
− Choose when to turn off the display
• Three power plans
− Balanced, Power saver, and High performance
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 11
Working with Windows PowerShell
• Supports MS-DOS shell output redirection (>>) and command chaining (;)
• Most commands run within PowerShell will consist of cmdlets
• Piping (|) sends information between cmdlets to build more complex commands
or filters output to display only the desired output
• Many cmdlets options
− –whatif, –confirm, -verbose, -debug, -erroraction
• PowerShell supports special navigation keys and key combinations
• PowerShell’s features provide additional functionality or increase efficiency
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 12
Working with Windows PowerShell
• Customizing Windows PowerShell sessions
− Change Windows PowerShell session’s look or how it is executed
− Provide specific options to the PowerShell command
− Creating a PowerShell console file that has a .psc1 extension
• Aliases and functions
− Alias is a command shortcut that makes navigating and using Windows
PowerShell easier
− Functions can execute multiple cmdlets
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 13
Working with Windows PowerShell
• PowerShell profile scripts
− Alias and function commands placed in a PowerShell profile script
− Automatically executed every time Windows PowerShell started for the user
− Must first enable script execution before making the script
− Edit PowerShell profile using the command notepad $profile within
PowerShell
• Modifying command output
− Pipe output, -recurse option, Sort-Object, Group-Object,
ConvertTo-HTML, Export-CSV
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 14
System Administration Commands
• PowerShell can be used for many tasks
− Post-installation tasks
− View, install, and remove Windows roles and features
− Configure and troubleshoot the network and configure firewall settings
− Manage services and processes
− Perform remote administration of computers within a domain environment
• Cmdlets allow an administrator to specify the computer name for a task
• Can execute a PowerShell script on several computers within a domain
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 15
Working with Windows PowerShell
Table 2-1: Cmdlets
that can be used
with any
PowerShell
provider
Cmdlet Alias DOS UNIX/Linux Description
Get-Location gl,pwd pwd ls Display current directory/
location
Set-Location sl,cd,chdir cd,chdir cd Change current directory/
location
Copy-Item cpi,copy,cp copy cp Copy files/items from one
location to another
Remove-Item ri,del del rm Remove file/item
Move-Item mi,move,mv move mv Move file/item
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 16
Working with Windows PowerShell
Table 2-1: Cmdlets
that can be used
with any
PowerShell
provider
Cmdlet Alias DOS UNIX/Linux Description
Rename-Item ren,rni rn mv Rename file/item
New-Item ni Create new file/item
Clear-Item cli Clears the contents of a file/
item
Set-Item si Sets the contents of a file/
item
Get-Content gc,type,cat type cat Views the contents of a file/
item
Eckert/triOS College, Hands-On Microsoft Windows Server, 3rd Edition. ©2021 Cengage. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole
or in part. 17