Similar documents
You Should Be Using PowerShell Aaron Kaiser Senior Technology Support Specialist Parkway School District

Active Directory Commands ( )

WHITE PAPER BT Sync, the alternative for DirSync during Migrations

Active Directory Deployment and Management Enhancements

Active Directory Friday: All Articles. Jaap Brasser

The following gives an overview of LDAP from a user's perspective.

Introduction Installing and Configuring the LDAP Server Configuring Yealink IP Phones Using LDAP Phonebook...

HOW TO: Customise the style of the display name in Active Directory Users and Computers and the GAL

Migrating application users and passwords with Password Manager

Automatic Deployment and Authentication Guide

Step-by-Step Guide to Active Directory Bulk Import and Export

Steps to setup authentication and enrolment through LDAP protocol

SPHOL300 Synchronizing Profile Pictures from On-Premises AD to SharePoint Online

Step-by-Step Guide to Bulk Import and Export to Active Directory

Module 4: Implementing User, Group, and Computer Accounts

Windows Server 2003 Administration Part 1 Lab Manual Presented by

WELCOME TO TECH IMMERSION

LDAP/Active Directory Guide. Release 4.0

HELP DOCUMENTATION UMRA REFERENCE GUIDE

LAB 1: Installing Active Directory Federation Services

How To Authenticate On An Xtma On A Pc Or Mac Or Ipad (For A Mac) On A Network With A Password Protected (For An Ipad) On An Ipa Or Ipa (For Mac) With A Log

EVERYTHING LDAP. Gabriella Davis

Deploying and Managing Active Directory with Windows PowerShell

ShoreTel Active Directory Import Application

Using VBScript to Automate User and Group Administration

[MS-FSADSA]: Active Directory Search Authorization Protocol Specification

KACE Appliance LDAP Reference Guide V1.4

Module 4. Managing Groups. Contents: Lesson 1: Overview of Groups 4-3. Lesson 2: Administer Groups Lab A: Administer Groups 4-36

PowerShell 3.0 Advanced Administration Handbook

Z-Term V4 Administration Guide

1 JiJi AD Bulk Manager User Manual. JiJi AD Bulk Manager - User Manual

Cloudwork Dashboard User Manual

Active Directory LDAP Quota and Admin account authentication and management

Active Directory Sync (AD) How it Works in WhosOnLocation

ActiveRoles Management Shell for Active Directory

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Identity Management in Quercus. CampusIT_QUERCUS

5/13/2009. Dejan Foro Speaker

LDAP Directory Integration with Cisco Unity Connection

Your Question. Article: Question: How do I Configure LDAP with Net Report?

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain MOC 6425

Course 6425C: Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

PGP Desktop LDAP Enterprise Enrollment

ShoreTel Active Directory Import Application

Integrating PISTON OPENSTACK 3.0 with Microsoft Active Directory

Novell Identity Manager

6425C: Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Citrix EasyCall Gateway Pre-Installation Checklist

Avaya Aura System Manager 6.2 LDAP Directory Synchronization Whitepaper

6425C - Windows Server 2008 R2 Active Directory Domain Services

Windows Server 2008 R2: What's New in Active Directory

AD Ou structure generated by Adsync process

Configuring and Troubleshooting Windows 2008 Active Directory Domain Services

Configure Directory Integration

# Demo: jak to działa?

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Course 6425B: Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

ActiveRoles Management Shell for Active Directory

LDAP and Active Directory Guide

Course 6425C: Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

MS-6425C - Configuring Windows Server 2008 Active Directory Domain Services

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Integrating Webalo with LDAP or Active Directory

Creating Organizational Units, Accounts, and Groups. Active Directory Users and Computers (ADUC) 21/05/2013

How To Search For An Active Directory On Goprint Ggprint Goprint.Org (Geoprint) (Georgos4) (Goprint) And Gopprint.Org Gop Print.Org

Learn Active Directory Management in a Month of Lunches. Chapter 6

Z-Hire V3 Administration Guide

TechJam Active Directory Auditing Presenter Matt Warburton Professional Services

NE-6425C Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

11 essential tools for managing Active Directory

Thank you for using AD Bulk Export 4!

Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Technology Primer. OPS Manager, Release 7.4. Integrating Your Directory Server with our Directory Service Solution

There are only a couple of things that need to happen once you've ordered the product from our Service Manager.

Driver for Active Directory Implementation Guide. Identity Manager 4.0.2

Active Directory in Windows Server 2008 R2: What s New?

Quick Introduction System Requirements Main features Getting Started Connecting to Active Directory... 4

Course 6425C: Configuring and Troubleshooting Windows Server 2008 Active Directory Domain Services

Z-Hire V4 Administration Guide

Technical Bulletin 41137

Open Source Identity Management

Administrator s Guide

Microsoft. Jump Start. M3: Managing Windows Server 2012 by Using Windows PowerShell 3.0

Configuring Kerberos Constrained Delegation

Field Description Example. IP address of your DNS server. It is used to resolve fully qualified domain names

Avaya Aura System Manager 6.2 Feature Pack 3 LDAP Directory Synchronization Whitepaper

Usage: admodcmd [-dn BaseDN] [-p pagesize] [-s] [-server servername] [-f LDAPFilter] [modification]

Using LDAP Authentication in a PowerCenter Domain

Windows Server 2012 Scale-Out File Server for SQL Server Step-by-step Installation

