Windows Server 2022 & Powershell All-in-One For Dummies. Sara Perrott
Чтение книги онлайн.
Читать онлайн книгу Windows Server 2022 & Powershell All-in-One For Dummies - Sara Perrott страница 8
28 Book 5 Chapter 7FIGURE 7-1: You can enable DNSSEC on a zone by selecting Sign the Zone located ...FIGURE 7-2: Creating the KSK is simple — you can safely accept the defaults.FIGURE 7-3: Considering that the DS record is responsible for the transfer of t...FIGURE 7-4: After the zone is signed, the special DNSSEC record types will show...FIGURE 7-5: Creating a Name Resolution Policy from within Group Policy is the s...FIGURE 7-6: You need to generate the TLSA record before you can use it.FIGURE 7-7: The page generated the TLSA record and now you can install it.FIGURE 7-8: Verifying that the TLSA record was created properly is important.FIGURE 7-9: You have several encryption options for DNS traffic.FIGURE 7-10: The new DoH feature can be configured via Group Policy.
29 Book 6 Chapter 1FIGURE 1-1: Each row returned in the Get-Service
command is an object.FIGURE 1-2: Using the pipeline allows you to send the output of one command to ...FIGURE 1-3: Using the dollar sign tells the system you're working with a variab...FIGURE 1-4: You can use the cmdlet Get-Command
to find other commands even if y...FIGURE 1-5: The PowerShell ISE is a very powerful tool for writing PowerShell s...FIGURE 1-6: The Select Additional Tasks screen allows you to customize how and ...FIGURE 1-7: After VS Code is installed, you can install the PowerShell extensio...FIGURE 1-8: The PowerShell Command Explorer windows shows you PowerShell cmdlet...FIGURE 1-9: Creating an array variable and displaying an array variable are ver...FIGURE 1-10: Using a pipeline with $_
to pass on the output of the first cmdlet...FIGURE 1-11: Viewing the available modules in PowerShell gives you an idea of h...FIGURE 1-12: If you’re trying to determine whether one object matches another, ...FIGURE 1-13: Adding -
NoEnumerate
tells PowerShell to treat arrays differently t...FIGURE 1-14: The ConvertTo
-Html
cmdlet can be used to convert the output of a p...FIGURE 1-15: The output of Get-Process
is normally in a table format.FIGURE 1-16: Get-Process
formatted into a list rather than the usual table form...FIGURE 1-17: You can use Format-Wide
to nicely format and present data in table...FIGURE 1-18: Interacting with a remote server is intuitive after connecting to ...FIGURE 1-19: Updating the help pages for your PowerShell modules.FIGURE 1-20: Signing a script allows it to run even in a restrictive environmen...FIGURE 1-21: A demonstration of what you see when running an unsigned script, s...
30 Book 6 Chapter 2FIGURE 2-1: The .NET Framework expands the functionality of PowerShell greatly ...FIGURE 2-2: You can view the contents of the GAC with the Developer Command Pro...FIGURE 2-3: You need to use PowerShell to view the assembly properties in Windo...
31 Book 6 Chapter 3FIGURE 3-1: The Reference page from Microsoft’s website contains hundreds of cm...FIGURE 3-2: Checking the properties of COM objects is similar to checking the p...FIGURE 3-3: Get-
SmbShare
is a very powerful cmdlet that gives you the ability t...FIGURE 3-4: Creating a user in PowerShell is quick, and the user shows up almos...FIGURE 3-5: Running your query and having the information on the screen can be ...
32 Book 6 Chapter 4FIGURE 4-1: PowerShell Gallery is an excellent resource to download or see exam...FIGURE 4-2: Using CSV files to import data sets for scripts is a simple way to ...FIGURE 4-3: The basic anatomy of an advanced function includes [CmdletBinding()...FIGURE 4-4: Testing your function is important to do, and it’s simple from with...FIGURE 4-5: You can run your advanced function in your PowerShell console.
33 Book 6 Chapter 5FIGURE 5-1: The service name is displayed within the services.msc panel for eac...FIGURE 5-2: Checking the current settings for LCM is simple to do in PowerShell...FIGURE 5-3: Compiling the PS1 into an MOF file is done by running the PowerShel...FIGURE 5-4: The DSC script has been compiled and has been run; you can see the ...
34 Book 7 Chapter 1FIGURE 1-1: You must select a network adapter for the virtual switch to use. Yo...FIGURE 1-2: To enable live migration of VMs, select the check box to allow them...FIGURE 1-3: The menu for the host in Hyper-V Manager presents you with your con...FIGURE 1-4: NUMA Spanning can be helpful in lab and development environments wh...FIGURE 1-5: Live Migration allows virtual machines to move between hosts with n...FIGURE 1-6: Configuring a Hyper-V Replica server is a great addition to your or...FIGURE 1-7: The Virtual Switch Manager allows you to configure virtual network ...FIGURE 1-8: Hyper-V offers support for Fibre Channel SANs, which is a huge bene...
35 Book 7 Chapter 2FIGURE 2-1: Launching the New Virtual Machine Wizard.FIGURE 2-2: Selecting a virtual switch allows your virtual machine to connect o...FIGURE 2-3: To create the virtual hard disk, you specify the name, size, and lo...FIGURE 2-4: Your newly created virtual machine is listed in the Virtual Machine...FIGURE 2-5: The Firmware screen allows you to change the boot order of the devi...FIGURE 2-6: The Memory screen allows you to adjust how memory is handled by the...FIGURE 2-7: Each SCSI device has a configuration page that allows you to config...
36 Book 7 Chapter 3FIGURE 3-1: Under Connection Type, you need to select External Network and sele...FIGURE 3-2: Creating an external virtual switch requires finding the name of th...FIGURE 3-3: All your virtual switches will show up in the Virtual Switch Manage...FIGURE 3-4: To enable VLAN tagging on the virtual switch, you need to select th...FIGURE 3-5: To enable VLAN tagging on the VM, select the check box and set the ...FIGURE 3-6: Setting a maximum amount of bandwidth for a VM can prevent the VM f...FIGURE 3-7: To support NIC teaming, you must create two virtual switches connec...FIGURE 3-8: The NIC Teaming screen is where you can set up the network adapters...FIGURE 3-9: Configuring the team can be simple, or it can be a bit more advance...FIGURE 3-10: The configured NIC Team gives you the health status and statistics...FIGURE 3-11: You must enable SR-IOV on the virtual switch before you can enable...FIGURE 3-12: The option to enable SR-IOV is in the Hardware Acceleration sectio...
37 Book 7 Chapter 4FIGURE 4-1: After the disks are installed, they must be brought online and init...FIGURE 4-2: With the storage added to the server, initialized, and formatted, i...FIGURE 4-3: The default save location for my virtual hard disks is now the G:\
...FIGURE 4-4: Creating a disk in a Generation 1 VM gives you the option of an IDE...FIGURE 4-5: Expanding a disk is done by selecting Edit when the hard drive is s...FIGURE 4-6: You need to verify that you have an available disk that is showing ...FIGURE 4-7: When you select physical hard disk, the offline disk that was added...FIGURE 4-8: Converting a VHD file to a VHDX file in PowerShell involves far few...
38 Book 7 Chapter 5FIGURE 5-1: You must set up the replica server first, before you can replicate ...FIGURE 5-2: Hyper-V Replica communications need to be allowed through the firew...FIGURE 5-3: Make sure that the connection parameters match what you set on the ...FIGURE 5-4: Setting the initial replication parameters gets the replication sta...FIGURE 5-5: This message indicates that the initial replication was successful ...FIGURE 5-6: You must grant permissions on the source system for the destination...FIGURE 5-7: Live migration does not impact the uptime of the machine.FIGURE 5-8: It’s always a good idea to run the cluster validation tools to ensu...FIGURE 5-9: The failover cluster has been created and has been assigned the Hyp...FIGURE 5-10: You have several options for configuring a quorum witness.
39 Book 8 Chapter 1FIGURE 1-1: Container architecture on Windows Server involves several layers an...FIGURE 1-2: The GitHub repository where Microsoft stores examples of Dockerfile...
40 Book 8 Chapter 2FIGURE 2-1: The search box on Docker Hub makes it simple to find public contain...FIGURE 2-2: You can filter for just verified publishers in Docker Hub, which en...FIGURE 2-3: You can see how many times a container image has been pulled.FIGURE 2-4: You can get started with Docker Hub with very minimal information —...FIGURE 2-5: Your repository is empty when you