Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
powercode
/
PowerShell
Public
forked from
PowerShell/PowerShell
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
11
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
PowerShell
src
System.Management.Automation
security
nativeMethods.cs
on
master
User selector
All users
All time
Commit history
Commits on Oct 20, 2025
Remove redundant `CharSet` from `StructLayout` attributes. Part 1 (#26216)
xtqqczze
authored
fcb0e5c
View commit details
Copy full SHA for fcb0e5c
View code at this point
Browse repository at this point
Commits on Feb 7, 2025
Remove redundant `Attribute` suffix (#24940)
xtqqczze
authored
1790f3a
View commit details
Copy full SHA for 1790f3a
View code at this point
Browse repository at this point
Commits on Nov 18, 2022
Remove `ArchitectureSensitiveAttribute` from the code base (#18598)
iSazonov
authored
6aa74c5
View commit details
Copy full SHA for 6aa74c5
View code at this point
Browse repository at this point
Commits on Aug 8, 2022
Migrate `WinTrust` functions to a common location (#17598)
jborean93
authored
135e94d
View commit details
Copy full SHA for 135e94d
View code at this point
Browse repository at this point
Commits on Apr 20, 2022
Use new Windows signature APIs from `Microsoft.Security.Extensions` package (#17159)
Show description for 8d453da
3 people
authored
8d453da
View commit details
Copy full SHA for 8d453da
View code at this point
Browse repository at this point
Commits on Jul 7, 2021
Enable IDE0044: MakeFieldReadonly (#13880)
Show description for 03b07a0
xtqqczze
authored
03b07a0
View commit details
Copy full SHA for 03b07a0
View code at this point
Browse repository at this point
Commits on Jan 8, 2021
Enable CA1052: Static holder types should be Static or NotInheritable (#14483)
Show description for 50fd950
xtqqczze
authored
50fd950
View commit details
Copy full SHA for 50fd950
View code at this point
Browse repository at this point
Commits on Dec 9, 2020
Mark applicable structs as readonly and use in-modifier (#13919)
xtqqczze
authored
41ab20c
View commit details
Copy full SHA for 41ab20c
View code at this point
Browse repository at this point
Commits on Nov 21, 2020
Enable SA1106: Code should not contain empty statements (#13964)
Show description for cba73e7
xtqqczze
authored
cba73e7
View commit details
Copy full SHA for cba73e7
View code at this point
Browse repository at this point
Commits on Nov 20, 2020
Enable SA1131: Use readable conditions (#14132)
Show description for 99a49e0
xtqqczze
authored
99a49e0
View commit details
Copy full SHA for 99a49e0
View code at this point
Browse repository at this point
Commits on Nov 4, 2020
Run `dotnet-format` to improve formatting of source code (#13503)
xtqqczze
authored
52ecb6d
View commit details
Copy full SHA for 52ecb6d
View code at this point
Browse repository at this point
Commits on Oct 25, 2020
Remove unnecessary using in security folder (#13861)
ThomasNieto
authored
9bbba28
View commit details
Copy full SHA for 9bbba28
View code at this point
Browse repository at this point
Commits on Sep 23, 2020
Update PowerShell to build against dotnet 5.0-RC.1 (#13643)
daxian-dbw
authored
10237bd
View commit details
Copy full SHA for 10237bd
View code at this point
Browse repository at this point
Commits on May 29, 2020
Formatting: Add empty line between declarations (#12824)
Show description for 05cab7f
xtqqczze
authored
05cab7f
View commit details
Copy full SHA for 05cab7f
View code at this point
Browse repository at this point
Commits on Mar 24, 2020
Update copyright notice to latest guidance (#12190)
SteveL-MSFT
authored
b7cb335
View commit details
Copy full SHA for b7cb335
View code at this point
Browse repository at this point
Commits on Mar 19, 2020
Move to `.NET 5 preview.1` (#12140)
SteveL-MSFT
authored
495dea0
View commit details
Copy full SHA for 495dea0
View code at this point
Browse repository at this point
Commits on Mar 11, 2019
Using supported syntax for restoring warnings - VS2019 complains about enable. (#9107)
powercode
authored and
iSazonov
committed
6c049d0
View commit details
Copy full SHA for 6c049d0
View code at this point
Browse repository at this point
Commits on Feb 27, 2019
Cleanup dllimport (#8847)
iSazonov
authored
11ae24f
View commit details
Copy full SHA for 11ae24f
View code at this point
Browse repository at this point
Commits on Jan 9, 2019
Style: Change first char to upper in summary comments (#8597)
iSazonov
authored and
adityapatwardhan
committed
d801544
View commit details
Copy full SHA for d801544
View code at this point
Browse repository at this point
Commits on Jan 6, 2019
Style: Add a space after "//" in comments and remove unneeded comments after "}" (#8576)
iSazonov
authored and
daxian-dbw
committed
233b54e
View commit details
Copy full SHA for 233b54e
View code at this point
Browse repository at this point
Commits on Jan 5, 2019
Style: Add the ending period to the XML document texts (#8577)
iSazonov
authored and
daxian-dbw
committed
1be3f4c
View commit details
Copy full SHA for 1be3f4c
View code at this point
Browse repository at this point
Commits on Dec 24, 2018
Code cleanup: Add space after closing brace where needed (#8530)
Show description for 4af3068
SteveL-MSFT
authored and
iSazonov
committed
4af3068
View commit details
Copy full SHA for 4af3068
View code at this point
Browse repository at this point
Commits on Dec 22, 2018
Change 'String' to 'string' for simple references (#8519)
daxian-dbw
authored and
iSazonov
committed
289981a
View commit details
Copy full SHA for 289981a
View code at this point
Browse repository at this point
Commits on Jun 20, 2018
Don't fail if SaferPolicy API is not available on Win10 IoT or NanoServer (#7075)
Show description for abcdce4
SteveL-MSFT
authored and
adityapatwardhan
committed
abcdce4
View commit details
Copy full SHA for abcdce4
View code at this point
Browse repository at this point
Commits on Jun 12, 2018
CodeFactor code style cleanup: replace literal empty strings with 'string.Empty' (#6950)
iSazonov
authored and
daxian-dbw
committed
e177fca
View commit details
Copy full SHA for e177fca
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
SteveL-MSFT
authored and
TravisEz13
committed
c1c5344
View commit details
Copy full SHA for c1c5344
View code at this point
Browse repository at this point
Commits on Oct 26, 2017
Use consistent '(c)' for copyright symbol (#5210)
Show description for 4bc52d2
SteveL-MSFT
authored and
daxian-dbw
committed
4bc52d2
View commit details
Copy full SHA for 4bc52d2
View code at this point
Browse repository at this point
Commits on Aug 4, 2017
Use supported API to set CAPID in the SACL (#4496)
TravisEz13
authored and
daxian-dbw
committed
7a03b0c
View commit details
Copy full SHA for 7a03b0c
View code at this point
Browse repository at this point
Commits on Jul 30, 2017
Clean up ClrFacade.cs - remove ClrFacade.PtrToStructure (#4379)
daxian-dbw
authored
1462ac3
View commit details
Copy full SHA for 1462ac3
View code at this point
Browse repository at this point
Clean up ClrFacade.cs - remove ClrFacade.DestroyStructure (#4378)
daxian-dbw
authored
dce0bab
View commit details
Copy full SHA for dce0bab
View code at this point
Browse repository at this point
Commits on Jun 19, 2017
Remove unused P/Invoke method declarations (#4041)
TravisEz13
authored and
daxian-dbw
committed
a8f9826
View commit details
Copy full SHA for a8f9826
View code at this point
Browse repository at this point
Commits on May 23, 2017
Remove undocumented certificate Win32 APIs (#3818)
Show description for 3496136
TravisEz13
authored and
daxian-dbw
committed
3496136
View commit details
Copy full SHA for 3496136
View code at this point
Browse repository at this point
Commits on Apr 17, 2017
Move powershell to .NET Core 2.0 (#3556)
Show description for 7a55bf9
daxian-dbw
authored
7a55bf9
View commit details
Copy full SHA for 7a55bf9
View code at this point
Browse repository at this point
Commits on Jan 16, 2017
Remove trailing whitespace (#3001)
lzybkr
authored
02b5f35
View commit details
Copy full SHA for 02b5f35
View code at this point
Browse repository at this point
Commits on Aug 3, 2016
Refactoring - adjust modifiers declaration order
PowerShellTeam
authored and
lzybkr
committed
85d6e9f
View commit details
Copy full SHA for 85d6e9f
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.