Steve Lee
667e75559d
On Unix, only explicitly terminate the native process if not in background ( #18215 )
2022-10-07 08:07:22 +05:00
Dongbo Wang
7073525059
Avoid using Regex when not necessary ( #18210 )
2022-10-06 15:26:22 -07:00
Dongbo Wang
0e4358cf93
Improve startup time by triggering initialization of additional types on background thread ( #18195 )
2022-10-04 10:17:09 -07:00
Steve Lee
d5ed53eba2
Add CustomTableHeaderLabel formatting to differentiate table header labels that are not property names ( #17346 )
2022-10-03 15:05:11 -07:00
Ilya
8973b0c121
Use overload APIs that take char instead of string when it's possible ( #18179 )
2022-09-29 09:39:04 -07:00
xtqqczze
fd67038ed8
Replace UTF8Encoding(false) with Encoding.Default ( #18144 )
2022-09-27 10:47:55 +05:00
Dongbo Wang
79b8140199
Make PowerShell class not affiliate with Runspace when declaring the NoRunspaceAffinity attribute ( #18138 )
2022-09-22 10:49:08 -07:00
Christoph Bergmeister
d3d81c3e44
Display download progress in human readable format for Invoke-WebRequest ( #14611 )
2022-09-19 11:16:21 -07:00
Dongbo Wang
1a82574743
Treat [NullString]::Value as the string type when resolving methods ( #18080 )
2022-09-15 17:35:56 -07:00
Steve Lee
944ed5413d
Revert "Add -StrictMode to Invoke-Command to allow specifying strict mode when invoking command locally" ( #18040 )
2022-09-12 11:41:57 -07:00
MartinGC94
fb9393e0cc
Improve pseudo binding for dynamic parameters ( #18030 )
2022-09-12 11:34:15 -07:00
Steve Lee
61b5dceb60
Make experimental feature PSAnsiRenderingFileInfo stable ( #18042 )
2022-09-12 10:23:03 -07:00
Steve Lee
6744ffb826
Make experimental feature PSNativeCommandArgumentPassing stable ( #18044 )
2022-09-12 09:48:09 -07:00
Steve Lee
ce746969ab
Make experimental feature PSAMSIMethodInvocationLogging stable ( #18041 )
2022-09-12 09:20:20 -07:00
Dongbo Wang
3fbd90a4b0
Handle PSObject argument specially in method invocation logging ( #18060 )
2022-09-12 09:15:14 -07:00
Steve Lee
3bf6423a10
Make experimental feature PSRemotingSSHTransportErrorHandling stable ( #18046 )
2022-09-07 17:34:30 -07:00
Steve Lee
918bb8c952
Make experimental feature PSExec stable ( #18045 )
2022-09-07 10:28:17 -07:00
Steve Lee
6e36446b6f
Make experimental feature PSCleanBlock stable ( #18043 )
2022-09-07 10:26:21 -07:00
Dongbo Wang
647f40bb4a
Fix error formatting to use color defined in $PSStyle.Formatting ( #17987 )
2022-08-31 09:36:14 -07:00
MartinGC94
4051e09796
Add completion for values in comparisons when comparing Enums ( #17654 )
2022-08-22 15:18:49 -07:00
MartinGC94
99c757ff3e
Fix positional argument completion ( #17796 )
2022-08-22 15:17:55 -07:00
MartinGC94
1c5e14cf0f
Fix member completion in attribute argument ( #17902 )
2022-08-22 13:38:21 -07:00
Frode Flaten
a15bfcb501
Throw when too many parameter sets are defined ( #17881 )
2022-08-22 12:11:17 -07:00
Dongbo Wang
2c9c97ac86
Do not preserve temporary results when no need to do so ( #17856 )
2022-08-10 09:36:33 -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
MartinGC94
15dcf634e2
Improve enumeration of inferred types in pipeline ( #17799 )
2022-08-09 10:37:56 -07:00
David Bar-On
55c5e789bd
Fix for deserializing imported ordered dictionary ( #15545 )
2022-08-08 23:29:45 +05:00
Steve Lee
9213b77659
Allow commands to still be executed even if the current working directory no longer exists ( #17579 )
2022-08-01 21:43:54 -07:00
Dongbo Wang
2051c5f72b
Stop referencing Microsoft.PowerShell.Security when the core snapin is used ( #17771 )
2022-08-01 10:10:59 -07:00
Frode Flaten
7c624902e1
Use null propagation operator in remoting code ( #17790 )
2022-08-01 09:21:16 -07:00
Frode Flaten
0d52375adc
Add type accelerator ordered for OrderedDictionary ( #17804 )
2022-08-01 09:15:14 -07:00
Frode Flaten
5f4e100456
Use null propagation operator for windows build ( #17795 )
...
* Use null propagation in CimCmdlets
* Use null propagation in Diagnostics and Management
* ignore IDE0031 rule in ConsoleHost
* Use null propagation in WSMan.Management
* Use null propagation in SMA
* ignore IDE0031 for securityDescHandle
* cleanup after review
2022-07-29 10:34:09 -07:00
Frode Flaten
4b4f1d144f
Use null propagation operator in /engine ( #17789 )
2022-07-29 09:06:07 +05:00
Dmitry Volodin
1779175935
Use null-coalescing assignment in the rest of /engine ( #17729 )
2022-07-26 12:31:14 -07:00
Ilya
08e4596463
Move the type data definition of System.Security.AccessControl.ObjectSecurity to the Microsoft.PowerShell.Security module ( #16355 )
2022-07-25 21:16:52 -07:00
Dmitry Volodin
9fe96f3c20
Use compound assignment in /interpreter and /runtime ( #17727 )
2022-07-25 16:55:56 -07:00
Steve Lee
d72cedd70b
Fix FileSystemProvider to work with volume and pipe paths ( #15873 )
2022-07-25 22:07:26 +00:00
MartinGC94
3d4e294262
Improve type inference for $_ ( #17716 )
2022-07-25 11:27:23 -07:00
Dmitry Volodin
e8c66a3282
Use null-coalescing assignment in /remoting and /hostifaces ( #17728 )
2022-07-25 11:26:01 -07:00
MartinGC94
8eb37cc44d
Prevent braces from being removed when completing variables ( #17751 )
2022-07-25 11:17:26 -07:00
MartinGC94
5ccbb97ae3
Fix type inference for ICollection ( #17752 )
2022-07-25 11:15:19 -07:00
Dmitry Volodin
dc2e682f3a
Use null-coalescing assignment in /engine ( #17720 )
2022-07-25 22:11:29 +05:00
Dmitry Volodin
223c6b8905
Use compound assignment in /parser and /debugger ( #17726 )
2022-07-25 21:54:36 +05:00
Steve Lee
3efa28162e
Change Get-ChildItem to treat trailing slash in path as indicating a directory when used with -Recurse ( #17704 )
2022-07-21 09:39:11 +05:00
James Truher [MSFT]
031fa93b4c
Add find.exe to legacy argument binding behavior for Windows ( #17715 )
2022-07-20 14:47:50 -07:00
Ikko Ashimine
42d0e99286
Fix typo in ModuleCmdletBase.cs ( #17714 )
...
explictly -> explicitly
2022-07-20 10:17:53 +05:00
MartinGC94
76c713d7e6
Add completion for index expressions for dictionaries ( #17619 )
2022-07-20 03:56:35 +00:00
Frode Flaten
9ccaf107a0
Fix enum-ranges for ValidateRange in proxy commands ( #17572 )
2022-07-20 08:50:18 +05:00
MartinGC94
84241c3c59
Fix parser exception in using statements with empty aliases ( #16745 )
2022-07-19 10:42:31 -07:00