Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™...
-
Upload
darlene-mason -
Category
Documents
-
view
228 -
download
8
Transcript of Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™...
![Page 1: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/1.jpg)
Windows PowerShell and Windows Server 2008 R2Technical Overview
![Page 2: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/2.jpg)
Agenda
Today’s IT administrative challengesIntroduction to Windows PowerShell™What’s new in Windows PowerShell
Production scriptingAutomation environmentGUI over Windows PowerShellLanguage and cmdlets
![Page 3: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/3.jpg)
Today’s IT Administrative Challenges
Increasing demands for ITReliance on technology for critical operationsAlways available, from anywhere
Increasing complexityAdding capabilities adds management burdenMost IT cost goes to managing existing systems
Trends of the future magnify challengesMove to data centers – large scale, virtualization, remote managementOutsourcing – lower skilled, high turnover users
![Page 4: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/4.jpg)
The Importance of Windows PowerShell
Designed to reduce the cost and effort required to manage your IT infrastructure Helps to maximize your IT investmentLowers the barrier to entry Reduces time-to-resultsDesigned to help standardize and automate all of your management processes
![Page 5: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/5.jpg)
What Is Windows PowerShell?Revolutionary interactive shell and scripting languageIncluded in Windows Server® 2008 R2 and Windows® 7Drastically reduces the time-to-results with consistent vocabulary and syntaxEasily discovered
No need to find, install, or learn other tools, utilities, or commands
Flexible outputOutput from one cmdlet easily consumed by another
Easily composed Create higher level tools for complex operations
Utilizes the .NET Framework Provides a common management automation platform
![Page 6: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/6.jpg)
Time-to-results drastically reducedConsistent vocabulary and syntax
Verbs: (e.g. Add, New, Get, Set, Remove, Clear)Nouns: (e.g. Connection, EventLog, Member, Printer, Service, Transaction, and WmiObject)
ComposabilityInteractive environments lend themselves to piecemeal (step-by-step / progressive) solutionsEasily composed (pipelined) to solve complex end-to-end management problems
Flexible outputWindows PowerShell outputs objects that can be easily formatted and easily consumed by other cmdlets (no more parsing!)
Windows PowerShell Strengths
![Page 7: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/7.jpg)
ExtensibilityWindows PowerShell takes this to another level with modules
ReusabilityNo more writing point solutions that you stick in a bin folder rarely to be used again
Scripting is no longer an exercise in workaroundsWe finally have purpose-built tools in the box
Able to control executions with transactionsEnd-to-end manageability across server roles
Active Directory®, Exchange, Group Policy, etc.
Windows PowerShell Strengths
![Page 8: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/8.jpg)
Commands comprised of verb-noun pairsPS C:\> Get-ADUser
TAB-completion eases discoverabilityPS C:\> New-AD<now press TAB>
Arguments are positional PS C:\> Get-ADUser –Identity JamesPS C:\> Get-ADUser James
Help is built-in … and that’s consistent tooWell-known, legacy commands supported through aliasing and support for traditional binaries
e.g. dir, cls, cd, md , ping.exe, fsutil.exe
Where’s my AUTOEXEC.BAT?PS C:\> notepad $profile
Windows PowerShellEasy to Learn
![Page 9: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/9.jpg)
Windows PowerShellDesigned to Be Extensible
Modules are the mechanism through which you extend Windows PowerShellCmdlets provide a comprehensive set of tools that can be used as building blocksCmdlets enable the ability to build complex and proprietary solutions easily
![Page 10: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/10.jpg)
RemotingDisable-PSSessionConfigurationEnable-PSRemotingEnable-PSSessionConfigurationEnter-PSSessionExit-PSSessionExport-PSSessionGet-PSSessionGet-PSSessionConfigurationImport-PSSessionInvoke-CommandNew-PSSessionNew-PSSessionOptionNew-WebServiceProxyRegister-PSSessionConfigurationRemove-PSSessionSet-PSSessionConfiguration
Custom SessionsDisable-PSSessionConfigurationEnable-PSSessionConfigurationGet-PSSessionConfigurationNew-PSSessionOptionRegister-PSSessionConfigurationSet-PSSessionConfigurationUnregister-PSSessionConfiguration
Background JobsGet-JobReceive-JobRemove-JobStart-JobStop-JobWait-Job
TransactionsComplete-TransactionGet-TransactionStart-TransactionUndo-TransactionUse-Transaction
DebuggingDisable-PSBreakpointEnable-PSBreakpointGet-PSBreakpointGet-PSCallStack Remove-PSBreakpointSet-PSBreakpoint
Type ConversionAdd-TypeConvertFrom-CsvConvertFrom-StringDataConvertTo-CsvConvertTo-Xml
DiagnosticsClear-EventLogExport-CounterGet-CounterGet-HotfixGet-WinEventImport-CounterLimit-EventLogNew-EventLogRemove-EventLogShow-EventLogWrite-EventLog
ComputersAdd-ComputerCheckpoint-ComputerDisable-ComputerRestoreEnable-ComputerRestoreGet-ComputerRestorePointRemove-ComputerReset-ComputerPasswordRestart-ComputerRestore-ComputerStop-ComputerTest-Connection
WMIInvoke-WMIMethodRegister-WMIEvent Remove-WMIObjectSet-WMIInstance
OtherClear-HistoryDebug-ProcessExport-FormatDataGet-FormatDataGet-RandomImport-LocalizedDataOut-GridViewSelect-XmlSend-MailMessageSet-StrictModeStart-ProcessTest-ComputerSecureChannelUpdate-ListWait-Process
ModulesExport-ModuleMemberGet-ModuleImport-ModuleNew-ModuleNew-ModuleManifestRemove-ModuleTest-ModuleManifest
EventingGet-EventGet-EventSubscriber New-EventRegister-EngineEventRegister-ObjectEventRemove-EventUnregister-Event Wait-Event
WS-ManConnect-WSManDisable-WSManCredSSPDisconnect-WSManEnable-WSManCredSSPGet-WSManCredSSPGet-WSManInstanceInvoke-WSManActionNew-WSManInstanceNew-WSManSessionOptionRemove-WSManInstanceSet-WSManInstanceSet-WSManQuickConfigTest-WSMan
This list is a small sample of the cmdlets that are available.
Over 240 Cmdlets Installed by Default
![Page 11: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/11.jpg)
Windows PowerShell Offers
Production Scripting
Automation Environment
GUI over Windows PowerShell
Language and Cmdlets
![Page 12: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/12.jpg)
Production Scripting
Easy to useSafe to operateEasy to shareEasy to support
Production Scripting
![Page 13: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/13.jpg)
Automation Environment
Interactive or programmaticIn the foreground or background Local or remoteSingle machine or multiple machinesSynchronous or asynchronousIn restricted or unrestricted environmentsWide range of authentication mechanismsSimple scripting to systems programming
Automation Environment
![Page 14: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/14.jpg)
CLI & GUIOffers a true ISEAgility in delivering new GUIsGUI that teaches command lineStandardizes access to managed elementsEnsure automation
GUI over Windows PowerShell
GUI over Windows PowerShell
![Page 15: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/15.jpg)
• Language enhancements • Improved Engine• Improved object adapters• WMI++ • More built-in cmdlets
Lanaguage and Cmdlets
Language and Cmdlets
![Page 16: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/16.jpg)
Summary
Designed to reduce the cost and effort required to manage your IT infrastructure Designed with the IT Pro in mindEasy to adopt, easy to learn, and easy to useCreated to help standardize and automate all your management processes, improving administrator efficiency and minimizing human error
![Page 17: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/17.jpg)
Resources
Newsgroup: Microsoft.Public.Windows.PowerShellPowerShell Team Blog: blogs.msdn.com/powershellScripting Guys Script Center: microsoft.com/technet/scriptcenterChannel 9: http://channel9.msdn.com/tags/PowerShell Wiki: http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellWikiCodePlex: http://codeplex.com/Project/ProjectDirectory.aspx?TagName=powershell
![Page 18: Technical Overview. Today’s IT administrative challenges Introduction to Windows PowerShell™ What’s new in Windows PowerShell Production scripting Automation.](https://reader035.fdocuments.in/reader035/viewer/2022062313/56649d225503460f949f7f2d/html5/thumbnails/18.jpg)
The inf© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows PowerShell and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
ormation herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this
presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.