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
Two disk schemes
Basic disks
Dynamic disks
RAID 0
Strictly striping disk. No spanning.
“Fast with no insurance”
RAID 5
Striping with parity
At least 3 disks
RAID 1
Mirroring.
Storage Pools
The collection of hardware that creates the virtual drive (the “storage space”)
Thin Provisioning
“Just in time” provisioning, giving users space that doesn’t actually exist. Will appear as 100GB when it’s only 75GB
LUN
Logical Unit Number
Storage Space’s main feature
You can create your own SAN using a storage pool made up of JBODs. Can mix SSD and traditional disks.
JBODs
Just a Bunch of Disks
Thin versus Fixed provisioning
Thin = Just in time. Can define your disk larger than the actual physical capacity of the LUN. Also, space is used as needed. Can be expanded by adding disks to your pool.
Fixed provisioning – your entire space is used. Cannot be expanded.
ReFS
Resilient File System
No data de-duplication
Same NTFS permissions
Online / on the fly error correction
ReFS is meant for what
Large amounts of data. Does not repalce NTFS
Data Deduplication
Feature that saves space by storing a single copy of identical data on the volume.
PS command to create new network share
New-smbshare
Command line command to create new network share
net share
File sharing protocol over network
SMB
share versus NTFS permissions
share permissions are one dimensional. Read/Write/ Full Control. You can override these permissions by accessing locally. Share permissions always inherit based on the share permission setup.
NTFS applies over the network and locally
DACL
Discretionary Access Control List
For assigning permissions
SACL
Security Access Control List
For auditing
SID
Security access identifier
Advantages of NTFS
Granular permissions
If you have conflicting share and NTFS permissions, which is taken?
The most restrictive