Thomas Nieto
b25e67e607
Remove RequireLicenseAcceptance default value ( #11512 )
2020-01-07 11:43:58 -08:00
Ilya
99cf9fd859
Re-balance CI tests ( #11420 )
2020-01-05 13:01:42 +05:00
Ilya
b221c2afa2
Correct pwsh run ( #11486 )
2020-01-05 12:17:41 +05:00
Steve Lee
5b42126f7c
Don't format exceptions that aren't ErrorRecords ( #11415 )
...
* In one of the previous PRs for ConciseView, System.Exception was incorrectly added to the typenames handled by the ErrorRecord formatting. This results in just Exception objects written to the console to not be rendered since the ErrorRecord formatting didn't handle this situation. Fix is to remove the line to add that type putting it back to how it was previously.
* Also made the handling of ErrorRecord a bit more robust just in case Exception.Message doesn't exist nor a Message property.
2019-12-21 09:45:44 +05:00
Aditya Patwardhan
ed27f36223
Fix test failing when UnixStat feature is disabled ( #11370 )
2019-12-20 15:32:50 -08:00
Paul Higinbotham
e81bd1dfda
Re-add check for Invoke-Command job dispose. ( #11388 )
2019-12-20 12:13:34 -08:00
xtqqczze
7a7365279c
Avoid variable names that conflict with automatic variables ( #11392 )
2019-12-20 12:09:03 -08:00
Steve Lee
563b1cba83
Add trailing line number to filename for ConciseView ( #11391 )
2019-12-18 14:05:56 -08:00
Steve Lee
edd3e7680c
Move Set-StrictMode to outer scriptblock for ErrorView ( #11381 )
2019-12-17 23:43:47 +05:00
Dongbo Wang
5605bf4195
Fix a regression in formatting caused by the FirstOrDefault primitive added in 7.0.0-Preview1 ( #11258 )
2019-12-11 15:37:18 -08:00
Steve Lee
ed1f6e3144
Make approved features non-experimental ( #11303 )
2019-12-10 15:41:43 -08:00
Steve Lee
6e4da244c5
Update ConciseView to use TargetObject if applicable ( #11075 )
2019-12-10 09:50:51 -08:00
Steve Lee
20a236b228
Update setting PSModulePath to concatenate the process + machine env var ( #11276 )
2019-12-09 16:25:08 -08:00
Ilya
95c472a8c2
Add native binary resolver ( #11032 )
2019-12-09 12:03:53 -08:00
Ilya
42f21ae6a0
Cleanups in command discovery ( #10815 )
...
* Enable nullable, make minor cleanups, add a test
* Reduce allocations in GetAliasTable()
* Remove searching by extensions on Unix
2019-12-03 11:23:36 +05:00
Travis Plunk
3cdab0d18d
Add Unblock-File for macOS ( #11137 )
2019-12-02 17:51:36 -08:00
Brendan Burns
d38541fdce
Add an implementation of Stop-Computer for Linux and macOS ( #11151 )
2019-12-02 17:29:11 -08:00
David Smatlak
3923ca1728
Fixes FWLinks for PS7 online help documents ( #11071 )
2019-12-02 10:25:56 -08:00
Dongbo Wang
d46dfc26b7
Do not resolve types from assemblies that are loaded in separate AssemblyLoadContext ( #11088 )
2019-11-26 12:40:16 -08:00
Andrew
b218e6f6cc
Support using non-compatible Windows PowerShell modules in PowerShell Core ( #10973 )
2019-11-18 10:44:55 -08:00
Steve Lee
2e553038c5
Allow pwsh to inherit $env:PSModulePath and enable powershell.exe to start correctly ( #11057 )
2019-11-15 17:29:04 -08:00
James Truher [MSFT]
fe712f8de2
Experimental Feature: Provide Unix stat information in filesystem output ( #11042 )
2019-11-15 17:26:11 -08:00
Paul Higinbotham
bd0e30dec1
Fix Start-Job working directory path with trailing back slash ( #11041 )
2019-11-15 17:05:27 -08:00
Steve Lee
2a45ccc787
Fix ConciseView to show Activity instead of myCommand ( #11007 )
...
ConciseView shows MyCommand as the prefix to the error message, but for a scriptblock, MyCommand is the whole scriptblock. Fix is to use CategoryInfo.Activity if available first. Also handle case where it's a script function by seeing if it's a command and showing MyCommand in that case rather than the Activity.
2019-11-10 16:21:10 +05:00
Steve Lee
7ddfb825e4
Add back Get-Counter cmdlet for Windows ( #10933 )
2019-11-05 16:48:11 -08:00
Steve Lee and Ilya
b74a26bb91
Added cross-platform Get-Clipboard and Set-Clipboard ( #10340 )
...
Co-Authored-By: Ilya <darpa@yandex.ru >
Co-Authored-By: Ilya <darpa@yandex.ru >
2019-11-04 11:28:58 -08:00
Steve Lee
6882ad56fd
Add back Out-Printer command ( #10906 )
2019-11-01 11:27:12 -07:00
Steve Lee
4b9c2b2008
Fix Start-Job -WorkingDirectory with whitespace ( #10951 )
2019-11-01 11:09:00 -07:00
Dongbo Wang
8749db9b81
Improve processing of the powershell built-in type data from 'types.ps1xml', 'typesV3.ps1xml' and 'GetEvent.types.ps1xml' ( #10898 )
2019-11-01 10:36:05 -07:00
Steve Lee
ca68d9dbc5
Add GraphicalHost assembly to enable Out-GridView, Show-Command, and Get-Help -ShowWindow ( #10899 )
2019-11-01 10:05:32 -07:00
PRASOON KARUNAN V
5a76137d14
Take ComputerName via Pipeline in Get-HotFix ( #10852 )
...
* add process record for Get-hotfix
* update new FWLink
2019-11-01 08:02:19 +05:00
Ilya
46957e54d0
Set working directory to current directory in Start-Job ( #10920 )
2019-10-30 14:22:45 -07:00
Steve Lee
0b12ea057a
Add back Update-List command ( #10922 )
2019-10-30 11:05:30 -07:00
Sean Wheeler
0faa60168b
Update FWLink Id for Clear-RecycleBin ( #10925 )
2019-10-29 22:14:09 +05:00
Steve Lee
ca1b6fb4c5
Add back Clear-RecycleBin for Windows ( #10909 )
2019-10-28 08:18:26 +05:00
Steve Lee
d8d32d79c2
Implement Get-Error cmdlet as Experimental Feature ( #10727 )
2019-10-15 14:32:14 -07:00
Patrick Meinecke
beb8b44420
Use type conversion in SSHConnection hashtables when value doesn't match expected type ( #10720 )
...
Before the change if the hashtable value does not match the expected type exactly, an exception is thrown stating that the value was null.
2019-10-15 22:16:49 +05:00
Steve Lee
1fa73e360f
Add back Get-HotFix cmdlet ( #10740 )
2019-10-11 22:51:43 +05:00
Dongbo Wang
ec105da3f1
Some code cleanup work ( #10698 )
...
* Move Utils.GetUserConfigurationDirectory to Platform.ConfigDirectory
* Unify the use of Platform.ConfigDirectory and Platform.CacheDirectory
2019-10-07 14:15:01 +05:00
Steve Lee
8cf9c01800
Add ConciseView for $ErrorView ( #10641 )
2019-10-04 16:52:57 -07:00
Andrew
ed29ad1506
Adding PSCore group policy definitions ( #10468 )
2019-09-12 13:41:59 -07:00
Sotiris Nanopoulos
f69f30ba49
Add working directory parameter to Start-Job ( #10324 )
2019-09-11 10:51:32 -07:00
Kirk Munro
cc0fed479a
Add APIs for breakpoint management in runspaces and enable attach to process without BreakAll for PSES ( #10338 )
2019-09-05 11:30:25 -07:00
James Truher [MSFT]
3943f18c28
Alpine validation changes ( #10428 )
2019-08-24 11:35:34 -07:00
Kirk Munro
8b9f4124ce
Add support to ActionPreference.Break to break into debugger ( #8205 )
2019-08-23 10:34:10 -07:00
Steve Lee
00949ab352
.CPL should be added to PATHEXT ( #9828 )
2019-08-17 22:45:13 +05:00
James Truher [MSFT]
fe2cc6aca8
Additional Telemetry - Implementation of RFC0036 ( #10336 )
2019-08-15 16:13:53 -07:00
Steve Lee
882cbf367f
Enable Experimental Features by default on Preview builds ( #10228 )
2019-08-08 11:37:25 -07:00
Ilya
0ae7d50d5c
Remove 'kill' alias for Stop-Process cmdlet on Unix ( #10098 )
2019-07-15 08:12:26 +05:00
Ilya
5d98b901be
Cleanup workflow code ( #9638 )
...
* Remove WorkFlowInfo type
* Remove condition for UseSharedProcess
* Remove PSWorkflowJob condition
* Remove workflow from ValidateSet
* Remove workflow from CommandTypes enum
* Remove workflow from EventManager
* Remove workflow from Get-Help
* Remove WorkflowFileExtension ".xaml" from ModuleIntrinsics
* Remove WorkflowFileExtension ".xaml" from ModuleCmdletBase
* Remove workflow from PSModuleInfo
* Remove workflow from CustomShellCommands
* Remove workflow from InitialSessionStateProvider
* Remove WriteWorkflowDebugNotSupportedError()
* Remove unneeded resource strings from Module.cs
* Remove xaml from valid extension list
2019-07-07 01:03:03 +05:00