Vous êtes sur la page 1sur 3

10/20/2014 70-410 Installing and Configuring Windows Server 2012: PowerShell commands for the MCSA 70-410 Microsoft

the MCSA 70-410 Microsoft Exam


More NextBlog CreateBlog SignIn

70-410 Installing and Configuring Windows Server 2012


Study material for the 70410 exam.

Thursday, July 25, 2013 About Me

Emaly House
PowerShell commands for the MCSA 70410 Microsoft My name is Emaly House and I work as a
Exam Server Administrator. Currently I am
pursuing MCSA certification for Windows
Here are some PowerShell cmdlets I have put together. I didn't have much luck finding any study Server 2012 and I hope to eventually
material for this exam so I put together a list. Some commands I got from watching CBT Nuggets become a MCSE for Private Cloud. I started
with James Conrad and others are from practice tests I have done. Hopefully, they will help you this blog to provide and share valuable information about
the 70410 Microsoft exam, hopefully you will find it useful.
during your studies for the 70410 exam. Em
View my complete profile

Followers Previous Blogs


Cmdlet Description
Add-ADCentralAccessPolicyMember Adds central access rules to a central access policy in Jointhissite 2013 (5)
Active Directory with Google Friend July (5)
Add-ADgroupmember PhoenixAdmins PhoenixAdmin01, Add members to group Connect 70410 Exam Grade
PhoenixAdmin02
Add-ADResourcePropertyListMember Members(24) More
Adds one or more resource properties to a resource Skills Measured for
property list in Active Directory the MCSA 70410
Add-Computer DomainName domainname.com Joins a computer to domain Exam
Add-NetSwitchTeamMember Adds a network adapter member to an existing switch team MCSA 70410
Add-PhysicalDisk Adds a physical disk to storage pool
PowerShell
Add-WindowsFeature Adds a role or feature
commands for the
MCSA 70410
Configure-SMRemoting.exe Enable Used to configure a computer running Windows Server Microsoft ...
2012 for Remote Management
Configure-SMRemoting.exe Get Used to find out if a computer is configured for Remote Practice Questions
Management for the 70410
Enable-ADOptionalFeature Identity CN=Recycle Bin Enable Active Directory Recycle Bin Alreadyamember?Signin

Feature,CN=Optional Features,CN=Directory
Service,CN=Windows
NT,CN=Services,CN=Configuration,DC=nuggetlab,DC=com
Scope ForestOrConfigurationSet Target domain.com
Enable-NetFirewallRule Enables a previously disabled firewall rule to be active
within the computer or a GP OU
Enable-PSRemoting Configures the computer to receive Windows PowerShell
remote commands that are sent by using the WS-
Management technology
Enter-PSSession remote server name -credential user name Establishes a PS session with a remote computer

Get-ADTrust Returns all trusted domain objects in the directory


