CLI-310<br />
Do Not Delete This Slide<br />We appreciate hearing from you. To send your feedback, click the following link and type you...
Automating Desktop Management with Windows PowerShell™ 2.0 and Group Policy Management<br />Level 300<br />
What Will We cover?<br />Automating Administrative Tasks<br />Windows PowerShell 2.0 Cmdlets<br />Windows PowerShell 2.0 G...
Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
Improved Command-Line Shell and Scripting Language<br />Improves productivity and control<br />Accelerates automation of s...
Improved Command-Line Shell and Scripting Language<br />Improves productivity and control<br />Accelerates automation of s...
Integrates with Windows Management Instrumentation (WMI)<br />Accepts and Returns .NET Framework Objects<br />Robust Archi...
Integrates with Windows Management Instrumentation (WMI)<br />Accepts and Returns .NET Framework Objects<br />Robust Archi...
List Active or Inactive Services<br />Start and Stop Services<br />Navigate the Registry<br />List Plug and Play Devices<b...
List Active or Inactive Services<br />Start and Stop Services<br />Navigate the Registry<br />List Plug and Play Devices<b...
The Windows PowerShell Graphical Interfaces<br />Multi-tabbed interface<br />Integrated development environment<br />Synta...
Windows PowerShell on Remote Computers<br />
Demonstration Environment<br />
Administer a Server Remotely<br />View Information About Files and Folders on Remote Computers<br />Work with Files and Fo...
Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
Network Problems <br />Lack of Disk Space<br />CPU Spikes<br />Troubleshooting Windows 7<br />
Network Problems <br />Lack of Disk Space<br />CPU Spikes<br />Troubleshooting Windows 7 - Notes<br />
Support Tools<br />Reliability Monitor<br />Resource Monitor<br />Windows Recovery Environment<br />System Restore <br />P...
Support Tools - Notes<br />Reliability Monitor<br />Resource Monitor<br />Windows Recovery Environment<br />System Restore...
Reliability Monitor<br />
Improvements in System Restore<br />System Restore Points <br />System Restore<br />External Hard Disk<br />
Monitor Computers using Windows PowerShell<br />User Windows PowerShell for System Restore<br />Demonstration: Monitoring ...
Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
Scripting Group Policy<br />Challenges<br /><ul><li>Group Policy Management Center had API to automate management of Group...
Difficult for non-developers to use</li></ul>Windows PowerShell for Group Policy<br /><ul><li>Logon, Logoff, Startup, Shut...
Full life cycle of cmdlets
Configure registry</li></ul>Customer Value<br /><ul><li>Reduces time and risk of error
Upcoming SlideShare
Loading in …5
×

Automating Desktop Management with Windows Powershell V2.0 and Group Policy Management

4,510 views

Published on

