Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Course
Module 4
Module Overview
Using Command-line Tools for Administration
Using Windows PowerShell for Administration
Performing Bulk Operations with Windows
PowerShell
What Is Csvde?
Export
CSVDE.exe
AD DS
Filenamec.sv
Import
f filename
-d RootDN
-p SearchScope
-r Filter
-l ListOfAtrributes
What Is Ldifde?
Export
LDIFDE.exe
AD DS
Filename.ldf
Import
Use
Manage OUs
Enable-ADAccount
Disable-ADAccount
Description
Creates user accounts
Modifies properties of user accounts
Deletes user accounts
Resets the password of a user account
Modifies the expiration date of a user
account
Unlocks a user account after it has
become locked after too many incorrect
login attempts
Enables a user account
Disables a user account
Description
New-ADGroup
Set-ADGroup
Get-ADGroup
Remove-ADGroup
Add-ADGroupMember
Get-ADGroupMember
Remove-ADGroupMember
Add-ADPrincipalGroupMembership
Get-ADPrincipalGroupMembership
RemoveADPrincipalGroupMembership
Description
Creates new computer accounts
Modifies properties of computer accounts
Displays properties of computer accounts
Deletes computer accounts
Verifies or repairs the trust relationship
between a computer and the domain
Resets the password for a computer account
Description
Description
Creates organizational units
Modifies properties of organizational
units
Views properties of organizational
units
Deletes organizational units
Creates organizational units
Modifies properties of organizational
units
Views properties of organizational
units
modified
Description
SearchScope
Get-ADUser
*
SearchBase Administrator
Defines the AD DSProperties
path to begin searching.
Show all the user accounts in the Marketing organizational unit and all its
performed.
subcontainers:
ResultSetSize Defines how many objects to return in response to a query.
Get-ADUser
SearchBase
ou=Marketing,dc=adatum,dc=com
Properties
Defines which object
properties to return and display.
SearchScope subtree
Show all of the user accounts with a last logon date older than a specific
Operator
Description
date:
-eq
Equal to
-lt
Less than
-gt
Greater than
Get-ADUser -ne
Filter lastlogondate
Not equal tolt January 1, 2012
Show all of the user accounts in the Marketing department that have a last
-le
Less than or equal to
logon date older than a specific date:
Greater thanlt
or equal
to
Get-ADUser -ge
Filter lastlogondate
January
1, 2012 and
Uses wildcards for pattern matching
department -like
eq Marketing
prompt
Use a Windows PowerShell script to create user
accounts from a .csv file
20410A-LON-DC1
20410A-LON-CL1
Adatum\Administrator
Pa$$w0rd
User Name
Password
Estimated Time:45 minutes
Lab Scenario
A. Datum Corporation is a global engineering and
Lab Review
By default, are new user accounts enabled or