PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

PowerShell

PowerShell

PowerShell is a pl created in 2006 by Jeffrey Snover.

#37on PLDB 16Years Old 208.7kUsers
107Books 3Papers 161kRepos

Try now: Riju · TIO

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


Example from Riju:
Write-Host "Hello, world!"
Example from hello-world:
'Hello World'
Example from the Hello World Collection:
# Hello World in Microsoft Powershell 'Hello World!'
Example from Linguist:
#!/usr/bin/env pwsh # source: https://github.com/PowerShell/PowerShellStandard/blob/3436bfc162d6804dd11d1d76c4faff486b4b405d/build.ps1 param ( [Parameter(ParameterSetName="Clean")][switch]$Clean, [Parameter(ParameterSetName="Test")][switch]$Test ) import-module $PSScriptRoot/PowerShellStandard.psm1 -force if ( $Clean ) { Start-Clean return } Start-Build if ( $Test ) { Invoke-Test }
Example from Wikipedia:
name value1 value2 name -Param1 value1 -Param2 value2

Keywords in PowerShell

begin break catch class continue data define do dynamicparam else elseif end exit filter finally for foreach from function if in param process return switch throw trap try until using var while workflow parallel sequence inlinescript configuration

Language features

Feature Supported Example Token
Conditionals
Switch Statements
Functions
Exceptions
Classes
While Loops
MultiLine Comments
<# A comment
#>
<# #>
Strings '
Assignment =
Print() Debugging echo
Line Comments
# A comment
#
Comments
Semantic Indentation ϴ

Books about PowerShell on goodreads

title author year reviews ratings rating
Windows PowerShell for Developers Douglas Finke 2012 7 64 3.70
Powershell: Comprehensive Beginner's Guide to Learn Powershell Programming Daniel Jones 0 2 1.00
Windows PowerShell 2 for Dummies Steve Seguis 2009 1 18 3.94

Books about PowerShell from ISBNdb