Get-ADUser Gets one or more Active Directory users
Get-DNSServerGlobalQueryBlockList 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
Get-Help Install-WindowsFeature Gets the syntax and accepted parameters for the Install-
WindowsFeature Cmdlet
Get-NetIPAddress Gets information about IP address configuration
Get-StoragePool Show storage pools
Get-VirtualDisk Show virtual disks
Get-VM ComputerName <NAME> | Enable- Enable Hyper-V resource metering on Hyper-V host
VMResourceMetering
Get-VM ComputerName NAME | Measure-VM To get all VMs metering data
Get-WindowsFeature Used to get a list of roles and features installed on a
computer running Server 2012
Import-GPO Imports a GPO
Import-Module Adds module to the current session
Install-ADDSDomain Installs New Domain
Install-ADDSDomainController Installs additional DC
Install-ADDSForest Installs new forest
Install-AddsForest DomainName example.com Used to promote a server to an Active Directory Domain
Controller and make that new DC responsible for a new
forest
Install-WindowsFeature Adds a role or feature
(for remote computer add the computer flag, as in Install-
WindowsFeature <Feature> -Computer <ComputerName>

http://mcsa-70-410.blogspot.com/2013/07/powershell-commands-for-mcsa-70-410.html 1/5
10/20/2014 70-410 Installing and Configuring Windows Server 2012: PowerShell commands for the MCSA 70-410 Microsoft Exam
Install-WindowsFeature name AD-Domain-Services Installs Active Directory binaries

Install-WindowsFeature Migration Adds Migration tools

Install-WindowsFeature Name Hyper-V ComputerName<name> Installs Hyper-V on remote computer


-IncludeManagementTools -Restart

Install-WindowsFeature Server-Gui-Mgmt-Infra Installs Minimal Server Interface from Server Core

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell Switch from Server Core to Full GUI


Restart

Netdom renamecomputer %ComputerName% /NewName: Renames computer


<NewComputerName>

New-ADGroup (with appropriate flags) Creates a new AD group

New-ADUser Creates new AD user

New-GPO Creates a new GPO

New-GPStarterGPO Creates a new starter GPO

New-NetFirewallRule New firewall rule

New-NetIPAddress IPAddress 10.10.10.73 InterfaceAlias Configures IP address- Server Core


Ethernet DefaultGateway 10.10.10.1 PrefixLength 24

New-SMBShare Name Documents Path D:\Shares Creates a new SMB Quick share named Documents with
the drive label D:

New-StoragePool FriendlyName Used to create a storage pool


StorageSubSystemFriendlyName PhysicalDisks

New-NetRoute InterfaceIndex 13 DestinationPrefix 2001:ABCD: Configure Network Route for ISATAP Interface
/64 Publish Yes

New-NetSwitchTeam Creates a new switch team (for network traffic failover)

New-VM Name VMNAME MemoryStartupBytes <memory> - Create a Hyper-V virtual machine


NewVHDSizeBytes <disksize>

Remove-ADCentralAccessPolicy Creates a new central access policy in Active Directory


containing a set of central access rules
Repair-VirtualDisk Repair virtual disk
Reset-ADServiceAccountPassword Resets the password for a standalone managed service
account. Reset is not supported for group managed service
accounts.
Reset-PhysicalDisk Removes physical disk from storage pool
Restart-Computer Restarts a computer
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" - Configure DNS address- Server Core
ServerAddresses 10.10.10.70, 10.10.10.1
Set-DNSServerGlobalQueryBlockList 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).
Set-ExecutionPolicy Enables you to determine which Windows PowerShell
scripts will be allowed to run on your computer
Set-NetFirewallProfile Enable Windows firewall
Set-NetFirewallRule Modify existing firewall rule
Set-NetIPAddress Modifies IP address configuration properties of an existing
IP address
Set-NetIPInterface Modifies IP interface properties such as in DHCP, IPv6
neighbor discovery settings, router settings, and Wake on
LAN settings.
Set-NetIPv4Protocol Modifies information about the IPv4 protocol
configuration
Set-RemoteDesktop Enable Enable Remote desktop connections to the server
Show-WindowsFeatures List of roles and features installed on a computer
Sync-ADObject Replicates a single object between any two domain
controllers that have partitions in common
Test-ADServiceAccount Tests a managed service account from a computer
Uninstall-ADDSDomainController ForceRemoval Demotes a domain controller
LocalAdministratorPassword <password> -Force

Uninstall-WindowsFeature Name GPMC Vhd path Remove Features on Demand- removes binaries for Group Policy
Management Console (can be used for any other feature).

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui- Switch from full GUI to Server Core

http://mcsa-70-410.blogspot.com/2013/07/powershell-commands-for-mcsa-70-410.html 2/5
10/20/2014 70-410 Installing and Configuring Windows Server 2012: PowerShell commands for the MCSA 70-410 Microsoft Exam
Shell Restart (use Remove before the restart to remove binaries)

Uninstall-WindowsFeature Server-Gui-Shell Restart Switch from Full to Minimal Server Interface; no IE,
taskbar, Windows Explorer, or Control Panel

Posted by Emaly House at 7:14 AM

+10 Recommend this on Google

Labels: 70410, 70410 Exam, MCSA, Microsoft Certification, Microsoft Exams, PowerShell

20 comments:

Unknown October 9, 2013 at 5:40 AM

Thanks, I was having a hard time searching for this!


Reply

gandm Davidson October 23, 2013 at 3:29 AM


Thanks Emaly, looks very helpful for the exam.

Reply

William Brodie October 26, 2013 at 7:49 AM

Thanks!

Reply

nguyenhp1 October 28, 2013 at 7:41 AM

Thanks for posting!!!


Reply

Michel Caron December 1, 2013 at 4:32 PM


Thank you!

Reply

Jerowe Ragudo January 22, 2014 at 8:22 PM

Thank you so much!


Reply

Gamiseme Tor January 30, 2014 at 2:45 AM


you are doing the lords work

Reply

Wahidullah Hamidi April 2, 2014 at 12:25 AM

Thanks for posting the power shell cheat sheet, it is really helpful,

Reply

Hannes Van der Merwe April 28, 2014 at 10:21 AM


Thanks so much this is widely appreciated! :)

Reply

Lee Barton April 29, 2014 at 1:54 AM

Thanks Em. Very concise :)

Reply

Caio Man May 6, 2014 at 7:22 AM

Very Good !! Thanks

Reply

http://mcsa-70-410.blogspot.com/2013/07/powershell-commands-for-mcsa-70-410.html 3/5

Vous aimerez peut-être aussi