Windows Server 2016 Exam - PowerShell Commands To Know (70-740) - CertificationCenter
Windows Server 2016 Exam - PowerShell Commands To Know (70-740) - CertificationCenter
certcent.io
Here’s a short list of PS commands that you may not know now, but
they have a high likelihood of showing up on the exam:
NANOSERVER
New-NanoServerImage:
This module is imported from the Windows 2016 ISO
D:\NanoServer\NanoServerImageGenerator
\NanoServerImageGenerator.psm1
1 de 4 6/2/2020 6:20 p. m.
Windows Server 2016 Exam – PowerShell Commands to Know (70-740)... about:reader?url=http://certcent.io/index.php/2018/08/09/windows-serve...
Center Virtual
Machine Manager agent on the image specified by the TargetPath
variable.
Microsoft-NanoServer-SCVMM-Compute-Package Installs the
Hyper-V role – Can you use the -compute switch when created a
new NanoServer Image.
on the image specified by the TargetPath variable, so that is it
manageable with
Microsoft-NanoServer-NPDS-Package Installs the Network
Performance
Diagnostics Service on the image specified by the TargetPath
variable.
Microsoft-NanoServer-DCB-Package Installs Data Center
Bridging on the
image specified by the TargetPath variable.
Microsoft-NanoServer-SecureStartup-Package Installs Secure
Startup on the
image specified by the TargetPath variable.
Microsoft-NanoServer-ShieldedVM-Package Installs the
Shielded Virtual
Machine package on the image specified by the TargetPath
variable (Datacenter
edition only).
Adding a package to an existing image:
c:\nanoserver\nano1.vhdx
-packages microsoft-nanoserver-iis-package
2 de 4 6/2/2020 6:20 p. m.
Windows Server 2016 Exam – PowerShell Commands to Know (70-740)... about:reader?url=http://certcent.io/index.php/2018/08/09/windows-serve...
CLUSTERING
Move-ClusterGroup: Move a VM from one server to another
minimizing downtime. Nodes are both members of a cluster.
Convert-VHD: To use a virtual disk as a shared virtual disk for a
guest fail-over cluster.
Get-ClusterLog – View logs of cluster, e.g., server fails and you
need to identify the cause.
(Get-Cluster).AutoBalancerLevel – Change load balancing for a
cluster.
wmic ComputerSystem Set Workgroup =’workgroupb’ and
New-Cluster-Name Cluster1 -Node Server1,Server2
-AdministrativeAccessPoint DNS – Create a fail-over cluster in a
workgroup mode.
NETWORKING
Set-VMNetworkAdapter – Limit the maximum network bandwidth
available to a VM.
Set-NetQosPolicy – Use to limit traffic bandwidth between servers.
Set-VMNetworkAdapter -MacAddressSpoofing On/Off – Ensure
machines inside a nested Hyper-V can communicate with each
other
Set-VMSwitch – Ensure VMs can communicate with each other.
Add-VMNetworkAdapterAcl – resource metering of traffic to track
amount of network traffic VMs send between each other.
Storage
Set-SRPartnership – A server fails in a replica, from another
server you can ensure access is still available.
Optimize-VHD – Limit the amount of space used by a VHD.
Resize-VirtualDisk – Extend a partition in a storage pool.
Resize-IscsiVirtualDisk – change size of an iSCSI disk on a
server.
Set-SmbBandwidthLimit – Ensure that the replication between
servers is limited to a maximum of 100 Mbps.
New-SRPartnership – asynchronously replicate volumes on two
different servers.
New-NetQosPolicy – Configure replication policy between servers
3 de 4 6/2/2020 6:20 p. m.
Windows Server 2016 Exam – PowerShell Commands to Know (70-740)... about:reader?url=http://certcent.io/index.php/2018/08/09/windows-serve...
usemaximumsize | format-volume
groupname] [-readaccess
Hyper-V
Set-VMProcesser – Use to enable nested virtualization.
Export-VM, and then Import-VM – Create multiple copies of VMs
to use on a Hyper-V Host.
Set-VMHost – Ensure virtual machines use all available networks
to perform a live migration.
4 de 4 6/2/2020 6:20 p. m.