พาวเวอร์เชลล์

จากวิกิพีเดีย สารานุกรมเสรี
PowerShell
Screenshot of a PowerShell 7 session in Windows Terminal
กระบวนทัศน์Imperative, pipeline, object-oriented, functional and reflective
ผู้ออกแบบJeffrey Snover, Bruce Payette, James Truher (et al.)
ผู้พัฒนาMicrosoft
เริ่มเมื่อ14 พฤศจิกายน 2006; 17 ปีก่อน (2006-11-14)
รุ่นเสถียร
7.4.1 / 11 มกราคม 2024; 3 เดือนก่อน (2024-01-11)[1]
ระบบชนิดตัวแปรStrong, safe, implicit and dynamic
ภาษาโปรแกรมC#
แพลตฟอร์มPowerShell: .NET
Windows PowerShell: .NET Framework
ระบบปฏิบัติการ
สัญญาอนุญาตMIT License[2] (but the Windows component remains proprietary)
นามสกุลของไฟล์
  • .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)
เว็บไซต์microsoft.com/powershell
ได้รับอิทธิพลจาก
Python, Ksh, Perl, C#, CL, DCL, SQL, Tcl, Tk,[3] Chef, Puppet

พาวเวอร์เชลล์ (PowerShell) เป็นโปรแกรมทำงานอัตโนมัติและกำหนดการตั้งค่าจากไมโครซอฟท์ ซึ่งประกอบด้วยเชลล์บรรทัดคำสั่ง และภาษาสคริปต์ ที่เกี่ยวข้อง เริ่มแรกเป็นส่วนประกอบของ Windows เท่านั้นหรือที่เรียกว่า Windows PowerShell มันถูกแปลงเป็นซอฟต์แวร์โอเพนซอร์สที่ข้ามแพลตฟอร์ม เมื่อวันที่ 18 สิงหาคม 2016 ด้วยการเปิดตัว PowerShell Core[4] อดีตถูกสร้างขึ้นด้วย .NET Framework แต่ปัจจุบันด้วย.NET (เดิมคือ .NET Core)

พาวเวอร์เชลล์มาพร้อมกับ Windows เวอร์ชัน ที่ยังคงรองรับทั้งหมดในปัจจุบัน (และก็รองรับแพลตฟอร์มอื่นด้วยที่ได้ติดตั้งมาล่วงหน้าและต้องใช้สคริปต์ติดตั้ง เช่น ลินุกซ์) และตั้งแต่ Windows 10 build 14971 พาวเวอร์เชลล์ก็ได้แทนที่ Command Prompt (cmd.exe) และกลายเป็น เชลล์คำสั่งปริยายสำหรับไฟล์เอ็กซ์พลอเรอร์[5][6]

ดูเพิ่ม[แก้]

อ้างอิง[แก้]

  1. "Release v7.4.1 Release of PowerShell · PowerShell/PowerShell". PowerShell/PowerShell repo (ภาษาอังกฤษ). Microsoft. สืบค้นเมื่อ 2024-01-11 – โดยทาง GitHub.com.
  2. "PowerShell for every system!". June 12, 2017 – โดยทาง GitHub.com.
  3. Snover, Jeffrey (May 25, 2008). "PowerShell and WPF: WTF". Windows PowerShell Blog. Microsoft.
  4. Bright, Peter (August 18, 2016). "PowerShell is Microsoft's latest open source release, coming to Linux, OS X". Ars Technica. Condé Nast. เก็บจากแหล่งเดิมเมื่อ April 9, 2020. สืบค้นเมื่อ May 12, 2020.
  5. "Announcing Windows 10 Insider Preview Build 14971 for PC".
  6. "PowerShell is replacing Command Prompt".
อ้างอิงผิดพลาด: ป้ายระบุ <ref> ชื่อ "how" ซึ่งนิยามใน <references> ไม่ถูกใช้ในข้อความก่อนหน้า

อ่านเพิ่มเติม[แก้]

แหล่งข้อมูลอื่น[แก้]

แม่แบบ:Windows Componentsแม่แบบ:Windows commandsแม่แบบ:Common Language Infrastructureแม่แบบ:Microsoft APIsแม่แบบ:Microsoft FOSS