Exportovať (0) Tlačiť
Rozbaliť všetko
EN
Tento obsah nie je dostupný vo vašom jazyku, k dispozícii je však anglická verzia.

Scripting with Windows PowerShell

Updated: August 4, 2014

Applies To: Windows PowerShell 2.0, Windows PowerShell 3.0, Windows PowerShell 4.0, Windows PowerShell 5.0

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

Windows PowerShell commands, called cmdlets, let you manage the computers from the command line. Windows PowerShell providers let you access data stores, such as the registry and certificate store, as easily as you access the file system. In addition, Windows PowerShell has a rich expression parser and a fully developed scripting language.

Windows PowerShell includes the following features:

  • Cmdlets for performing common system administration tasks, such as managing the registry, services, processes, and event logs, and using Windows Management Instrumentation (WMI).

  • A task-based scripting language and support for existing scripts and command-line tools.

  • Consistent design. Because cmdlets and system data stores use common syntax and naming conventions, data can be shared easily and the output from one cmdlet can be used as the input to another cmdlet without reformatting or manipulation.

  • Simplified, command-based navigation of the operating system, which lets users navigate the registry and other data stores by using the same techniques that they use to navigate the file system.

  • Powerful object manipulation capabilities. Objects can be directly manipulated or sent to other tools or databases.

  • Extensible interface. Independent software vendors and enterprise developers can build custom tools and utilities to administer their software.

Content in this section

The following content is available in Scripting with Windows PowerShell.

  • Using Windows PowerShell. Learn how to get started scripting and automating Windows environments by using Windows PowerShell. This section includes a user’s guide, information about features that are included with Windows PowerShell (such as Windows PowerShell Desired State Configuration), information about Windows PowerShell prerequisites and installation, and information about how to use Windows PowerShell Integrated Scripting Environment (ISE), a graphical editor for Windows PowerShell.

  • Windows PowerShell Core Module Reference. This section includes reference Help topics for all cmdlets in the core modules that are included as part of Windows PowerShell. The section also includes About topics that illustrate Windows PowerShell concepts and examples in greater detail.

  • Windows and Windows Server Automation with Windows PowerShell. This section includes reference Help topics for all Windows PowerShell cmdlets that are available as part of Windows and Windows Server roles, role services, and features.

  • System Center Automation with Windows PowerShell. This section includes reference Help topics for all System Center cmdlets that are available when you install System Center in your environment.

  • Microsoft Azure Pack for Windows Server Automation with Windows PowerShell. This section includes reference Help topics for the cmdlets that are available when you install the Windows Azure Pack for Windows Server.

  • Previous Releases of Windows PowerShell Module Help. This section includes cmdlet reference and About Help topics for Windows PowerShell 3.0 and earlier releases of Windows PowerShell.

Related Resources

Resources for Windows PowerShell users

In addition to the Help available at the command line, the following resources provide more information for users who want to run Windows PowerShell.

  • Windows PowerShell Team Blog. The best resource for learning directly from the Windows PowerShell product team.

  • Windows PowerShell Customer Connection. Make a suggestion, send feedback, or file a bug for the Windows PowerShell team. You can file a code bug, a documentation bug, or a localization (language translation) bug.

  • The Hey, Scripting Guy! Blog publishes new content seven days a week, and is consistently ranked in the top five of all Microsoft blogs. The articles are scenario-driven, and written in an engaging and lively manner.

  • The Learn PowerShell page is the Windows PowerShell hub on the TechNet Script Center. This page hosts a series of beginner video sessions conducted by the Microsoft Scripting Guy Ed Wilson. It also contains Windows PowerShell quizzes, links to community content, and more.

  • Have questions about using Windows PowerShell? Connect with hundreds of other people who have similar interests on the Official Scripting Guys forum.

  • The Microsoft Script Center. A portal to many useful Windows PowerShell resources, including the Script Center Repository. One of the best ways to learn scripting is to see examples in action. Search through thousands of Windows PowerShell scripts, all ready for you to evaluate and adapt to meet your needs.

  • Get involved in the Windows PowerShell user community. See the Script Center Community page for locations of dozens of Windows PowerShell user groups – there is probably one near you. Also keep current with the community activities of the Microsoft Scripting Guy.

Other Windows PowerShell documentation for Microsoft technologies

The following links can help you find Windows PowerShell documentation that is not available as part of this section.

Resources for Windows PowerShell Developers

The following resources provide resources to help developers create their own Windows PowerShell modules, functions, cmdlets, providers, and hosting applications.



Bol tento článok užitočný?
(Zostávajúci počet znakov: 1500)
Ďakujeme za pripomienky

Obsah od komunity

Pridať
Zobraziť:
© 2014 Microsoft