Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
PowerShell
PowerShell
Repository navigation
Code
Issues
1.3k
(1.3k)
Pull requests
360
(360)
Discussions
Actions
Projects
Security and quality
3
(3)
Insights
More
items
Commits
Breadcrumbs
History for
PowerShell
test
powershell
Language
Classes
on
hyperVsocket
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 24, 2025
Use `[initialsessionstate]` type accelerator (#25912)
xtqqczze
authored
82d5913
View commit details
Copy full SHA for 82d5913
View code at this point
Browse repository at this point
Commits on May 12, 2025
Make inherited protected internal instance members accessible in PowerShell class scope (#25245)
Matthias Wolf (mawosoft)
authored
eb1cc6d
View commit details
Copy full SHA for eb1cc6d
View code at this point
Browse repository at this point
Commits on Dec 10, 2024
Add support for interface static abstract props
Show description for 294adb4
Jordan Borean (jborean93)
authored and
Patrick Meinecke (SeeminglyScience)
committed
294adb4
View commit details
Copy full SHA for 294adb4
View code at this point
Browse repository at this point
Commits on Mar 13, 2024
Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331)
Dongbo Wang (daxian-dbw)
authored
4e357f1
View commit details
Copy full SHA for 4e357f1
View code at this point
Browse repository at this point
Commits on Sep 22, 2022
Make PowerShell class not affiliate with `Runspace` when declaring the `NoRunspaceAffinity` attribute (#18138)
Dongbo Wang (daxian-dbw)
authored
79b8140
View commit details
Copy full SHA for 79b8140
View code at this point
Browse repository at this point
Commits on Jul 20, 2021
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406)
Steve Lee (SteveL-MSFT)
authored
b5efe7b
View commit details
Copy full SHA for b5efe7b
View code at this point
Browse repository at this point
Commits on May 23, 2020
Wrap tests in pester blocks (#12700)
Show description for 1f252f8
xtqqczze
authored
1f252f8
View commit details
Copy full SHA for 1f252f8
View code at this point
Browse repository at this point
Commits on May 7, 2020
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584)
xtqqczze
authored
f438220
View commit details
Copy full SHA for f438220
View code at this point
Browse repository at this point
Commits on Apr 30, 2020
Allow `/` in relative paths for `using module` (#7424) (#12492)
Josh Cotton (jcotton42)
authored
c19a417
View commit details
Copy full SHA for c19a417
View code at this point
Browse repository at this point
Commits on Mar 24, 2020
Update copyright notice to latest guidance (#12190)
Steve Lee (SteveL-MSFT)
authored
b7cb335
View commit details
Copy full SHA for b7cb335
View code at this point
Browse repository at this point
Commits on Feb 3, 2020
Set `StrictMode` version `3.0` (#11563)
xtqqczze
authored
2014ce6
View commit details
Copy full SHA for 2014ce6
View code at this point
Browse repository at this point
Commits on Jan 24, 2020
Unify pester test syntax for the arguments of `-BeOfType` (#11558)
xtqqczze
authored and
Dongbo Wang (daxian-dbw)
committed
920b671
View commit details
Copy full SHA for 920b671
View code at this point
Browse repository at this point
Commits on Jan 13, 2020
Fix false positives
xtqqczze
committed
a454352
View commit details
Copy full SHA for a454352
View code at this point
Browse repository at this point
Correct case of $PWD special variable
xtqqczze
committed
4a9d70f
View commit details
Copy full SHA for 4a9d70f
View code at this point
Browse repository at this point
Correct case of $error special variable
xtqqczze
committed
b6a687b
View commit details
Copy full SHA for b6a687b
View code at this point
Browse repository at this point
Correct case of $LASTEXITCODE special variable
xtqqczze
committed
04b292a
View commit details
Copy full SHA for 04b292a
View code at this point
Browse repository at this point
Correct case of $Matches special variable
xtqqczze
committed
89e33f5
View commit details
Copy full SHA for 89e33f5
View code at this point
Browse repository at this point
Commits on Jan 11, 2020
Update pester syntax to v4 (#11544)
Show description for 7439833
xtqqczze
authored and
Ilya (iSazonov)
committed
7439833
View commit details
Copy full SHA for 7439833
View code at this point
Browse repository at this point
Commits on Jun 25, 2019
Allow methods to be named after keywords (#9812)
Rain Sallow (/u/ta11ow) (vexx32)
authored and
Dongbo Wang (daxian-dbw)
committed
86a1697
View commit details
Copy full SHA for 86a1697
View code at this point
Browse repository at this point
Commits on Feb 19, 2019
Flatten interface hierarchy when generating properties that implement interface properties (#8382)
Show description for 0a57021
Mathias R. Jessen (IISResetMe)
authored and
Dongbo Wang (daxian-dbw)
committed
0a57021
View commit details
Copy full SHA for 0a57021
View code at this point
Browse repository at this point
Commits on Jan 17, 2019
Allow user-specified underlying type for enums (#8329)
Show description for 59a3696
Mathias R. Jessen (IISResetMe)
authored and
Travis Plunk (TravisEz13)
committed
59a3696
View commit details
Copy full SHA for 59a3696
View code at this point
Browse repository at this point
Commits on Jan 15, 2019
Revise use of Start-Sleep cmdlet (#8633)
Show description for 6126624
xtqqczze
authored and
Ilya (iSazonov)
committed
6126624
View commit details
Copy full SHA for 6126624
View code at this point
Browse repository at this point
Commits on Jan 4, 2019
Avoid use of mkdir alias in *.ps1 and *.psm1 (#8582)
xtqqczze
authored and
Ilya (iSazonov)
committed
f0f301b
View commit details
Copy full SHA for f0f301b
View code at this point
Browse repository at this point
Commits on Dec 28, 2018
Remove use of cmdlet aliases from .\test\powershell (#8546)
xtqqczze
authored and
Ilya (iSazonov)
committed
70de294
View commit details
Copy full SHA for 70de294
View code at this point
Browse repository at this point
Commits on Dec 20, 2018
Add Tests for ConfirmImpact Ratings (#8214)
Rain Sallow (/u/ta11ow) (vexx32)
authored and
Ilya (iSazonov)
committed
64bbdbe
View commit details
Copy full SHA for 64bbdbe
View code at this point
Browse repository at this point
Commits on Nov 30, 2018
Conditionally mark getter/setter implementations virtual in generated classes (#8303)
Show description for 950377f
Mathias R. Jessen (IISResetMe)
authored and
Ilya (iSazonov)
committed
950377f
View commit details
Copy full SHA for 950377f
View code at this point
Browse repository at this point
Commits on Nov 14, 2018
Remove extra newlines from formatting which resulted in necessary double newlines (#8247)
Steve Lee (SteveL-MSFT)
authored and
Ilya (iSazonov)
committed
43e0394
View commit details
Copy full SHA for 43e0394
View code at this point
Browse repository at this point
Commits on Aug 29, 2018
Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (#7622) (#7624)
Yuriy Kushnir (yurko7)
authored and
Dongbo Wang (daxian-dbw)
committed
165f2c9
View commit details
Copy full SHA for 165f2c9
View code at this point
Browse repository at this point
Commits on Jul 2, 2018
Methods with return type [object] should return null for an empty result (#7138)
Bruce Payette
authored and
Dongbo Wang (daxian-dbw)
committed
dbaa1ad
View commit details
Copy full SHA for dbaa1ad
View code at this point
Browse repository at this point
Commits on May 17, 2018
Convert `ShouldBeErrorId` to `Should -Throw -ErrorId` in PowerShell tests (#6682)
Show description for 2df9aac
Klaudia Algiz (kalgiz)
authored and
Travis Plunk (TravisEz13)
committed
2df9aac
View commit details
Copy full SHA for 2df9aac
View code at this point
Browse repository at this point
Commits on May 2, 2018
Update PowerShell to build with .NET Core SDK 2.1.300-rc1-008662 (#6718)
Show description for 84344cb
Ilya (iSazonov)
authored and
Dongbo Wang (daxian-dbw)
committed
84344cb
View commit details
Copy full SHA for 84344cb
View code at this point
Browse repository at this point
Commits on Apr 30, 2018
Add tests for PowerShell classes inheriting from abstract .NET classes (#6752)
Rob Holt (rjmholt)
authored and
Dongbo Wang (daxian-dbw)
committed
0c3f429
View commit details
Copy full SHA for 0c3f429
View code at this point
Browse repository at this point
Commits on Mar 21, 2018
Use new Pester syntax: -Parameter for Pester tests in Language. (#6304)
Klaudia Algiz (kalgiz)
authored and
Travis Plunk (TravisEz13)
committed
ceef2e3
View commit details
Copy full SHA for ceef2e3
View code at this point
Browse repository at this point
Commits on Mar 7, 2018
Rename some tests because they are duplicates (#6312)
Show description for 30e9e30
James Truher (JamesWTruher)
authored and
Aditya Patwardhan (adityapatwardhan)
committed
30e9e30
View commit details
Copy full SHA for 30e9e30
View code at this point
Browse repository at this point
Commits on Feb 13, 2018
Update copyright and license headers (#6134)
Show description for c1c5344
Steve Lee (SteveL-MSFT)
authored and
Travis Plunk (TravisEz13)
committed
c1c5344
View commit details
Copy full SHA for c1c5344
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.