Thursday, 11 January 2018

Active Directiory

AD DS Administration Tools
  • Active Directory Administration snap-ins
  • Active Directory Administrative Center
  • Active Directory module in Windows PowerShell
  • Directory Service commands

Managing User Accounts

  • Delete a user account
  • Create a new user account
  • Move the user account
  • View the WINDOWS POWERSHELL HISTORY
  • Use Windows PowerShell to manage user accounts
  • Find inactive user accounts
  • Find disabled user accounts
  • Delete disabled user account
Steps:-
     Delete a user account
  1. Sign in to LON‑DC1 as Adatum\Administrator with the password .
  2. On LON‑DC1, in Server Manager, click Tools.
  3. Click Active Directory Administrative Center.
  4. In the Active Directory Administrative Center, click Adatum (local), and then double‑click Managers.
  5. In Managers, right‑click Ed Meadows, and then click Delete.
  6. In the Delete Confirmation dialog box, click Yes.
Create a new user account
  1. In the Action pane, click New, and then click User.
  2. In the Create User dialog box, in Full name, type Ed Meadows.
  3. In User UPN logon, type Ed.
  4. In Password and Confirm password, type Password, and then click OK.

Move the user account

  1. Right‑click Ed Meadows, and then click Move.
  2. Click the IT organizational unit (OU), and then click OK.
  3. In the navigation pane, click Adatum (local).
  4. In the results pane, double‑click IT.
  5. Verify that Ed Meadow’s account is listed.

View the WINDOWS POWERSHELL HISTORY
  • If you have not already done so, maximize Active Directory Administrative Center.
  • At the bottom of the Active Directory Administrative Center window, click
  • WINDOWS POWERSHELL HISTORY to expand the history section.
a.The Remove-ADObject command and the switches used with it to delete Ed Meadows.
b.The New-ADUser command and the switches used with it to recreate Ed Meadows.
c.The additional commands used to configure the Ed Meadows account.
d.The Move-ADObject command and the switches used with it to move Ed Meadows.
Close the Active Directory Administrative Center.
Find users who have not signed in during the last 30 days
  1. On the taskbar, click the Windows PowerShell icon.
  2. To create a variable to specify the past 30 days, type the following command, and then press Enter:
$logonDate = (get‑date).AddDays(‑30)
  1. To find all the user accounts that have not signed in during the past 30 days, type the following command, and then press Enter:
Get‑ADUser ‑Filter{lastLogon ‑le $logonDate}
The results include nearly every account in the domain because most of the accounts have never signed in.

Group Types

  • Distribution groups

Used only with email applications
Not security-enabled (no SID); cannot be given permissions
  • Security groups
  • Security principal with a SID; 
  • can be given permissions
  • Can also be email-enabled

Both security groups and distribution groups can be converted to the other type of group

Tuesday, 9 January 2018

Introduction to Windows Server 2012

Windows Server 2012 R2 Editions

  • Windows Server 2012 R2 Standard
  • Windows Server 2012 R2 Datacenter
  • Windows Server 2012 R2 Foundation
  • Windows Server 2012 R2 Essentials



 What Is Server Core?
  • Is a more secure, less resource-intensive installation option
  • Can be converted to full graphical shell version of Windows Server 2012
  • Is the default installation option for Windows 
  • Server 2012
  • Is managed locally using sconfig.cmd

Windows Server 2012 Roles
  • Roles are made up of role services components that provide additional functionality associated with the role
  • In Server Manager 2012, console servers with a similar role are grouped together
  • Role deployment also includes the configuration of dependencies
What Are the Windows Server 2012 Features?
  • New Server Manager: Create, Manage Server Groups
  • Better Edition, SKU Selection
  •  A Command-Line First, GUI-Second Mentality
  • Hyper-V Replication
  • Expanded PowerShell Capabilities
  • Storage Spaces: Flipping Complexity on Its Head
  • Direct Access: A VPN Without the Pain of a VPN
  • Dynamic Access Control: New Way of Thinking
  • Resilient File System: An Evolution of NTFS
  • Out-of-the-Box IP Address Management
Installing Windows Server 2012

Windows Server 2012 has the following minimum hardware requirements:
  • Processor Architecture - 64 bit
  • Processor Speed          - 1.4 GHz
  • Memory(RAM)             - 512 MB
  • HDD Space                  - 32 GB
Windows Server 2012 deployment method options include:


What Is Server Manager?
You can use Server Manager to:
  • Manage multiple servers on a network from one console
  • Add roles and features
  • Launch Windows PowerShell sessions
  • View events
  • Perform server configuration tasks
  • Manage down-level servers