Session 2 Flashcards
DSC
Desired State Configuration – PowerShell feature / technique
What is the extension for PowerShell?
PS1 and PS2 for version 1 and 2
Syntax for PowerShell is what
Verb - Noun syntax
PowerShell ISE
PowerShell Integrated Scripting Editor
Command to list windows features
get-windowsfeature
Command to uninstall anything with xps in its name
get-windowsfeature xps | uninstall-windowsfeature
What PS command will run a mof file?
start-dscconfiguration
partition
division (physical, logical) on a disk.
What editions support failover clustering?
Standard
Datacenter
Advantage of partitioning
Segment data
Dual boot
two types of partitions
MBR
GPT
MBR
Master boot record. One sector (512 bytes) with all (up to 4) partition information. Must create an extended partition if you wish to move beyond that.
Max size is 2TB
GPT
GUID Partition Table
Can support far more partitions
What kind of firmware is required to boot to GPT disks?
UEFI / EFI firmware (As opposed to the original BIOS)
Extensible Firmware Interface
Max size of GPT
18 EB
What partition should windows recovery environement be one?
A partition other than windows.
Describe Generation 1 VM bios
Emulating the legacy BIOS, which contains..
- -IDE controllers
- -Legacy network adapters
- -Serial ports
- -Floppy disk
Describe Generation 2 VM bios
No support for legacy BIOS.
Booting from UEFI / EFI emulation, not BIOS.
Secure Boot
Enforces boot policy to protect boot files to ensure they have not been tampered with..
Only available with UEFI / EFI, which exists for Gen 2 VMs
how to tell what bios / uefi you’re on?
Check out BIOS mode in System summary
run -> msinfo32
Which partition is the boot files located?
System partition (I know, right?)
Which partition is the system files located?
Boot partition (I know, right?)
BCD
Boot configuration data
Registry hive with data read by BOOTMGR to provide user with boot options (like which partition to boot to)
Tool used to edit the BCD
Command line: bcdedit