Windows Server Classroom Notes – 26/Oct/2019

Windows Servers

  • UseCases:

    • Active Directory
    • Exchange Servers
    • DNS Servers
    • SQL Servers
    • IIS Servers
    • Windows Docker Containers
  • Scripting:

    • Batch Scripting:
      • executed from Windows DOS (Command) prompt
    • PowerShell Scripting:
      • Executed from Powershell

Lab Setup

  • Windows 2016 Server Datacenter Edition: UI Edition of Server
  • Windows 2016 Server Nano Edition: CLI Edition of Server

Terms

  • Process:
    • Any Running application needs system resources, Windows creates the Process for running applications and allocates the system resources.
    • Every Process has unique Id (PID)
  • Windows Service:
    • Processes created by Windows, They run in the background
    • Launch run command and use services.msc
  • Event Logs:
    • Run command (Windows+r) and enter eventvwr
    • All the System Logs are stored here
    • Some Applications might use this as the primary logging mechanism.
  • Registry:
    • Key Value Database used by windows and custom applications
    • Run command and enter regedit
  • Environment Variables:
    • System Level Environment Variables
    • User Level Environment Variables
    • PATH: Folders where windows searches when you run any command
  • Server Manager:
    • Controller for installing Server Components
    • It is one place for Administration

PowerShell

  • Already Pre-Installed by Microsoft.
  • To know version of Powershell, Execute
$PSVersionTable

Cmd-Lets

  • Syntax: Verb-Noun
  • Examples:
Get-Process
Get-Items
New-Item
Delete-Item
  • Searching-Cmdlets:
Get-Command '*-Processs'
Get-Help 'Get-Processes' -Online

PowerShell DSC (Desired State Configuration)

  • DSC helps you maintain the state

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner