Ta zawartość nie jest dostępna w wymaganym języku. Wersja w języku angielskim znajduje się tutaj.

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.

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.

Zawartość społeczności