Deploying and Maintaining Server Images Flashcards

1
Q

How do you install WDS via PowerShell?

A

Install-WindowsFeature -Name “WDS” -IncludeAllSubFeature -IncludeManagementTools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is needed to install WDS?

A
  1. WDS is installed on a DC or Member Server
  2. There is an active DHCP Server on the Network
  3. There is an Active DNS Server on your Network
  4. NTFS File System Partition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What is an Install Image?
  2. What is a Boot Image?
  3. What is a Capture Image
  4. What is a Discover Boot Image?
A
  1. This is a boot.WIM file that contains all the different Editions of a Windows OS (i.e. 2012R2 - Server Standard Core, Server Standard, Server Data Center Core, Server Data Center)
  2. Boot images are used to boot computers before the install image is loaged. It holds the minimal operating system (Windows PE that is sent to the client when it first connects tot he WDS server
  3. They’re are custom images.
  4. Discover image can be used for computers that are not PXE compliant. That means that those computer cannot boot off the network. Discover image first has to be manually created on the WDS server, after which we can transfer it to external media such as CD, DVD or USB drive. Then we can use that media to boot up the computer into the discover image, which will then allow us to connect to the WDS server over the network.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What properties can you configure from PXE Response tab?

A
  • The PXE Response Policy
    • Do not response to any client computers
    • Respond only to know client computers
    • Respond to all client computers (Known and unknow)
      • Option to Require Administrator approval for unknown computers
  • PXE Response Delay
    • How quickly this server responds to clients
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What properties can you configure from the AD DS Tab?

A
  • The format for the client Name
    • You can create a custom formating so that all computers join the network with a specified naming schema
  • Computer Account Location
    • Where the Computer is placed in the Directory
      • Same Domain as the WDS Server
      • Same Domain as the user performing the install
      • Same OU as the user performing the install
      • The following location:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What properties can you configure from the Boot Tab?

A
  • PXE Boot Policy
    • The behavior for Known Clients
      • Require the user to press F12
      • Always continue the PXE Boot
      • Continue the PXE Boot unless the user presses the ESC key
      • Never Continue the PXE Boot
    • The behavior for unknown Clients
      • Require the user to press F12
      • Always continue the PXE Boot
      • Continue the PXE Boot unless the user presses the ESC key \
      • Never Continue the PXE Boot
  • Default Boot image based on Architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What properties can you configure from the Client Tab?

A
  • Unattend file isntallation based on architecture
  • Do not join the client to a domain after install
  • Enable Client Logging
    • Select a logging level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What properties can you configure from the DHCP Tab?

A

This is for if WDS is also on a DHCP Server

  • Do Not listen on DHCP Ports
  • Configure DHCP options to indicate that this is also a PXE Server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What properties can you configure from the Multicast Tab?

A
  • You can specifiy the IP Address obtainment
    • Option IP Address from DHCP
    • Use addresses from the following range:
  • Transfer Settings
    • Keep all multicast clients in a session at the same speed
    • Separate clients into three sessions (slow, medium, fast)
    • Separate clients into two sessions (slow and fast)
    • Automatically disconnect clients below the defined speed: (Default 256 )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the PowerShell CmdLet Do?

Add-AppxProvisionedPackage

A

Adds an app package (.appx) that will install for each new user to a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the PowerShell CmdLet Do?

Add-WindowsDriver

What does the following Switches do:

  1. -Recurse
  2. -ForceUnsiged
A

Adds a driver to an offline Windows image.

  1. Includes all subfolders when searching for drivers to add.
  2. Adds unsigned drivers to an x64 image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the PowerShell CmdLet Do?

Add-WindowsImage

A

Adds an additional image to an existing image (.wim) file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the PowerShell CmdLet Do?

Add-WindowsPackage

What do the following Switches do:

  1. -Online
  2. -PreventPending
  3. -IgnoreCheck
A

Adds a single .cab or .msu file to a Windows image.

  1. Specifies that the action is to be taken on the operating system that is currently running on the local computer.
  2. Skips the installation of the package if the package or Windows image has pending online actions (i.e. a Restart)
  3. Skips the applicability check for each package
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the PowerShell CmdLet Do?

Clear-WindowsCorruptMountPoint

A

Deletes all of the resources associated with a mounted image that has been corrupted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the PowerShell CmdLet Do?

Disable-WindowsOptionalFeature

A

Disables a feature in a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the PowerShell CmdLet Do?

Dismount-WindowsImage

A

Dismounts a Windows image from the directory it is mapped to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does the PowerShell CmdLet Do?

Enable-WindowsOptionalFeature

A

Enables a feature in a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the PowerShell CmdLet Do?

Expand-WindowsImage

A

Applies an image to a specified location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does the PowerShell CmdLet Do?

Export-WindowsImage

A

Exports a copy of the specified image to another image file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What does the PowerShell CmdLet Do?

Get-AppxProvisionedPackage

A

Gets information about app packages (.appx) in an image that will be installed for each new user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What does the PowerShell CmdLet Do?

Get-WindowsDriver

A

Displays information about drivers in a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does the PowerShell CmdLet Do?

Get-WindowsEdition

A

Gets edition information about a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What does the PowerShell CmdLet Do?

Get-WindowsImage

A

Gets information about a Windows image in a WIM or VHD file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does the PowerShell CmdLet Do?

Get-WindowsImageContent

A

Displays a list of the files and folders in a specified image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What does the PowerShell CmdLet Do?

Get-WindowsOptionalFeature

A

Gets information about optional features in a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What does the PowerShell CmdLet Do?

Get-WindowsPackage

A

Gets information about packages in a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What does the PowerShell CmdLet Do?

Mount-WindowsImage

A

Mounts a Windows image in a WIM or VHD file to a directory on the local computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What does the PowerShell CmdLet Do?

New-WindowsImage

A

Captures an image of a drive to a new WIM file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What does the PowerShell CmdLet Do?

Remove-AppxProvisionedPackage

A

Removes an app package (.appx) from a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

What does the PowerShell CmdLet Do?

Remove-WindowsDriver

A

Removes a driver from an offline Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What does the PowerShell CmdLet Do?

Remove-WindowsImage

A

Deletes the specified volume image from a WIM file that has multiple volume images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

What does the PowerShell CmdLet Do?

Remove-WindowsPackage

A

Removes a package from a Windows image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

What does the PowerShell CmdLet Do?

Repair-WindowsImage

A

Repairs a Windows image in a WIM or VHD file.

34
Q

What does the PowerShell CmdLet Do?

Save-WindowsImage

A

Applies changes made to a mounted image to its WIM or VHD file.

35
Q

What does the PowerShell CmdLet Do?

Set-AppXProvisionedDataFile

A

Adds custom data into the specified app (.appx) package that has been provisioned in a Windows image.

36
Q

What does the PowerShell CmdLet Do?

Set-WindowsEdition

A

Changes a Windows image to a higher edition.

37
Q

What does the PowerShell CmdLet Do?

Set-WindowsProductKey

A

Sets the product key for the Windows image.

38
Q

What does the PowerShell CmdLet Do?

Split-WindowsImage

A

Splits an existing .wim file into multiple read-only split .wim files.

39
Q

What does the PowerShell CmdLet Do?

Use-WindowsUnattend

A

Applies an unattended answer file to a Windows image.

40
Q

How do you mount and add drivers to an image using DISM?

A
  1. Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows Drive” /MountDir:C:\test\offline
  2. Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
  3. Dism /Unmount-Image /MountDir:C:\test\offline /Commit
41
Q

How do you update a image with patches or hotfixes:

  1. via PowerShell?
A
  1. Run the following cmdlets:
    1. Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
    2. Add-WindowsPackage -Path “c:\offline” -PackagePath “c:\packages\demo_package.msu”
    3. Dismount-WindowsImage -Path “c:\offline” -Save
42
Q

How do you add Drives to an Image offline:

  1. via PowerShell?
A
  1. Run the following cmdlets:
    1. Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
    2. Add-WindowsDriver -Path “c:\offline” -Driver “c:\test\drivers”
    3. Dismount-WindowsImage -Path “c:\offline” -Save
43
Q

How do you install features (TFTP) for an offline image:

  1. PowerShell
A
  1. Run the following cmdlets:
    1. Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
    2. Enable-WindowsOptionalFeature -Path “c:\offline” -FeatureName “TFTP”
    3. Dismount-WindowsImage -Path “c:\offline” -Save
44
Q

What does the following PowerShell CmdLet Do?

Add-WdsDriverPackage

A

Adds an existing driver package to a driver group or injects it into a boot image.

45
Q

What does the following PowerShell CmdLet Do?

Approve-WdsClient

A

Approves clients.

46
Q

What does the following PowerShell CmdLet Do?

Copy-WdsInstallImage

A

Copies install images within an image group.

47
Q

What does the following PowerShell CmdLet Do?

Deny-WdsClient

A

Denies approval for clients.

48
Q

What does the following PowerShell CmdLet Do?

Disable-WdsBootImage

A

Disables a boot image.

49
Q

What does the following PowerShell CmdLet Do?

Disable-WdsDriverPackage

A

Disables a driver package in the Windows Deployment Services driver store.

50
Q

What does the following PowerShell CmdLet Do?

Disable-WdsInstallImage

A

Disables an install image.

51
Q

What does the following PowerShell CmdLet Do?

Disconnect-WdsMulticastClient

A

Disconnects a multicast client from a transmission or namespace.

52
Q

What does the following PowerShell CmdLet Do?

Enable-WdsBootImage

A

Enables a boot image.

53
Q

What does the following PowerShell CmdLet Do?

Enable-WdsDriverPackage

A

Enables a driver package in the Windows Deployment Services driver store.

54
Q

What does the following PowerShell CmdLet Do?

Enable-WdsInstallImage

A

Enables an install image.

55
Q

What does the following PowerShell CmdLet Do?

Export-WdsBootImage

A

Exports an existing boot image from an image store.

56
Q

What does the following PowerShell CmdLet Do?

Export-WdsInstallImage

A

Exports an existing install image from an image store.

57
Q

What does the following PowerShell CmdLet Do?

Get-WdsBootImage

A

Gets properties of boot images from the image store.

58
Q

What does the following PowerShell CmdLet Do?

Get-WdsClient

A

Gets client devices from the pending device database, or pre-staged devices from Active Directory or the standalone server device database.

59
Q

What does the following PowerShell CmdLet Do?

Get-WdsDriverPackage

A

Gets properties of driver packages from the Windows Deployment Services driver store.

60
Q

What does the following PowerShell CmdLet Do?

Get-WdsInstallImage

A

Gets properties of install images from an image store.

61
Q

What does the following PowerShell CmdLet Do?

Get-WdsInstallImageGroup

A

Gets properties of install image groups.

62
Q

What does the following PowerShell CmdLet Do?

Get-WdsMulticastClient

A

Gets a list of clients connected to a multicast transmission or namespace.

63
Q

What does the following PowerShell CmdLet Do?

Import-WdsBootImage

A

Imports a boot image to the image store.

64
Q

What does the following PowerShell CmdLet Do?

Import-WdsDriverPackage

A

Imports a driver package into the Windows Deployment Services driver store.

65
Q

What does the following PowerShell CmdLet Do?

Import-WdsInstallImage

A

Imports an install image to an image store.

66
Q

What does the following PowerShell CmdLet Do?

New-WdsClient

A

Creates a pre-staged client.

67
Q

What does the following PowerShell CmdLet Do?

New-WdsInstallImageGroup

A

Creates an install image group.

68
Q

What does the following PowerShell CmdLet Do?

Remove-WdsBootImage

A

Removes a boot image from the image store.

69
Q

What does the following PowerShell CmdLet Do?

Remove-WdsClient

A

Removes a pre-staged client from AD DS or the stand-alone server device database, or clears the Pending Devices database.

70
Q

What does the following PowerShell CmdLet Do?

Remove-WdsDriverPackage

A

Removes a driver package from a driver group or removes it from all driver groups and deletes it.

71
Q

What does the following PowerShell CmdLet Do?

Remove-WdsInstallImage

A

Removes an install image from an image store.

72
Q

What does the following PowerShell CmdLet Do?

Remove-WdsInstallImageGroup

A

Removes an install image group.

73
Q

What does the following PowerShell CmdLet Do?

Set-WdsBootImage

A

Modifies settings of a boot image.

74
Q

What does the following PowerShell CmdLet Do?

Set-WdsClient

A

Modifies a pre-staged client device.

75
Q

What does the following PowerShell CmdLet Do?

Set-WdsInstallImage

A

Modifies the properties of an install image.

76
Q

What does the following PowerShell CmdLet Do?

Set-WdsInstallImageGroup

A

Modifies the name and access permissions of an install image group.

77
Q

How do you add a Message for the Auto Add Policy:

  1. PowerShell
  2. CMD
A
    1. WDSUTIL /Set-Server /AutoAddPolicy /Message:“The Adatum administrator is authorizing this request. Please wait.”
78
Q

How do you add a Drive Package to WDS?

A
  1. Import-WdsDriverPackage -path C:\windows\Driver.inf
79
Q

How do you update a image with patches or hotfixes via CMD?

A
  1. Run the following:
    1. Dism /Mount-Image /ImageFile:”C:\Images\install.wim” /Index:1 /MountDir:C:\mount\Windows
    2. Dism /Add-Package /Image:C:\mount\Windows /PackagePath:C:\MSU\Windows8.1-KBxxxxxxx-x64.msu /LogPath:AddPackage.log
    3. Dism /Unmount-Image /MountDir:C:\mount\Windows /Commit
80
Q

How do you add Drives to an Image offline: via CMD?

A
  1. Run the following cmds:
    1. Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows Drive” /MountDir:C:\test\offline
    2. Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
    3. Dism /Unmount-Image /MountDir:C:\test\offline /Commit
81
Q

How do you install features (TFTP) for an offline image using CMD

A
  1. Run the following cmds
    1. DISM /Mount-Image /ImageFile:C:\RemoteInstall\Install.wim /MountDir:C:\Temp /Index:1
    2. DISM /Image:C:\Temp /Get-Features
    3. DISM /Image:C:\Temp /FeatureName:TFTP /All
    4. Dism /Unmount-Image /MountDir:C:\Temp /Commit