Semper Phone


  • Improve effortlessly – just by living your life
  • Learn while waiting for your apps to load
  • Recommended by 5 universities
  • Community of over 1,000,000 learners
  • 50,000+ expert-made packs, or create your own
"One of the best learning apps" - CNET
  • Apple Play Store
  • Install Semper from the Play Store
70-410 Powershell 2

70-410 Powershell 2

Last update 

Items (87)

  • Adds one or more resource properties to a resource property list in Active Directory


  • Joins a computer to domain

    Add-Computer -DomainName

  • Adds a network adapter member to an existing switch team


  • Adds a physical disk to storage pool


  • Adds a role or feature


  • Configure-SMRemoting.exe -Enable

    Configure-SMRemoting.exe -Enable

  • Used to find out if a computer is configured for Remote Management

    Configure-SMRemoting.exe -Get

  • Enable Active Directory Recycle Bin

    Enable-ADOptionalFeature -Identity 'CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=mylab,DC=com' -Scope ForestOrConfigurationSet -Target ''

  • Enables a previously disabled firewall rule to be active within the computer or a GP OU


  • Configures the computer to receive Windows PowerShell remote commands that are sent by using the WS-Management technology


  • Establishes a PS session with a remote computer

    Enter-PSSession remote server name -credential user name

  • Returns all trusted domain objects in the directory


  • Gets one or more Active Directory users


  • List of servers that it does not respond to when the DNS server receives a query to resolve the name in any zone for which the server is authoritative


  • Gets the syntax and accepted parameters for the Install-WindowsFeature Cmdlet

    Get-Help Install-WindowsFeature

  • Gets information about IP address configuration


  • Show storage pools


  • Show virtual disks


  • Enable Hyper-V resource metering on Hyper-V host

    Get-VM -ComputerName <NAME> | Enable-VMResourceMetering

  • To get all VMs metering data

    Get-VM -ComputerName NAME | Measure-VM

  • Used to get a list of roles and features installed on a computer running Server 2012


  • Imports a GPO


  • Adds module to the current session


  • Installs New Domain


  • Installs additional DC


  • Installs new forest


  • Used to promote a server to an Active Directory Domain Controller and make that new DC responsible for a new forest

    Install-AddsForest -DomainName ""

  • Adds a role or feature

    (for remote computer add the -computer flag, as in Install-WindowsFeature <Feature> -Computer <ComputerName>

  • Installs Active Directory binaries

    Install-WindowsFeature -name AD-Domain-Services

  • Adds Migration tools

    Install-WindowsFeature Migration

  • Installs Hyper-V on remote computer

    Install-WindowsFeature -Name Hyper-V -ComputerName<name> -IncludeManagementTools -Restart

  • Installs Minimal Server Interface from Server Core

    Install-WindowsFeature Server-Gui-Mgmt-Infra

  • Switch from Server Core to Full GUI

    Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

  • Renames computer

    Netdom renamecomputer %ComputerName% /NewName: <NAME>

  • Creates a new AD group

    -Path <distinguished name>

  • Creates new AD user


  • Creates a new GPO


  • Creates a new starter GPO


  • New firewall rule


  • Configures IP address- Server Core

    New-NetIPAddress -IPAddress -InterfaceAlias "Ethernet" -DefaultGateway -PrefixLength 24

  • Creates a new SMB Quick share named Documents with the drive label D:

    New-SMBShare -Name Documents -Path D:\Shares

  • Used to create a storage pool

    New-StoragePool -FriendlyName -StorageSubSystemFriendlyName -PhysicalDisks

  • Configure Network Route for ISATAP Interface

    -Publish Yes

  • Creates a new switch team (for network traffic failover)


  • Create a Hyper-V virtual machine

    -NewVHDSizeBytes <disksize>

  • Creates a new central access policy in Active Directory containing a set of central access rules


  • Repair virtual disk


  • Resets the password for a standalone managed service account. Reset is not supported for group managed service accounts.


  • Removes physical disk from storage pool


  • Restarts a computer


  • Configure DNS address- Server Core

    Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses,

  • Replaces all names in the list of names that the DNS server does not resolve with the names that you specify (if you need to resolve name such as ISATAP or WPAD remove these names from the list).


  • Enables you to determine which Windows PowerShell scripts will be allowed to run on your computer


  • Enable Windows firewall


  • Modify existing firewall rule


  • Modifies IP address configuration properties of an existing IP address


  • Modifies IP interface properties such as in DHCP, IPv6 neighbor discovery settings, router settings, and Wake on LAN settings.


  • Modifies information about the IPv4 protocol configuration


  • Enable Remote desktop connections to the server

    *** Need to check this - Answer seems incorrect ***

  • List of roles and features installed on a computer

    Get-WindowsFeature | Where Installed

  • Replicates a single object between any two domain controllers that have partitions in common


  • Tests a managed service account from a computer


  • Demotes a domain controller

    Uninstall-ADDSDomainController -ForceRemoval -LocalAdministratorPassword <password> -Force

  • Features on Demand- removes binaries for Group Policy Management Console (can be used for any other feature).

    Uninstall-WindowsFeature -Name GPMC -Remove

  • Switch from full GUI to Server Core

    Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart (use -Remove before the restart to remove binaries)

  • Switch from Full to Minimal Server Interface; no IE, taskbar, Windows Explorer, or Control Panel

    Uninstall-WindowsFeature Server-Gui-Shell -Restart

  • Obtain the correct designations for the storage subsystem


  • Gets all storage subsystems in an unhealthy state.

    Get-StorageSubSystem -HealthStatus Unhealthy

  • Returns an array of all PhysicalDisk objects present in the computer.


  • Returns an array of PhysicalDisk objects that are available for adding to a storage pool

    Get-PhysicalDisk -CanPool $True

  • Creates a new storage pool named CompanyData using the Storage Spaces subsystem and sets default values for virtual disk creation.


  • Initializes a RAW disk for first time use, enabling the disk to be formatted and used to store data.

    Initialize-Disk -Number 1

  • This example initializes a disk using the MBR partition style

    -PartitionStyle MBR

  • Get a virtual disk with the friendly name UserData, and initialize the Disk object associated with the virtual disk.

    Get-VirtualDisk -FriendlyName UserData | Initialize-Disk -VirtualDisk

  • Create a new disk image

    [-ParentPath <pathname>]

  • Create a new virtual switch

    [-SwitchType <Internal;Private>]

  • Create computer objects in AD

    new-ADComputer -Name <computer name> -path <distinguished name>

  • Starts, stops, and suspends a service, and changes its properties.


  • Add a computer to the trusted hosts lists on the computer running server manager to manage computers that are not in the a common domain.

    Set-Item WSMan:\localhost\Client\TrustedHosts -value <servername> -force

  • Configure the memory settings for a VM

    -Buffer <percentage>

  • Create a DNS primary zone in Active Directory


  • Stops (shuts down) local and remote computers


  • Disable a user or computer account

    Disable-ADAccount -Identity <account name>

  • Enable a user or computer account

    Enable-ADAccount -Identity <account name>

  • Rename a computer


  • Create a new OU in AD


  • Installs Work Folders on a Windows Server 2012 R2 server.

    Install-WindowsFeature FS-SyncShareService