Course 6425C: Five days

User Management Resource Administrator. Managing LDAP directory services with UMRA

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

Managing Identities and Admin Access

Click Studios. Passwordstate. Installation Instructions

Transcription:

New-ADUser Name <string> SamAccountName <pre-windows 2000 logon name> -AccountPassword (Read-Host AsSecurestring AccountPassword ) Enabled $true ChangePasswordAtLogon $true New-ADUser Name Amy Strande SamAccountName "AmyS -GivenName Amy Surname Strande DisplayName Amy Strande AccountPassword (ConvertTo-SecureString AsPlainText Pa$$w0rd Force) Enabled $true Path OU=IT, DC=Contoso, DC=Com -Description "Vice President, IT" ChangePasswordAtLogon $true

Set-ADAccountPassword identity cn=amy strand, ou=it, dc=contoso, dc=com Reset NewPassword (ConvertTo-SecureString AsPlainText Pa$$w0rd2 Force)

Unlock-ADAccount identity cn=amy strand, ou=it, dc=contoso, dc=com

Task 1: Create a user account with Active Directory Users and Computers. Task 2: Create a user account with Windows PowerShell.

Task 1: Administer a user account. Task 2: Administer the life cycle of a user account.

Get-ADUser UserName Set-ADUser [-parameter value ] Get-ADUser Tony.Krijnen Set-ADUser office "Stockholm" Get-ADUser Filter Name like * SearchBase OU=Production, DC=Contoso, DC=Com Get-ADUser Filter Name like * SearchBase OU=Production, DC=Contoso, DC=Com Set- ADuser Department Production Company Contoso, Ltd

Task 1: Explore the properties of an Active Directory user object. Task 2: Explore all attributes of an Active Directory user object. Task 3: Analyze the naming and display of user object attributes.

Task 1: Modify the attributes of multiple user objects. Task 2: Manage user attributes by using Windows PowerShell.

Task 1: Create a user account template for Sales. Task 2: Create a new user account based on a template.

csvde -f filename

DN,objectClass,sn,givenName,sAMAccountName,userPrincipalName "CN=David Jones,OU=Employees,OU=User Accounts,DC=contoso,DC=com",user,Jones,David,david.jones,david.jones@contoso.com "CN=Lisa Andrews,OU=Employees,OU=User Accounts,DC=contoso,DC=com",user,Andrews,Lisa,lisa.andrews,lisa.andrews@contoso.com

csvde -i -f filename -k DN,objectClass,sn,givenName,sAMAccountName,userPrincipalName "CN=David Jones,OU=Employees,OU=User Accounts,DC=contoso,DC=com",user,Jones,David,david.jones,david.jones@contoso.com "CN=Lisa Andrews,OU=Employees,OU=User Accounts,DC=contoso,DC=com",user,Andrews,Lisa,lisa.andrews,lisa.andrews@contoso.com

dn: CN=Bonnie Kearney,OU=Employees,OU=User Accounts,DC=contoso,DC=com changetype: add objectclass: top objectclass: person objectclass: organizationalperson objectclass: user cn: Bonnie Kearney sn: Kearney title: Operations description: Operations (London) givenname: Bonnie displayname: Kearney, Bonnie company: Contoso, Ltd. samaccountname: bonnie.kearney userprincipalname: bonnie.kearney@contoso.com mail: bonnie.kearney@contoso.com dn: CN=Bobby Moore,OU=Employees,OU=User Accounts,DC=contoso,DC=com changetype: add objectclass: top objectclass: person

objectclass: organizationalperson objectclass: user cn: Bobby Moore sn: Moore title: Legal description: Legal (New York) givenname: Bobby displayname: Moore, Bobby company: Contoso, Ltd. samaccountname: bobby.moore userprincipalname: bobby.moore@contoso.com mail: bobby.moore@contoso.com ldifde i f newusers.ldf

Import-CSV Users.csv foreach {New-ADUser -SamAccountName $_.SamAccountName -Name $_.Name -Surname $_.Surname -GivenName $_.GivenName -Path "OU=Finance,OU=UserAccounts,DC=FABRIKAM,DC=COM" -AccountPassword (ConvertTo-SecureString -AsPlainText $_.SamAccountName -Force) -Enabled $true}

Task 1: Export users with CSVDE. csvde -f D:\LABFILES\LAB03C\UsersNamedApril.csv -r "(name=april*)" -l DN,objectClass,sAMAccountName,sn,givenName,userPrincipalName Task 2: Import users with CSVDE. csvde -i -f D:\Labfiles\LAB03C\NewUsers.csv -k

Task 1: Import users with LDIFDE. ldifde -i -f D:\Labfiles\LAB03C\NewUsers.ldf -k

Task 1: Import users with PowerShell. Set-ExecutionPolicy remotesigned D:\labfiles\Lab03c\importusers.ps1

New-ADServiceAccount [-SAMAccountName <String>] [-Path <String>] Install-ADServiceAccount -Identity <ADServiceAccount>

Task 1: Use Windows PowerShell to create and associate a managed service account. New-ADServiceAccount Name App1_SVR1 Add-ADComputerServiceAccount identity NYC-SVR1 ServiceAccount App1_SVR1 Get-ADServiceAccount -Filter 'Name -like "*"' FT Name,HostComputers A Task 2: Install a managed service account on a server. Install-ADServiceAccount -Identity App1_SVR1

To prepare for the next lab