Adding a Module The Import-Module cmdlet  Can be used to load any external module into PowerShell.  Uses the following syntax to add the ActiveDirectory.

Slides:



Advertisements
Similar presentations
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Advertisements

NREL is a national laboratory of the U.S. Department of Energy Office of Energy Efficiency and Renewable Energy operated by the Alliance for Sustainable.
Managing Active Directory with PowerShell JOSEPH MOODY.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Welcome Course 20410B Module 0: Introduction Audience
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
Microsoft ® Official Course Module 4 Automating Active Directory Domain Services Administration.
Guide to MCSE , Enhanced 1 Activity 4-1: Creating and Adding Members to Global Groups Objective: Use Active Directory Users and Computers to create.
Scenario covered in this presentation Separate credential from on- premises credential Authentication occurs via cloud directory service Does not.
Module 1: Installing Active Directory Domain Services
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
Deploying and Managing Windows Server 2012
1 Group Account Administration Introduction to Groups Planning a Group Strategy Creating Groups Understanding Default Groups Groups for Administrators.
Remote Desktop Services Remote Desktop Connection Remote Desktop Protocol Remote Assistance Remote Server Administration T0ols.
Module 8 Configuring and Securing SharePoint Services and Service Applications.
Module 6: Designing Active Directory Security in Windows Server 2008.
Module 9: Active Directory Domain Services. Overview Describe new features in AD DS List manageability and reliability enhancements in AD DS.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Microsoft ® Official Course Module XA Using Windows PowerShell ®
Managing User and Service Accounts
Appendix A Starting Out with Windows PowerShell™ 2.0.
Active Directory Administration (cmdlets) Microsoft Confidential1.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Securing AD DS Module A 3: Securing AD DS
Installing and Using Active Directory Written by Marc Zacharko.
Module 3: Configuring Active Directory Objects and Trusts.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
Hacker’s Strategies Revealed WEST CHESTER UNIVERSITY Computer Science Department Yuchen Zhou March 22, 2002.
Section 6: Using Windows PowerShell to Manage Group Policy Introducing Windows PowerShell Windows PowerShell Library for Group Policy Windows PowerShell-Based.
Good Morning and Thank You!.  Have some Fun!  Learn at least one thing new!  Make myself available to you So please …  Ask questions and enjoy!
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
 Identify Active Directory functions and Benefits.  Identify the major components that make up an Active Directory structure.  Identify how DNS relates.
CHAPTER Creating and Managing Users and Groups. Chapter Objectives Explain the use of Local Users and Groups Tool in the Systems Tools Option to create.
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
Module 1: Implementing Active Directory ® Domain Services.
Module 5: Designing Security for Internal Networks.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
Windows Server 2003 La migrazione da Windows NT 4.0 a Windows Server 2003 Relatore: MCSE - MCT.
Version 2.0 for Office 365. Day 1 Administering Office 365 Day 2 Administering Office 365 Office 365 Overview & InfrastructureAdministering Lync Online.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
Lesson 12: Configuring Remote Management
Week 4 Objectives Overview of Group Policy Group Policy Processing Implementing a Central Store for Administrative Templates.
CIS 1402: Intro to CIS Tom Gustafson. Facts About PowerShell PowerShell is Microsoft’s command-line interface that provides scripting and management capability.
POWERSHELL BASICS. BACKGROUND  Powershell is a task automation and scripting language based off the.NET framework  It provides the user full access.
Microsoft ® Official Course Module 4 Automating Active Directory Domain Services Administration.
Configuring, Managing and Maintaining Windows Server® 2008 Servers Course 6419A.
Access The L Line The Express Line to Learning 2007 L Line L © Wiley Publishing All Rights Reserved.
Module 6 Creating and Configuring Group Policy. Module Overview Overview of Group Policy Configuring the Scope of Group Policy Objects Evaluating the.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Blog PowerShell for Managing Active.
GROUP POLICY. Group Policy is a hierarchical infrastructure which allows systems administrators to configure computer and user settings from a central.
Windows Certification Paths OR MCSA Windows Server 2012 Installing and Configuring Windows Server 2012 Exam (20410) Administering Windows Server.
Microsoft Administering Windows Server 2012 Pass Microsoft exam with 100% Guarantee 100% REAL EXAM QUESTIONS ANSWERS Get All PDF with Complete.
Managing User and Service Accounts
Best Practices for Dynamics NAV Administration and Security
Lesson 6: Configuring Servers for Remote Management
100% REAL EXAM QUESTION ANSWER
Windows Server 8 beta og Windows PowerShell 3.0
Exam In The First Attempt?
Microsoft - Managing Office 365 Identities and Requirements
Automating AD Administration with Windows PowerShell
Download dumps - Microsoft Real Exam Questions Dumps4download
Read-Only Domain Controllers (RODCs)
BACHELOR’S THESIS DEFENSE
Active Directory Service Accounts
BACHELOR’S THESIS DEFENSE
Greta Mameniskyte IV course 3rd group
BACHELOR’S THESIS DEFENSE
Martin Coetzer | Portfolio Architect, Microsoft Learning eXperiences
Presentation transcript:

Adding a Module The Import-Module cmdlet  Can be used to load any external module into PowerShell.  Uses the following syntax to add the ActiveDirectory module:  Using this cmdlet imports the module into only the currently- running session. You will need to import it in each session.  After it is loaded, the module adds a set of commands for administering Active Directory. You can retrieve the list of commands using: The Remove-Module cmdlet will unload the module from the current session. Import-Module ActiveDirectory Get-Command –module ActiveDirectory

The AD: Drive Adding the ActiveDirectory module also adds a PSDrive provider.  This provider maps the AD: drive to your logon domain.  The main purpose of this drive is to provide a security context for executing cmdlets. When you run an Active Directory cmdlet, it will automatically use the credentials and domain of the current AD: drive.  This eliminates the need to supply credentials for each command.  You can map other drives to other domains and credentials. Cmdlets will run using the credentials associated with the current drive.  To use a different domain or set of credentials, change to the correct mapped drive, and then begin running cmdlets.

Tip for Earlier Versions of Windows Be Aware: The Active Directory cmdlets are designed to be used on Windows Server 2008 R2 and Windows 7 only  This means that other operating systems cannot directly install and use the cmdlets  However, these older operating systems can indirectly use the cmdlets of another host The process to use another host’s cmdlets is called implicit remoting, and will be covered later in this course

Filtering It is generally a bad idea to query every object in Active Directory at once  Doing so is computationally expensive  Doing so can impact your Domain Controllers’ performance Most Active Directory cmdlets have defined a mandatory parameter called –filter  This –filter parameter limits the number of records that the cmdlet will work with  It can accept wildcards and PowerShell-style criteria: Get-ADUser -Filter 'Name -like "*SvcAccount"' Get-ADUser -Filter {Name -eq "GlenJohn"} Get-ADUser -Filter 'Name -like "*SvcAccount"' Get-ADUser -Filter {Name -eq "GlenJohn"}

Computer and Other Objects The ActiveDirectory cmdlet can also interact with objects other than users, such as:  Computer objects  Groups  Fine-grained password policies The cmdlets Get-ADComputer, New- ADFineGrainedPasswordPolicy, and many others interact with these objects in ways that are similar to working with users  Remember to pipe objects to Get-Member or Format-List * to see which objects are available Spend time with the help for the ActiveDirectory module’s cmdlets to see which administrative actions are exposed