This session will explore the new Windows Powershell v2.0 features and how to automate administrative tasks in Windows 7. We will examine the new Windows Powershell cmdlets and show you how to remotely manage desktop systems throughout the organization. Then we will use Windows Powershell with WMI to monitor and retrieve system status and execute changes. Finally, we will use Windows Powershell Group Policy Object cmdlets to automate management of Group Policy Objects and the configuration of registry-based settings.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,510
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
101
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • Slide Title: FeedbackKeywords: Key Message: Slide Builds: 0Slide Script: Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information:
  • Slide Title: Windows PowerShell 2.0Keywords: Windows PowerShell 2.0Key Message: Windows PowerShell 2.0 is new in Windows Server 2008 R2.Slide Builds: 0Slide Script: The Windows PowerShell command-line shell and scripting language helps IT professionals automate common tasks. Using a new admin-focused scripting language, more than 120 standard command-line tools, and consistent syntax and utilities, Windows PowerShell allows IT professionals to more easily manage system administration and to accelerate automation. Windows PowerShell is easy to adopt and use, because it works with the existing IT infrastructure and existing script investments. It allows users to automate server management and administration tasks, in addition to the deployment of server roles, such as Terminal Server.Managing systems can be a complex endeavor, and tools that have a consistent interface help to control the inherent complexity of the process. The consistency of Windows PowerShell commands and syntax is one of its primary assets, reducing the time needed to complete administrative tasks and write scripts. Windows PowerShell integrates the command-line shell and scripting language to allow administrators to more efficiently complete and automate system administration tasks. Windows PowerShell improves upon the Windows Command Prompt and Windows Script Host (WSH) by providing cmdlets (command-line tools) that have the exact same syntax as the scripting language. The command that is typed in the Windows PowerShell command prompt is the same command that would be used in a script for automating the task across multiple servers.
  • Windows PowerShell 2.0 now also has remoting. You type a command on your computer, and then that command is transmitted through WinRM and the SOAP protocol to the remote machine. These transmissions are encrypted and secure. In return, a new instance of Windows PowerShell is instantiated on the remote computer. The command you issued runs on the remote machine, and then the output is sent back to your computer. In other words, remoting involves a “conversation” between two instances of Windows PowerShell: one on your computer, one on the remote computer. It is important to note that all the computers involved in a Windows PowerShell remoting session must have both Windows PowerShell 2.0 and WinRM installed.The first release of Windows PowerShell included a new cmdlet, out-GridView, that enabled you to easily display output in a grid. This new grid also enabled you to sort by any given property, to display items in groups, and even to use keyword searches to do rudimentary filtering. In the second release true filtering capabilities have been added.The Windows PowerShell Integrated Scripting Environment (ISE) is a host application for Windows PowerShell. In Windows PowerShell ISE, you can run commands and write, test, and debug scripts in a single Windows-based graphic user interface with multiline editing, tab completion, syntax coloring, selective execution, context-sensitive help, and support for right-to-left languages. You can use menu items and keyboard shortcuts to perform many of the same tasks that you would perform in the Windows PowerShell console.  Slide Transition: Windows PowerShell cmdlets integrate with .NET.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: Windows PowerShell 2.0 CTP http://www.microsoft.com/technet/scriptcenter/topics/winpsh/newin2.mspx
  • Slide Title: The Windows PowerShell GUIKeywords: PowerShell, Windows 7, GUIKey Message: Windows PowerShell 2.0 GUISlide Builds: 2Slide Script: Graphical PowerShell provides a graphical user interface that allows you to interactively create and debug Windows PowerShell scripts within an integrated development environment similar to Visual Studio. Graphical PowerShell includes support for Unicode characters and the ability to run an entire script or a portion of a script within the integrated development environment. The new out-GridView cmdlet displays the results of other commands in an interactive table, where you can search, sort, and group the results. For example, you can send the results of a get-process, get-wmiobject, or get-eventlog command to out-Gridview and use the table features to examine the data.[BUILD1] There is support for composing and debugging multiple Windows PowerShell scripts in a multi-tabbed interface. There is support for up to eight PowerShell Runspaces within the integrated development environment. [BUILD2] Graphical PowerShell also includes syntax coloring, similar to syntax coloring in Visual Studio. Note that Microsoft .NET Framework 3.0 is required.Slide Transition: Windows PowerShell includes a number of built-in cmdlets that make accessing and managing key Windows 7 system components simple.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://www.microsoft.com/downloads/details.aspx?FamilyId=7C8051C2-9BFC-4C81-859D-0864979FA403&displaylang=en
  • Slide Title: PowerShell on Remote ComputersKeywords: PowerShellKey Message: Windows PowerShell 2.0 management scenariosSlide Builds: 2Slide Script: Windows PowerShell can be run on remote computers in a number of different scenarios. Commands are entered on a local computer and executed on a remote computer, and data is returned to the local computers. The simplest scenario is the one-to-one scenario where one IT professional interactively runs scripts on a single remote computer.[BUILD1] The fan-out scenario is where one IT professional runs scripts on multiple computers from a single console. This is a one-to-many scenario. In this scenario, the IT professional could have different levels of access based on their credentials. This is useful for large-scale automation. This can be useful for throttling or asynchronous support.[BUILD2] There is also a fan-in or many-to-one scenario where many IT professionals run scripts on a single computer. In this scenario, each IT professional could have a customized level of access based on their credentials. This provides automation of Delegated Administration, which is useful for Hosted Services. It can be useful for sending progress information to the client.A Windows PowerShell script can also be run as a background job. This scenario allows you to run a Windows PowerShell command or expression asynchronously (in the background) without interacting with the console. The command prompt returns immediately, and you can query for the job results interactively. You can run background jobs on a local or remote computer.Slide Transition: Before the first demo, lets take a look at the demo environment.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://technet.microsoft.com/en-us/exchangelabshelp/cc546278.aspx
  • Slide Title: Demonstration EnvironmentKeywords: Key Message: Describe the demonstration environment being used.Slide Builds: 0Slide Script: The demonstration computer will contain two virtual machines, named SEA-DC-01 and SEA-WRK-001. The two machines will be able to communicate with each other but will not be able to communicate with the Internet or with other host computers or the virtual machines running on them. Here is a network diagram of the computers used in this session.Slide Transition: Our first demo covers some aspects of managing the desktop.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information:
  • Slide Title: Support ToolsKeywords: System RestoreKey Message: Windows 7 has a number of support tools.Slide Builds: 4Slide Script: Windows Vista introduced the Reliability Monitor, a tool that provides a timeline of system events that correlate with the overall stability of the computer. These events include the installation or removal of software and device drivers, application failures, and unclean shutdowns. The Reliability Monitor has proved to be valuable to IT professionals because it allows them to quickly trace problems back to the system change that caused them. [BUILD1] Windows 7 includes an enhanced version of Resource Monitor, which provides this sort of detailed resource utilization information on a process-by-process basis. One can use Resource Monitor to view:Which processes are using the most processor time and memory.Which services are hosted within a SvcHost.exe process. Which handles (including devices, registry keys, and files) a process is accessing. Which modules (including DLLs) a process is accessing. Which processes are reading and writing the most data to the disk.How much network data each process is sending and receiving. Which processes are listening for incoming network connections or have network connections open. How much memory each process is using.
  • [BUILD2] To help users easily resolve startup problems, Windows Vista introduced two tools: the Windows Recovery Environment and the Startup Repair tool. Users or IT professionals can start Windows RE by booting a computer from the Windows Vista DVD. The tools included with Windows RE can often automatically fix startup problems, requiring no troubleshooting from the IT professional. Like Windows Vista, Windows 7 includes Windows RE, including improved versions of the system recovery tools. The most significant improvement is that Windows RE is automatically installed on the local hard disk as part of the Windows 7 setup, ensuring that the tools are available even if the Windows 7 DVD is not.[BUILD3] Windows Vista included Windows System Restore to store “snapshots” of the system on the local hard drive, either at regular intervals or to a point before the system updates or application/device driver installations were downloaded. These earlier versions of Windows made it difficult for users or IT professionals to determine which components would be affected by restoring to a System Restore point. With Windows 7, the user or IT professional can view a list of software changes before rolling Windows 7 back to an earlier state. By offering a more complete explanation of a System Restore outcome, such as removing an application that should be preserved, an IT professional can choose a different restore point or make certain to reinstall the application afterward. [BUILD4] For those problems that still require a call to the support center, Windows 7 enables IT professionals to quickly diagnose and solve problems. Anyone who has struggled to reproduce the problem a user describes will appreciate the Problem Steps Recorder, which captures click-by-click screenshots showing what user actions led to the problem.Slide Transition: Let’s explore the Reliability Monitor in more detail.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://technet.microsoft.com/en-us/library/cc766048.aspx
  • Slide Title: Reliability MonitorKeywords: Reliability MonitorKey Message: Reliability MonitorSlide Builds: 0Slide Script: With Windows 7, Reliability Monitor is now integrated with Problem Reports and Solutions to better correlate system changes, events, and potential resolutions. Windows 7 also enhances Reliability Monitor by exposing the reliability data through the Windows Management Interface. Using WMI, you can gather reliability data remotely and process it using Windows PowerShell scripts and WMI-related cmdlets. Now, IT professionals can leverage WMI to centrally collect or inspect the reliability of Windows 7–based computers throughout the network, either proactively or during a support call. Other management tools, such as Microsoft System Center Operations Manager, can centrally monitor the reliability data from all Windows 7–based computers. Alternatively, you can create your own Windows PowerShell scripts to monitor reliability and take appropriate action. By centrally monitoring reliability data, you can identify unreliable computers that are affecting user productivity, even if the users don’t bother to call the support center.Slide Transition: Windows Vista included Windows System Restore to store “snapshots” of the system on the local hard drive, either at regular intervals or to a point before the system updates or application/device driver installations were downloaded.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://technet.microsoft.com/en-us/library/cc722107.aspx
  • Slide Title: Improvements in System RestoreKeywords: System RestoreKey Message: Windows 7 has a number of improvements in System Restore.Slide Builds: 2Slide Script: With Windows 7, the user or IT professional can view a list of software changes, based on applications listed in Add/Remove Programs, before rolling Windows 7 back to an earlier state. By offering a more complete explanation of a System Restore outcome, such as removing an application that should be preserved, an IT professional can choose a different restore point or make certain to reinstall the application afterward. [BUILD1] In Windows 7, restore points will also be available from system images created by the end users, allowing System Restore to roll back to a point further back in time than the local System Restore storage would allow. In other words, backups to external hard disks can be used for restore points, too.[BUILD2] After selecting the desired restore point, System Restore will perform the steps to restore the computer to that restore point. Like many other aspects of Windows 7, System Restore enables IT professionals to be more effective and productive through the use of Windows PowerShell. Windows PowerShell can create a System Restore point or restore a computer to a System Restore point, even remotely.Therefore, while on a support call, IT professionals can connect to a computer from across the network and create a System Restore point before making any changes that might negatively affect the computer’s stability. Scripts that perform troubleshooting or configuration tasks can automatically create a System Restore point to allow changes to be easily restored. Finally, an IT professional could use a Windows PowerShell script to restore a computer to an earlier System Restore point, even across the network.Slide Transition: We will now demonstrate the monitoring and troubleshooting.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://technet.microsoft.com/en-us/library/cc766048.aspx
  • Slide Title: Scripting Group PolicyKeywords: PowerShell, group policyKey Message: One can script Group Policy.Slide Builds: 1Slide Script: Windows PowerShell 2.0 can be used to script the time-consuming Group Policy management tasks. Prior to Windows 7, the Group Policy Management Center had an API that was to be used for the management of Group Policy objects. This API could be difficult for non-developers to use.[BUILD1] Windows PowerShell scripting of Group Policy automates GPO management. One can execute logon, logoff, startup, and shutdown scripts, in addition to configuring registry-based Group Policy settings. There are cmdlets available for the full life cycle of GPMC operations, including create, link, configure, rename, backup, copy, and remove. Cmdlets can read and write registry settings to the GPO. These values can be written to either Policy or Preferences, and the settings can accept more value types.This scripting reduces the risk of error and the time investment needed on a day-to-day basis. It also enables quicker and more efficient logon and startup scripting. This allows the IT professional to fulfill requests for richer Group Policy management and interesting new scenarios for customers.Slide Transition: Let’s look at some specific examples of using Windows PowerShell 2.0 to manage Group Policy.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://www.microsoft.com/technet/scriptcenter/hubs/gp.mspx
  • Slide Title: Command Line ExamplesKeywords: PowerShell, group policyKey Message: ExamplesSlide Builds: 0Slide Script: Windows PowerShell 2.0 can be used to backup all GPOs in the current domain to directory.[BUILD1] You can get RSOP for local computer and logged on user in html form.[BUILD2] You can copy a GPO across domains.[BUILD3] You can also link a GPO to a different domain.Slide Transition: And now, our last demoSlide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: http://msdn.microsoft.com/en-us/library/aa814151.aspx
  • Slide Title: TechNet Plus Direct SubscriptionKeywords: Technet, Subscription, Plus, Direct, BenefitsKey Message: TechNet Plus has some new benefits.Slide Builds: 0Slide Script: TechNet Plus is an essential premium web-enabled and live support resource that provides IT Professionals with fast and easy access to Microsoft experts, software and technical information, enhancing IT productivity, control and planning.With convenient access to all these resources in one online location, TechNet Plus provides what you need to help you:Evaluate products & learn new skillsPlan for & deploy new technologiesAnd support & maintain your IT environmentFor evaluation and learning you get access to all Microsoft full-version software for evaluation without time limits. This includes Microsoft Server, Client, and Application software titles. With full-version software, you can make informed decisions about new technologies at your own pace.You also receive access to the latest betas before public release. Be the first to try out the latest pre-release versions of Microsoft operating systems, servers and business applications.TechNet Plus also offers quarterly training resources including select Microsoft E-Learning courses for free so you can keep your skills current, prepare for a certification exam or get ready for a specific project.For planning and deployment the TechNet Library includes resources to help you plan for and deploy new technologies in your IT environment including a complete Knowledge Base, resource kits, utilities and technical training.You also get exclusive tools like System Center Capacity Planner to accurately plan for and deploy Exchange Server and System Center Operations Manager.For support and maintenance TechNet Plus comes with two complimentary Professional Support incidents. You can talk to a Microsoft Support Professional to quickly resolve your mission-critical technical issues fast.TechNet Plus also provides access to over 100 Managed Newsgroups. You can exchange ideas with other professionals and get expert answers to your technical questions within the next business day — guaranteed.You also get access to TechNet Library resources to help you support and maintain your IT environment including security updates and service packs.TechNet Plus offers proven value that far exceeds its cost. The two complimentary Professional Support incidents alone more than offset the cost of a TechNet Plus subscription. Add to that the evaluation and beta software and other technical resources, and TechNet Plus clearly boosts productivity. Every IT Professional on the team needs one.For more information or to purchase a TechNet Plus subscription, please visit: technet.microsoft.com/subscriptions.Slide Transition: Thank you for attending this TechNet event and we hope that you enjoyed learning about the new Microsoft Technologies.Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information: technet.microsoft.com/subscriptions
  • Slide Title: FeedbackKeywords: Key Message: Slide Builds: 0Slide Script: Slide Comment: To Send feedback on this slide, use the hyperlink on the feedback slide at the start and end of this deck.Additional Information:
  • Automating Desktop Management with Windows Powershell V2.0 and Group Policy Management

    1. 1. CLI-310<br />
    2. 2. Do Not Delete This Slide<br />We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body. <br />Note: The subject-line information is used to route your feedback. If you remove or modify the subject line we may be unable to process your feedback. Your feedback may be used to improve our products, technologies and services.<br />Send feedback<br />
    3. 3. Automating Desktop Management with Windows PowerShell™ 2.0 and Group Policy Management<br />Level 300<br />
    4. 4. What Will We cover?<br />Automating Administrative Tasks<br />Windows PowerShell 2.0 Cmdlets<br />Windows PowerShell 2.0 Group Policy Object Cmdlets<br />
    5. 5. Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
    6. 6. Improved Command-Line Shell and Scripting Language<br />Improves productivity and control<br />Accelerates automation of system admin<br />Easy to use <br />Works with existing scripts<br />Community model<br />Out-GridView<br />New Features<br />Integration<br />Active Directory Administration Center<br />Internet Information Services (IIS)<br />Power management <br />One-to-many remote management using WS-MGMT<br />Graphical PowerShell<br />Improved security<br />Portability<br />New cmdlets <br />Remote execution capability<br />Windows PowerShell 2.0<br />
    7. 7. Improved Command-Line Shell and Scripting Language<br />Improves productivity and control<br />Accelerates automation of system admin<br />Easy to use <br />Works with existing scripts<br />Community model<br />Out-GridView<br />New Features<br />Integration<br />Active Directory Administration Center<br />Internet Information Services (IIS)<br />Power management <br />One-to-many remote management using WS-MGMT<br />Graphical PowerShell<br />Improved security<br />Portability<br />New cmdlets <br />Remote execution capability<br />Windows PowerShell 2.0 - Notes<br />
    8. 8. Integrates with Windows Management Instrumentation (WMI)<br />Accepts and Returns .NET Framework Objects<br />Robust Architecture<br />Cmdlets and Integration with .NET<br />Cmdlets: Single-Function Tools<br />
    9. 9. Integrates with Windows Management Instrumentation (WMI)<br />Accepts and Returns .NET Framework Objects<br />Robust Architecture<br />Cmdlets and Integration with .NET - Notes<br />Cmdlets: Single-Function Tools<br />
    10. 10. List Active or Inactive Services<br />Start and Stop Services<br />Navigate the Registry<br />List Plug and Play Devices<br />Managing Devices and Services<br />Examine Event Logs<br />
    11. 11. List Active or Inactive Services<br />Start and Stop Services<br />Navigate the Registry<br />List Plug and Play Devices<br />Managing Devices and Services - Notes<br />Examine Event Logs<br />
    12. 12. The Windows PowerShell Graphical Interfaces<br />Multi-tabbed interface<br />Integrated development environment<br />Syntax coloring<br />
    13. 13. Windows PowerShell on Remote Computers<br />
    14. 14. Demonstration Environment<br />
    15. 15. Administer a Server Remotely<br />View Information About Files and Folders on Remote Computers<br />Work with Files and Folders on Remote Computers<br />Demonstration: Managing the Desktop<br />
    16. 16. Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
    17. 17. Network Problems <br />Lack of Disk Space<br />CPU Spikes<br />Troubleshooting Windows 7<br />
    18. 18. Network Problems <br />Lack of Disk Space<br />CPU Spikes<br />Troubleshooting Windows 7 - Notes<br />
    19. 19. Support Tools<br />Reliability Monitor<br />Resource Monitor<br />Windows Recovery Environment<br />System Restore <br />Problem Steps Recorder<br />
    20. 20. Support Tools - Notes<br />Reliability Monitor<br />Resource Monitor<br />Windows Recovery Environment<br />System Restore <br />Problem Steps Recorder<br />
    21. 21. Reliability Monitor<br />
    22. 22. Improvements in System Restore<br />System Restore Points <br />System Restore<br />External Hard Disk<br />
    23. 23. Monitor Computers using Windows PowerShell<br />User Windows PowerShell for System Restore<br />Demonstration: Monitoring and Troubleshooting<br />
    24. 24. Agenda<br />Managing the Desktop<br />Monitoring and Troubleshooting<br />Automating Group Policy Management<br />
    25. 25. Scripting Group Policy<br />Challenges<br /><ul><li>Group Policy Management Center had API to automate management of Group Policy objects
    26. 26. Difficult for non-developers to use</li></ul>Windows PowerShell for Group Policy<br /><ul><li>Logon, Logoff, Startup, Shutdown
    27. 27. Full life cycle of cmdlets
    28. 28. Configure registry</li></ul>Customer Value<br /><ul><li>Reduces time and risk of error
    29. 29. Fulfills requests for new scenarios</li></li></ul><li>Command Line Examples<br />Back up all GPOs in current domain to directory<br /><ul><li>Backup-GPO –all –path ‘C:BackupFiles’</li></ul>Get RSOP for local computer and logged on user in html form<br /><ul><li>Get-GPResultantSetofPolicy -ReportType -html -Path D:ConfigDocumentsReports</li></ul>Copy a GPO across domains<br /><ul><li>Copy-GPO -SourceName TestGpo1 -SourceDomain test.contoso.com TargetName TestGpo1 -TargetDomain sales.contoso.com</li></ul>Link a GPO to a different domain<br /><ul><li>$domain = get-ADDomain test.contoso.com
    30. 30. new-gplink -name testgpo -target $domain -enforced yes</li></li></ul><li>Create New Group Policy Objects<br />Use Group Policy Cmdlets<br />Demonstration: Automating Group Policy Management<br />
    31. 31. Session Summary<br />Automating Administrative Tasks<br />Windows PowerShell 2.0 Cmdlets<br />Windows PowerShell 2.0 Group Policy Object Cmdlets<br />
    32. 32. Where to Find More Information?<br />Visit TechNet at technet.microsoft.com<br />Also check out TechNet Edge <br /> edge.technet.com<br />Or just visit http://go.microsoft.com/?linkid=9662642<br /> for additional information on this session.<br />
    33. 33. For more titles, visit<br />http://go.microsoft.com/?linkid=9662642<br />Supporting Publications<br />
    34. 34. For more training information http://go.microsoft.com/?linkid=9662642<br />Training Resources<br />
    35. 35. Become a Microsoft Certified Professional <br />What are MCP certifications?<br />Validation in performing critical IT functions.<br />Why Certify?<br />WW recognition of skills gained via experience.<br />More effective deployments with reduced costs<br />What Certifications are there for IT Pros?<br />MCTS, MCITP.<br />www.microsoft.com/certification<br />
    36. 36. Microsoft TechNet Plus<br />TechNet Plus is an essential premium web-enabled and live support resource that provides IT Professionals with fast and easy access to Microsoft experts, software and technical information, enhancing IT productivity, control and planning. <br />Evaluate & Learn<br />Plan & Deploy<br />Support & Maintain<br />2 complimentaryProfessional Support incidents for use 24/7 (20% discount on additional incidents)<br />Access over 100 managed newsgroups and get next business day response--guaranteed<br />Use the TechNet Library to maintain your IT environment with security updates, service packs and utilities<br />Use the TechNet Library to plan for deployment using the Knowledge Base, resource kits, and technical training<br />Use exclusive tools like System Center Capacity Planner to accurately plan for and deploy Exchange Server and System Center Operations Manager<br />Evaluate full versions of all Microsoft commercial software for evaluation—without time limits. This includes all client, server and Office applications.<br />Try out all the latest betas before public release<br />Keep your skills current with quarterly training resources including select Microsoft E-Learning courses<br />Get all these resources and more with a TechNet Plus subscription.<br />For more information visit: technet.microsoft.com/subscriptions<br />
    37. 37. Your potential. Our Passion<br />
    38. 38. Do Not Delete This Slide<br />We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body. <br />Note: The subject-line information is used to route your feedback. If you remove or modify the subject line we may be unable to process your feedback. Your feedback may be used to improve our products, technologies and services.<br />Send feedback<br />
    39. 39. Session Credits<br />Author: Christopher Knaus<br />Editor: Resources Online<br />MS Producer: Alan Le Marquand<br />Technical Specialists<br />[Reviewer 1]<br />[Reviewer 2]<br />Microsoft Reviewers<br />

    ×