Global Information Lookup Global Information

PowerShell information


PowerShell
Screenshot of a PowerShell 7 session in Windows Terminal
ParadigmImperative, pipeline, object-oriented, functional and reflective
Designed byJeffrey Snover, Bruce Payette, James Truher (et al.)
DeveloperMicrosoft
First appearedNovember 14, 2006; 17 years ago (2006-11-14)
Stable release
7.4.1 / January 11, 2024; 3 months ago (2024-01-11)[1]
Typing disciplineStrong, safe, implicit and dynamic
Implementation languageC#
PlatformPowerShell: .NET
Windows PowerShell: .NET Framework
OS
  • Windows 7 and later
  • Windows Server 2008 R2 and later
  • macOS 10.12 and later
  • Ubuntu 14.04, 16.04, 18.04, 20.04 and 22.04
  • Debian 8.7+, 9, 10 and 11
  • CentOS 7 and 8
  • Red Hat Enterprise Linux 7 and 8
  • openSUSE 42.2, 42.3, 15.0, 15.1, 15.2
  • Fedora 28, 29, 30
LicenseMIT License[2] (but the Windows component remains proprietary)
Filename extensions
  • .ps1 (Script)
  • .ps1xml (XML Document)
  • .psc1 (Console File)
  • .psd1 (Data File)
  • .psm1 (Script Module)
  • .pssc (Session Configuration File)
  • .psrc (Role Capability File)
  • .cdxml (Cmdlet Definition XML Document)
Websitemicrosoft.com/powershell
Influenced by
Python, Ksh, Perl, C#, CL, DCL, SQL, Tcl, Tk,[3] Chef, Puppet

PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on August 18, 2016, with the introduction of PowerShell Core.[4] The former is built on the .NET Framework, the latter on .NET (previously .NET Core).

PowerShell is bundled with all currently supported Windows versions, and can also be installed on MacOS and Linux.[4] Since Windows 10 build 14971, PowerShell replaced Command Prompt (cmd.exe) and became the default command shell for File Explorer.[5][6]

In PowerShell, administrative tasks are generally performed via cmdlets (pronounced command-lets), which are specialized .NET classes implementing a particular operation. These work by accessing data in different data stores, like the file system or Windows Registry, which are made available to PowerShell via providers. Third-party developers can add cmdlets and providers to PowerShell.[7][8] Cmdlets may be used by scripts, which may in turn be packaged into modules. Cmdlets work in tandem with the .NET API.

PowerShell's support for .NET Remoting, WS-Management, CIM, and SSH enables administrators to perform administrative tasks on both local and remote Windows systems. PowerShell also provides a hosting API with which the PowerShell runtime can be embedded inside other applications. These applications can then use PowerShell functionality to implement certain operations, including those exposed via the graphical interface. This capability has been used by Microsoft Exchange Server 2007 to expose its management functionality as PowerShell cmdlets and providers and implement the graphical management tools as PowerShell hosts which invoke the necessary cmdlets.[7][9] Other Microsoft applications including Microsoft SQL Server 2008 also expose their management interface via PowerShell cmdlets.[10]

PowerShell includes its own extensive, console-based help (similar to man pages in Unix shells) accessible via the Get-Help cmdlet. Updated local help contents can be retrieved from the Internet via the Update-Help cmdlet. Alternatively, help from the web can be acquired on a case-by-case basis via the -online switch to Get-Help.

  1. ^ "Release v7.4.1 Release of PowerShell · PowerShell/PowerShell". PowerShell/PowerShell repo. Microsoft. Retrieved January 11, 2024 – via GitHub.com.
  2. ^ "PowerShell for every system!". June 12, 2017 – via GitHub.com.
  3. ^ Snover, Jeffrey (May 25, 2008). "PowerShell and WPF: WTF". Windows PowerShell Blog. Microsoft.
  4. ^ a b Cite error: The named reference ars-opensource was invoked but never defined (see the help page).
  5. ^ "Announcing Windows 10 Insider Preview Build 14971 for PC".
  6. ^ "PowerShell is replacing Command Prompt".
  7. ^ a b Cite error: The named reference how was invoked but never defined (see the help page).
  8. ^ Truher, Jim (December 2007). "Extend Windows PowerShell With Custom Commands". MSDN Magazine. Microsoft. Archived from the original on October 6, 2008.
  9. ^ Lowe, Scott (January 4, 2007). "Exchange 2007: Get used to the command line". TechRepublic. CBS Interactive. Archived from the original on November 16, 2018. Retrieved May 12, 2020.
  10. ^ Snover, Jeffrey (November 13, 2007). "SQL Server Support for PowerShell!". Windows PowerShell Blog (blog posting). Microsoft. Archived from the original on November 15, 2007. Retrieved November 13, 2007.

