70-410 Installing and Management Flashcards
To enable Server Manager remote management by using Windows PowerShell
- On the computer that you want to manage remotely, do one of the following to open a Windows PowerShell session with elevated user rights. ○ On the Windows desktop, right-clickWindows PowerShellon the taskbar, and then clickRun as Administrator. ○ On the WindowsStartscreen, right-clickWindows PowerShell, and then on the app bar, clickRun as Administrator. 2. Type the following, and then pressEnterto enable all required firewall rule exceptions.Configure-SMRemoting.exe -enable
Installing Minimal Server Interface
You need to select the Graphical Management Tools and Infrastructure check box and clear the Desktop Experience and Server Graphical Shell check boxes.
Configure Remote Management in Server Manager
To manage servers that are running Windows Server 2012, Windows Server 2008 R2, or Windows Server 2008 by using Server Manager in Windows Server 2012 R2, apply the following updates to the older operating systems.
.NET Framework 4.5
Windows Management Framework 4.0. The
Configure Remote Management in Server Manager using cmd
Run the following executable file.
%windir%\system32\Configure-SMRemoting.exe
Do one of the following:
To enable remote management, type Configure-SMRemoting.exe -enable, and then press Enter.
To view the current remote management setting, type Configure-SMRemoting.exe -get, and then press ENTER.
Djoin
Provisions a computer account in a domain and requests an offline domain join when a computer restarts. For examples of how you can use this command, seeExamples.
Exe
djoin /provision /domain contoso.com /machine computer1 /savefile offlinedomainjoin.txt
Add-computer
Add the local computer to a domain or workgroup.
Set-ADGroup
he Identity parameter specifies the Active Directory group to modify. You can identify a group by its distinguished name (DN), GUID, security identifier (SID) or Security Accounts Manager (SAM) account name. You can also set the Identity parameter to an object variable such as $, or you can pass a group object through the pipeline to the Identity parameter. For example, you can use the Get-ADGroup cmdlet to retrieve a group object and then pass the object through the pipeline to the Set-ADGroup cmdlet.
Set-ADAccountControl
Disable enable account
The Set-ADAccountControl cmdlet modifies the user account control (UAC) values for an Active Directory user or computer account. UAC values are represented by cmdlet parameters. For example, set the PasswordExpired parameter to change whether an account is expired and to modify the ADS_UF_PASSWORD_EXPIRED UAC value.
Rename-Computer
RENAME-COMPUTER –computername MININT-123 –newname CONTOSO-FS
Add-ADComputerServiceAccount
Adds one or more service accounts to an Active Directory computer.
Add-ADGroupMember
Adds one or more members to an Active Directory group.
Set-ADUser
PasswordNeverExpires,Enabled
Set-ADComputer
Enabled
New-ADUser
Creates a new Active Directory user.
Get-ADDomain
Get-ADComputer
Get-ADUser
Get-ADDomain
Get-ADComputer
Get-ADUser