title authors year publisher
Windows PowerShell Programming for the Absolute Beginner, 3rd Ford, Jr. Jerry Lee 2014 Cengage Learning PTR
Windows PowerShell for Developers: Enhance Your Productivity and Enable Rapid Application Development Finke, Douglas 2012 O'Reilly Media
Windows PowerShell in Action, Second Edition Payette, Bruce 2011 Manning Publications
Windows PowerShell 4.0 for .NET Developers Talaat, Sherif 2014 Packt Publishing
Windows PowerShell 3.0 Step by Step (Step by Step Developer) Wilson, Ed 2013 Microsoft Press
Essential PowerShell Schwichtenberg, Holger 2008 Addison-Wesley Professional
Professional Windows PowerShell Programming: Snapins, Cmdlets, Hosts and Providers (Wrox Professional Guides) Kumaravel, Arul and White, Jon and Li, Michael Naixin and Happell, Scott and Xie, Guohui and Vutukuri, Krishna C. 2008 Wrox
Windows PowerShell Desired State Configuration Revealed Chaganti, Ravikanth 2014 Apress
Powershell: Tips and Tricks to Learn Powershell Programming (Volume 2) Jones, Mr Daniel 2017 CreateSpace Independent Publishing Platform
Powershell: Comprehensive Beginner's Guide to Learn Powershell Programming (Volume 1) Jones, Mr Daniel 2017 CreateSpace Independent Publishing Platform
Powershell: Become A Master In Powershell Richard Dorsey 2017 Createspace Independent Publishing Platform
PowerShell: PowerShell Command Line 2017 - Easy Beginners Guide To Write And Run Scripts And Learn Basic PowerShell Commands! (Programming, C++, SQL) Nelson, Francisco 2017 CreateSpace Independent Publishing Platform
Troubleshooting SharePoint: The Complete Guide to Tools, Best Practices, PowerShell One-Liners, and Scripts Simpkins, Stacy 2017 Apress
Cmd Your Computer: Using Command Prompt, Powershell & Run Commands To Control And Program In The 21st Century. Cask J. Thomson 2012 Createspace Independent Publishing Platform
PowerShell 7 for IT Professionals: A Guide to Using PowerShell 7 to Manage Windows Systems Lee, Thomas 2020 Wiley
Learn Windows PowerShell in a Month of Lunches Jones, Don 2016 Manning
PowerShell for Sysadmins: Workflow Automation Made Easy Bertram, Adam 2020 No Starch Press
Windows PowerShell Pocket Reference: Portable Help for PowerShell Scripters (Pocket Reference (O'Reilly)) Holmes, Lee 2013 O'Reilly Media
Pro PowerShell for Amazon Web Services Beach, Brian and Armentrout, Steven and Bozo, Rodney and Tsouris, Emmanuel 2019 Apress
Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft's Command Shell Holmes, Lee 2013 O'Reilly Media
Windows PowerShell Step by Step Wilson, Ed 2015 Microsoft Press
PowerShell and Python Together: Targeting Digital Investigations Hosmer, Chet 2019 Apress
PowerShell: For Beginners! Master The PowerShell Command Line In 24 Hours (Python Programming, Javascript, Computer Programming, C++, SQL, Computer Hacking, Programming) Artuso, Alex 2016 CreateSpace Independent Publishing Platform
Pro PowerShell Desired State Configuration: An In-Depth Guide to Windows PowerShell DSC Chaganti, Ravikanth 2018 Apress
Microsoft Windows PowerShell 2.0 Programming for the Absolute Beginner, 2nd Edition Ford, Jr. Jerry Lee 2008 Cengage Learning PTR
PowerShell in Depth: An administrator's guide Jones, Don and Siddaway, Richard and Hicks, Jeffrey 2013 Manning Publications
Microsoft Hyper-V PowerShell Automation Menon, Vinith 2015 Packt Publishing
Pro PowerShell for Database Developers Cafferky, Bryan P. 2015 Apress
Windows PowerShell for .NET Developers - Second Edition Venkatesan, Chendrayan and Talaat, Sherif 2015 Packt Publishing
Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft's New Command Shell Holmes, Lee 2010 O'Reilly Media
Powershell: The Ultimate Windows Powershell Beginners Guide. Learn Powershell Scripting In A Day! (Powershell, Powershell guide, Powershell scripting, ... Hacking, Tor, Programming, Command Line) Jones, Jack 2017 CreateSpace Independent Publishing Platform
Microsoft Exchange Server PowerShell Essentials Banerjee, Biswanath 2016 Packt Publishing
Microsoft System Center PowerShell Essentials HP, Guruprasad and Patel, Harshul 2015 Packt Publishing
Troubleshooting Windows Server with PowerShell Schauland, Derek and Jacobs, Donald 2016 Apress
Pro PowerShell for Amazon Web Services: DevOps for the AWS Cloud Beach, Brian 2014 Apress
Microsoft Windows PowerShell Programming for the Absolute Beginner Ford Jr., Jerry Lee 2006 Cengage Learning PTR
Microsoft Exchange Server 2013 Powershell Cookbook: Second Edition Andersson, Jonas and Pfeiffer, Mike 2013 Packt Publishing
Beginning PowerShell for SharePoint 2013 Charlebois-Laprade, Nikolas 2014 Apress
Essential PowerShell Schwichtenberg Holger 2008 Sams Publishing
Automating Active Directory Administration with Windows PowerShell 2.0 St. Cyr, Ken and Hunter, Laura E. 2011 Sybex
CMD Your Computer: An In-Depth Guide to Command Prompt, Batch Programming and Powershell Thomson, Cask J. 2018 Independently published
Microsoft SQL Server 2008 Administration with Windows PowerShell Muthusamy, Ananthakumar 2009 Wrox
Windows PowerShell 2.0 Best Practices (IT Best Practices - Microsoft Press) Ed Wilson 2009 Microsoft Press
Pro Windows PowerShell Deshev, Hristo 2008 Apress
Pro Exchange 2013 SP1 PowerShell Administration: For Exchange On-Premises and Office 365 de Rooij, Michel and Wesselius, Jaap 2014 Apress
PowerShell Programming, For Beginners, Quick Start Guide: PowerShell Programming Language Crash Course Tutorial, Textbook & Exercises Yao, Ray 2022 Independently published
Automating SharePoint 2010 with Windows PowerShell 2.0 Lapointe, Gary and Bray, Shannon 2011 Sybex
Windows PowerShell for .NET Developers - Second Edition Venkatesan, Chendrayan and Talaat, Sherif 2015 Packt Publishing
Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook Pentsarskyy, Yaroslav 2011 Packt Publishing
Powershell: Advanced Strategies to Learn and Execute Powershell Programming (Volume 5) Jones, Mr Daniel 2017 CreateSpace Independent Publishing Platform
PowerShell: For Beginners! - Learn How To Write And Run Scripts From The PowerShell Command Line (Python Programming, Javascript, Computer Programming) Larson, David 2016-09-17T00:00:01Z CreateSpace Independent Publishing Platform
Powershell: Best Practices to Learn and Execute Powershell Programming (Volume 4) Jones, Mr Daniel 2017 CreateSpace Independent Publishing Platform
Advanced Programming With Sample Codings: 4 Books In 1- Arduino, C++, Powershell and Python Programming with Sample Designs and Codings Webber, Zach 2018 Independently published
PowerShell Troubleshooting Guide Shepard, Michael 2014 Packt Publishing
PowerShell: The Utmost Intermediate Course Guide in Fundamentals and Concept of PowerShell Programming (Volume 2) Webber, Zach 2018-05-20T00:00:01Z CreateSpace Independent Publishing Platform
Powershell: The What, When and How of Powershell (David Chang - Programming) (Volume 1) Chang, David 2017 CreateSpace Independent Publishing Platform
Powershell: 2 Books in 1: The Comprehensive Beginners Guide to Taking Control of The PowerShell Command Line & Best Practices to Excel While Learning PowerShell Programming Price, Miles 2018-05-20T00:00:01Z CreateSpace Independent Publishing Platform
PowerShell: Best Practices to Excel While Learning PowerShell Programming Price, Miles 2018 CreateSpace Independent Publishing Platform
Programming for Beginners: 6 Books in 1- Powershell Programming(3 Book series) & Docker Programming(3 Book series) Jones, Mr Daniel 2017 CreateSpace Independent Publishing Platform
Windows Powershell 2 For Dummies Steve Seguis 2009 For Dummies
Acp Ms Windows Powershell Programming Jerry Lee Ford Jr.
Windows Server 2016 Automation with PowerShell Cookbook - Second Edition Thomas Lee 21-09-2017 Packt Publishing
PowerShell Cookbook Lee Holmes 20210616 O'Reilly Media, Inc.
Learning PowerShell Jonathan Hassell 20170320 De Gruyter
Powershell: The Ultimate Windows Powershell Beginners Guide - Part 2. Take Your Powershell Scripting Further! (powershell, Powershell Guide, ... Hacking, Tor, Programming, Command Line) Jack Jones 2017-06-14 Createspace Independent Publishing Platform
PowerShell in Practice Richard Siddaway 20100607 Simon & Schuster
PowerShell for Beginners Ian Waters 20210611 Springer Nature
Mastering PowerShell Scripting Chris Dent 29-06-2021 Packt Publishing
Windows PowerShell Cookbook Lee Holmes 20121222 O'Reilly Media, Inc.
Windows PowerShell Cookbook Lee Holmes 20100819 O'Reilly Media, Inc.
PowerShell in Depth Don Jones; Jeffery Hicks; Richard Siddaway 20141031 Simon & Schuster
Pro Windows PowerShell Hristo Deshev 20080406 Springer Nature
PowerShell Pocket Reference Lee Holmes 20210422 O'Reilly Media, Inc.
PowerShell Fast Track Vikas Sukhija 20211125 Springer Nature
Windows PowerShell Cookbook Lee Holmes 20121222 O'Reilly Media, Inc.
Windows Powershell For Developers Douglas Finke 2016 O'Reilly Media, Incorporated
Instant Windows PowerShell Guide Harshul Patel 20131125 Packt Publishing
Windows PowerShell Pocket Reference Lee Holmes 20121210 O'Reilly Media, Inc.
Windows PowerShell for Developers Douglas Finke 20120706 O'Reilly Media, Inc.
Building Better PowerShell Code Adam Bertram 20201019 Springer Nature
Windows PowerShell Pocket Reference Lee Holmes 20121210 O'Reilly Media, Inc.
Windows PowerShell in Action Bruce Payette; Richard Siddaway 20170919 Simon & Schuster
Windows PowerShell 2.0 - Crashkurs Peter Monadjemi 20100224 O'Reilly Media, Inc.
Windows PowerShell for Developers Douglas Finke 20120706 O'Reilly Media, Inc.
Windows PowerShell 2.0 - Crashkurs Peter Monadjemi 20120601 O'Reilly Media, Inc.
Powershell: Simple And Effective Strategies To Execute Powershell Programming (volume 3) Mr Daniel Jones 2017 Createspace Independent Publishing Platform
Windows Powershell Step By Step Ed Wilson 2015 Microsoft Press
Powershell : The Complete Beginner's Guide Byron Francis 2016 Createspace Independent Publishing Platform
Powershell: The Ultimate Beginners Guide To Learn And Understand Powershell Programming Effectively Webber and Zach 2018 Createspace Independent Publishing Platform
Powershell: 21 Sample Codes And Advance Crash Course Guide In Powershell Programming Zach Webber 2018 Independently Published
PowerShell 3.0 Advanced Administration Handbook Sherif Talaat and Haijun Fu 2013-04-25 Packt Publishing
Beginning PowerShell for SharePoint 2016 Nikolas Charlebois-Laprade; John Edward Naguib 20170523 Springer Nature
Pro PowerShell for Microsoft Azure Sherif Talaat 20151124 Springer Nature
Windows Powershell Step By Step Wilson, Ed , 1957- (author.) Microsoft Press,
Essential PowerShell for Office 365 Vlad Catrinescu 20180327 Springer Nature
Powershell: Powershell Command Line Tips - Learn How To Write And Run Scripts, Plus Basic Powershell Commands! (python Programming, Computer Hacking, Programming) Chester Mckinney 2017 Createspace Independent Publishing Platform
Windows PowerShell 4.0 for .NET Developers Sherif Talaat 2014-01-16 Packt Publishing
Learn PowerShell Scripting in a Month of Lunches Don Jones; Jeffery Hicks 20171111 Simon & Schuster
Microsoft Windows Powershell Programming For The Absolute Beginner Jerry Lee Ford Nelson Education
Instant Windows Powershell 3.0 Windows Management Instrumentation Starter Brenton J.W. Blawat 20130326 Packt Publishing
Professional Windows Powershell Programming: Snapins, Cmdlets, Hosts And Providers Jon White and Arul Kumaravel and Michael Naixin Li and Scott Happell and Guohui Xie and Krishna C. Vutukuri 2008 John Wiley & Sons
Windows Server 2022 & Powershell All-in-One For Dummies Sara Perrott 2022-03-29 Wiley
Automating Active Directory Administration With Windows Powershell 2. 0 Ken St. Cyr and Laura E. Hunter 2011 Wiley & Sons, Incorporated, John
Powershell: The Complete 3 Books In 1 For Beginners, Intermediate And 21 Sample Codings And Advance Crash Course Guide In Powershell Programming Zach Webber 2018-11-03 Independently Published

Publications about PowerShell from Semantic Scholar

title authors year citations influentialCitations
Detecting Malicious PowerShell Commands using Deep Neural Networks Danny Hendler and Shay Kels and Amir Rubin 2018 54 8
AST-Based Deep Learning for Detecting Malicious PowerShell Gili Rusak and Abdullah Al-Dujaili and Una-May O’Reilly 2018 21 0
Working with PowerShell R. Garrett 2013 1 0
isbn.html · powershell.html · elixir.html

View source

PLDB - Build the next great programming language · v2022 · Day 29 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com