24 Hours Of Exchange Server 2007 (Part 8 Of 24)
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

24 Hours Of Exchange Server 2007 (Part 8 Of 24)

on

  • 1,941 views

Introduction to PowerShell

Introduction to PowerShell

Statistics

Views

Total Views
1,941
Views on SlideShare
1,941
Embed Views
0

Actions

Likes
0
Downloads
289
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

24 Hours Of Exchange Server 2007 (Part 8 Of 24) Presentation Transcript

  • 1. 24 Hours of Exchange Server 2007 (Part 8 of 24): Introduction to Windows Powershell Harold Wong [email_address] blogs.technet.com/haroldwong For audio, please try Streaming Internet Audio first If that doesn’t work, use: (800) 229-0449, Pin 9634
  • 2. What We Will Cover
    • Introducing Windows PowerShell™
    • Using Windows PowerShell
    • Creating Windows PowerShell scripts
  • 3. Agenda
    • Review
    • Introducing Windows PowerShell
    • Scripting with Windows PowerShell
  • 4. Review: Configuring Exchange Server
    • Databases and storage groups concepts
    • Public Folder overview and replication
    • Folder and group Windows PowerShell Cmdlets
  • 5. Review: Implementing the Mailbox Server
    • Mailbox server role
    • Client Access server role
    • Edge Transport server role
    • Unified Messaging server role
    Which server role must be installed on its own computer, without any other Exchange Server role?
  • 6. Review: Implementing the Mailbox Server
    • Mailbox server role
    • Client Access server role
    • Hub Transport server role
    • Unified Messaging server role
    Which server role is optional, and may be left out of an Exchange Server 2007 deployment if desired?
  • 7. Review: Implementing the Mailbox Server
    • Mailbox server role
    • Client Access server role
    • Edge Transport server role
    • Unified Messaging server role
    Microsoft ® Office Outlook ® 2007 clients inside your firewall typically access which Server to send and receive email?
  • 8. Review: Public Folder Overview
    • Offline address book distribution
    • Free/busy lookups
    • RSS feeds
    • Outlook 2007 security settings
    Which of these built-in Outlook 2007 applications can not use public folders?
  • 9. Review: Public Folder Overview
    • Mailbox server
    • Edge Transport server
    • Hub Transport server
    • Unified Messaging server
    Which server role hosts public folders in Exchange Server 2007?
  • 10. Review: Public Folder Overview
    • Upgrade to Outlook 2007
    • Migrate public folders to form libraries
    • Share data with SharePoint Services
    • Develop new applications with the Microsoft ® .NET Framework
    As public folders become de-emphasized by Microsoft, which is not a recommended strategy to manage this change?
  • 11. Review: Configure and Manage Public Folders
    • New-PublicFolderDatabase
    • Set-PublicFolder
    • Get-PublicFolder
    • None of the above
    Which of following cmdlets can be invoked by the Exchange Management Console?
  • 12. Review: Configure and Manage Public Folders
    • New-PublicFolder
    • Set-PublicFolder
    • Get-PublicFolder
    • Update-PublicFolder
    Which cmdlet is used to manage public folder replicas?
  • 13. Review: Configure and Manage Public Folders
    • *.vbs
    • *.ps1
    • *.msh
    • None of the above
    Which of the following script types can you run by default from the Exchange Management Shell?
  • 14. Agenda
    • Review
    • Introducing Windows PowerShell
    • Scripting with Windows PowerShell
  • 15. Windows PowerShell Overview Command-line interface Exchange Server snap-in Task automation Bulk operations Extends console
  • 16. Windows PowerShell Features
    • Object-oriented data handling
    • Namespaces
    • Pipelining
    • Access to CMD commands
    • Trusted scripts
  • 17. Why Use Windows PowerShell? One-liners Raw mode What if? Interactive
  • 18. Windows PowerShell Syntax Name Alias Server StorageQuota ---- ---- ------ ------------ Bob Kelly bobk smbex01 unlimited Kim Akers kima smbex01 unlimited MSH> get-mailbox –server “smbex01” Verb Noun Name Argument String Command Parameter Property Names Property Values
  • 19.
    • Introducing Windows PowerShell
      • Use basic Windows PowerShell commands
      • Format output
    demonstration
  • 20. Review: Introducing Windows Powershell
    • Redirect output to text files
    • Use the output of one command as the input for another
    • Read input from the keyboard
    • Temporarily pause the script
    Q1: What is the purpose of the pipeline?
  • 21. Review: Introducing Windows Powershell
    • Get-Mailbox
    • Read-Mailbox
    • Get-User
    • Get-Mailuser
    Q2: Which CMDLET retrieves information about a user’s Exchange Server mailbox?
  • 22. Review: Introducing Windows Powershell
    • Sort-Objects
    • Sort-Object
    • Sort-By
    • Sort-Row
    Q3: Which CMDLET sorts rows of output from a Windows PowerShell command?
  • 23. Agenda
    • Review
    • Introducing Windows PowerShell
    • Scripting with Windows PowerShell
  • 24. Reduced Complexity
  • 25. Automating Management
    • Join multiple tasks together
    • Tasks and scripts can be called from managed code
    • Sample scripts available through community sites
    • Scripts can be reused
  • 26.
    • Performing Exchange Server Administration
      • Move mailboxes
      • Create a mail store
      • Create a Windows PowerShell script
    demonstration
  • 27. Secure Scripting Environment Default is RemoteSigned Must call with full path Cannot automatically run scripts Four levels of security
  • 28. Review: Scripting with Windows Powershell
    • Restricted
    • RemoteSigned
    • Unrestricted
    • AllSigned
    Q1: What is the default execution policy for the Windows PowerShell?
  • 29. Review: Scripting with Windows Powershell
    • $
    • #
    • @
    • %
    Q2: What character indicates a user-defined variable In Windows PowerShell?
  • 30. Review: Scripting with Windows Powershell
    • Get-ExecutionPolicy
    • Alter-ExecutionPolicy
    • Set-ExecutionPolicy
    • New-ExecutionPolicy
    Q3: Which CMDLET changes the execution policy in Windows PowerShell?
  • 31. Session Summary
    • New command line and scripting utility
    • Manage all aspects of Exchange Server
    • Automate management tasks
  • 32. Questions and Answers
    • Submit text questions using the “Ask” button.
    • Don’t forget to fill out the survey.
    • For upcoming and previously live webcasts: www.microsoft.com/webcasts
    • Got webcast content ideas? Contact us at: http://go.microsoft.com/fwlink/?LinkId=41781
    • Today's webcast was presented using Microsoft ® Office Live Meeting. Get a free 14-day trial by visiting: www.microsoft.com/presentlive  
  • 33.