and 21 Related for: PowerShell information

Request time (Page generated in 0.6101 seconds.)

PowerShell

Last Update:

PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language...

Word Count : 8116

Windows Server 2016

Last Update:

administration conveniences such as virtual machine console connections and Powershell Direct Full support for converting existing non-shielded Generation 2...

Word Count : 3616

Jeffrey Snover

Last Update:

On Powershell Gallery Windows Server, the Story of 3 DEC Engineers Microsoft 365 internals explained | Microsoft Graph, substrate, and PowerShell with...

Word Count : 561

Unary operation

Last Update:

Logical negation: !$x Simple expansion: $x Complex expansion: ${#x} In the PowerShell, the following operators are unary: Increment: ++$x, $x++ Decrement: --$x...

Word Count : 574

Windows Task Scheduler

Last Update:

infrastructure is the basis for the Windows PowerShell scheduled jobs feature introduced with PowerShell v3. Task Scheduler can be compared to cron or...

Word Count : 2270

Null coalescing operator

Last Update:

since version 7.0.0., Perl since version 5.10 as logical defined-or, PowerShell since 7.0.0, and Swift as nil-coalescing operator. While its behavior...

Word Count : 2180

Azure AD Connect

Last Update:

Installs pre-requisites like the .NET Framework, Azure Active Directory Powershell Module and Microsoft Online Services Sign-In Assistant Installs and configures...

Word Count : 729

PowerCLI

Last Update:

PowerCLI is a PowerShell-based command-line interface for managing VMware vSphere. VMware describes PowerCLI as "a powerful command-line tool that lets...

Word Count : 107

Comparison of command shells

Last Update:

module can be used with PowerShell v3.0+, and is bundled with v5.0 onwards. It is loaded by default in the command line host "powershell.exe" since v5.0. Take...

Word Count : 4511

CURL

Last Update:

library that comes with a command line interface PowerShell – the iwr (Invoke-WebRequest) Windows PowerShell had functionality similar to curl; class Web-client...

Word Count : 1188

SharePoint

Last Update:

is managed through either a PowerShell interface, or a Central Administration website (which relies partly on PowerShell's infrastructure). Each server...

Word Count : 3855

Windows service

Last Update:

Windows Event log service. C:\>sc query eventlog The Microsoft.PowerShell.Management PowerShell module (included with Windows) has several cmdlets which can...

Word Count : 1232

Hard link

Last Update:

of PowerShell To interrogate a file for its hard links, end-users can use: The fsutil utility The Get-Item and Get-ChildItem cmdlets of PowerShell. These...

Word Count : 1548

Infrastructure as code

Last Update:

2016). "DevOps, Infrastructure as Code, and PowerShell DSC: The Introduction". PowerShell Magazine. PowerShell Magazine. Retrieved 11 January 2016. "Introducing...

Word Count : 1257

List of programming languages by type

Last Update:

(a Unix shell) Hamilton C shell (a C shell for Windows) ksh (a standard Unix shell, written by David Korn) PowerShell (.NET-based CLI) Rc (shell for Plan...

Word Count : 7027

Alpine Linux

Last Update:

14 April 2023. sdwheeler (17 March 2023). "Installing PowerShell on Alpine Linux - PowerShell". learn.microsoft.com. Retrieved 14 April 2023. Official...

Word Count : 912

Pushd and popd

Last Update:

command-line interpreters, such as 4DOS, Bash, C shell, tcsh, Hamilton C shell, KornShell, cmd.exe and PowerShell, and for various operating systems including...

Word Count : 526

Escape character

Last Update:

separator; therefore, it generally cannot be used as an escape character. PowerShell uses backtick ( ` ) instead. For example, the following command: PS C:\>...

Word Count : 1503

Background Intelligent Transfer Service

Last Update:

BITSAdmin utility is deprecated in favor of Windows PowerShell cmdlets. The BitsTransfer PowerShell module provides eight cmdlets with which to manage...

Word Count : 1520

Eval

Last Update:

result as a command. sh(1) – FreeBSD General Commands Manual In Windows PowerShell, the Invoke-Expression Cmdlet serves the same purpose as the eval function...

Word Count : 2976

Windows Management Instrumentation

Last Update:

(DMTF). WMI allows scripting languages (such as VBScript or Windows' PowerShell) to manage Microsoft Windows personal computers and servers, both locally...

Word Count : 3162

PDF Search Engine © AllGlobal.net