MartinGC94
1ac3ff15ac
Add tooltips for hashtable key completions ( #17864 )
2025-03-25 05:14:24 +00:00
Dongbo Wang
48b25da147
Remove the old fuzzy suggestion and fix the local script file name suggestion ( #25177 )
2025-03-17 10:19:15 -07:00
Armaan Mcleod
e127345820
Add -PropertyType argument completer for New-ItemProperty ( #21117 )
2024-12-25 17:27:44 +05:00
Jordan Borean
1e07bd0cb5
Add error for Get-PSSession -ComputerName on Unix ( #21009 )
2024-12-05 16:26:57 +05:00
Jordan Borean
c9bd109686
Fix Hyper-V Remoting when the module is imported via implicit remoting ( #24032 )
2024-08-01 11:19:47 -07:00
Steve Lee
2d83b95539
Fix Move-Item to throw error when moving into itself ( #24004 )
2024-07-08 23:53:17 +00:00
Armaan Mcleod
a284fd482b
Added progress bar for Remove-Item cmdlet ( #20778 )
2024-05-13 13:52:27 -04:00
David Kontyko
fe38405b1d
Separate DSC configuration parser check for ARM processor ( #21395 )
2024-04-22 16:03:42 -07:00
Dongbo Wang
783fb46e65
Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces ( #21162 )
2024-02-01 09:42:37 -08:00
Dongbo Wang
7d62cf54ac
Fix 4 issues for the WDAC logging feature ( #20913 )
2023-12-13 11:46:21 -08:00
Travis Plunk
687383bcc1
Block getting help from network locations in restricted remoting sessions ( #20593 )
2023-10-31 16:06:15 -07:00
Andrew
6d23f72def
Fixing regression in DSC ( #20268 )
2023-09-12 18:45:24 -07:00
Armaan Mcleod
2a7384cc71
Include Module Version in error messages when module is not found ( #20144 )
2023-09-12 21:59:29 +05:00
Armaan Mcleod
d24285f437
Remove input text from the error message resulted by SecureString and PSCredential conversion failure ( #19977 )
2023-07-17 10:30:10 -07:00
Sean Wheeler
fd586faa98
Update message to use the actual parameter name ( #19851 )
2023-06-23 12:49:40 -07:00
josea
16558c9414
Make Update-Help throw proper error when current culture is not associated with a language ( #19765 )
2023-06-20 09:49:46 -07:00
Paul Higinbotham
e5728b63bf
Add WDAC Audit logging ( #19641 )
2023-05-22 16:40:55 -07:00
Steve Lee
7888196b87
Add specific error message that creating Junctions requires absolute path ( #19409 )
2023-05-09 08:37:28 -07:00
Dongbo Wang
79b4b5c33f
Update the FeedbackProvider interface to return structured data ( #19133 )
2023-02-22 16:01:18 -08:00
spaette
9ae7d68947
Correct spelling of custom in event ( #19059 )
2023-01-31 11:35:32 -08:00
Steve Lee
1c27a0ceac
Add progress to Copy-Item ( #18735 )
2023-01-25 16:34:44 +05:00
Dongbo Wang
eb31d32724
Enable creating composite subsystem implementation in modules ( #18888 )
2023-01-05 09:51:45 -08:00
MartinGC94
9a7db33ee0
Add completion for Using keywords ( #16514 )
2022-12-20 13:26:43 +05:00
Steve Lee
eb9ca7c351
Fix New-Item -ItemType Hardlink to resolve target to absolute path and not allow link to itself ( #18634 )
2022-12-13 22:09:28 +05:00
Ilya
8bc9fdb2a1
Replace DllImport with LibraryImport in SMA 2 ( #18543 )
2022-11-22 22:22:14 +05:00
Steve Lee
3e1a4d5679
Remove remaining unused strings from resx files ( #18448 )
2022-11-03 07:52:46 +05:00
Steve Lee
ae3f5f0f64
Remove unused strings from FileSystem and Registry providers ( #18403 )
2022-10-28 08:18:36 +05:00
Steve Lee
6c4f27eec1
Remove unused resource strings from SessionStateStrings ( #18394 )
2022-10-27 09:36:11 -07:00
Steve Lee
0ede377311
Remove unused resource strings in System.Management.Automation ( #18388 )
2022-10-26 11:04:44 -07:00
Steve Lee
70a0a27f55
Remove unused strings from parser ( #18383 )
2022-10-26 08:01:33 +05:00
Steve Lee
7cae30de39
Remove unused strings from ConsoleInfoErrorStrings.resx ( #18367 )
2022-10-24 14:58:51 -07:00
Dongbo Wang
53c3690c2a
Replace command-error suggestion with new implementation based on subsystem plugin ( #18252 )
2022-10-24 11:59:32 -07:00
Dongbo Wang
80d2fb7e47
Some more code cleanup related to the use of PSVersionInfo ( #18231 )
2022-10-11 10:24:31 -07:00
Ikko Ashimine
eb92c501da
Fix typos in EventResource.resx ( #18063 )
2022-09-12 09:13:28 -07:00
Dominik Kaszewski
1ee2f0d7ee
Fix Update-Help failing silently with implicit non-US culture. ( #17780 )
2022-08-09 15:51:32 -07:00
WJKM
d75d3b6178
Add the ValidateNotNullOrWhiteSpace attribute ( #17191 )
2022-08-09 10:48:08 -07:00
Ryan Hutchison and Travis Plunk
f2204a08b8
Authenticode https fix issue #12827 ( #16134 )
...
* Added https:// as valid prefix for TSA url
* fixed typo
* Format matching
* Added proper logic
* Appended https to error message
* Update src/System.Management.Automation/security/Authenticode.cs
I agree.
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2022-08-01 09:57:03 -07:00
Dongbo Wang
f9d424dd86
Fix Export-PSSession to not throw error when a rooted path is specified for -OutputModule ( #17671 )
2022-07-13 13:31:57 -07:00
Paul Higinbotham
a8d55851e0
Add the -ConfigurationFile command line parameter to pwsh to support local session configuration ( #17447 )
2022-06-06 12:12:53 -07:00
Dongbo Wang
41c7cd79da
Fix the error message in Hashtable-to-object conversion ( #17329 )
2022-05-16 14:55:00 -07:00
Paul Higinbotham and Dongbo Wang
f6ac9bb604
Add support for new WDAC API ( #17247 )
...
* Add support for new WDAC API
* Fix non-Windows platform error
* Fix code factor errors
* Update cgmanifest json file
* Fix test failure
* Update src/System.Management.Automation/resources/SecuritySupportStrings.resx
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2022-05-16 14:18:30 -07:00
Andrew and Travis Plunk
c3b7e10fd0
Merged PR 20126: Fix for partial PowerShell module search paths, that can be resolved to CWD locations ( #17231 )
...
The problem is .NET will return empty strings for special folders that don't exist in some accounts (like System account), and the module path code appends path locations without first checking if the root path is non-empty. This results in partial paths in the PSModulePath list, which are then interpreted by .NET file APIs as rooted in the current working directory. And this in turn can allow low privilege users to drop modules in locations that higher privilege accounts will load from, thus gaining escalated privilege code execution.
These changes detect this non-rooted condition and prevents partial paths from being included in search lists.
Cherry picked from !17201
Co-authored-by: Travis Plunk <tplunk@microsoft.com >
2022-05-01 13:04:58 +05:00
Charlton Stanley
5134410d79
Correct Typo in the resource string PathResolvedToMultiple ( #17098 )
2022-04-12 16:46:23 -07:00
Paul Higinbotham
a6d04226c3
Add Custom Remote Connections Feature ( #17011 )
...
* Changes for custom remote connections
* Remove NamedPipeConnection dependency on RemoteSessionNamedPipe.
* Enable custom connection tests and tool build for all platforms
* Fix CustomConnection.Tests.ps1
* Fix tests attempt 1
* Fix tool build
* Move test to elevated
* Fix non-Windows pipe name
* Update test for non-Windows
* Skip broken non-Windows timer
* Add comment for skipped test
2022-03-23 08:04:07 -07:00
Paul Higinbotham
df460b7275
Add fix of process objects for processes that have exited. ( #16946 )
...
* Add fix for process objects for processes that have exited.
* Fix code factor
* Fix typo
* Add try/catch for possible race condition on exiting process.
2022-03-02 13:53:35 -08:00
Dongbo Wang
35ad64e11b
Add a couple fixes to generic method invocation ( #16822 )
2022-02-03 11:58:02 -08:00
Joel Sallow (/u/ta11ow)
8c53252969
Add support to allow invoking method with generic type arguments ( #12412 )
2022-01-27 09:55:54 -08:00
Dongbo Wang
cce64f49de
Report error when PowerShell built-in modules are missing ( #16628 )
2022-01-12 10:02:03 -08:00
Steve Lee
a9b14a13fd
Add exec cmdlet for bash compatibility ( #16462 )
2022-01-04 14:09:27 -08:00
Paul Higinbotham
64d2fe26f3
Fix PSVersion parameter version checks and error messages for PowerShell 7 remoting ( #16228 )
2021-12-01 15:54:25 -08:00