Dominik Kaszewski
270f8f1be7
Allow partial culture matching in Update-Help ( #18037 )
2023-05-09 09:46:59 -07:00
Travis Plunk and Aditya Patwardhan
b2c4888ebb
Add Windows ARM64 CI ( #19040 )
...
* Add CI for win-arm64
* Add common function to test for windows arm64
* Update because string where items need investigation
---------
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2023-01-31 12:06:29 -08:00
xtqqczze
8e14d2d7aa
Enable get-help pattern tests on Unix ( #18855 )
2023-01-10 08:10:03 +05:00
Steve Lee
4f19c05547
Ensure HelpInfo.Category is consistently a string ( #18254 )
2022-11-15 17:57:03 -08:00
Dominik Kaszewski
1ee2f0d7ee
Fix Update-Help failing silently with implicit non-US culture. ( #17780 )
2022-08-09 15:51:32 -07:00
James Truher [MSFT]
1a24540e31
Enable more tests to be run in a container. ( #17294 )
2022-05-11 12:30:22 -07:00
James Truher [MSFT]
74a51aa16e
Use a random string for the missing help topic to improve the chances that the help topic really won't be found. ( #17042 )
2022-03-23 08:53:12 -07:00
James Truher [MSFT]
10027be363
Add -because to the failing test to aid in debugging ( #17030 )
2022-03-18 16:15:59 -07:00
Steve Lee
a9b14a13fd
Add exec cmdlet for bash compatibility ( #16462 )
2022-01-04 14:09:27 -08:00
xtqqczze
756aef9a86
Fix CA2243: Attribute string literals should parse correctly ( #15622 )
...
* Update V2Cmdlets.csv
2021-06-25 17:59:30 +05:00
Robert Holt
7260df7f67
Revert "Temporarily disable Update-Help tests for PackageManagement module ( #15661 )" ( #15662 )
...
This reverts commit d5aa9015bd .
2021-06-25 10:03:45 +05:00
Ilya
d5aa9015bd
Temporarily disable Update-Help tests for PackageManagement module ( #15661 )
2021-06-24 11:35:35 -07:00
James Truher [MSFT]
9ca6be1d63
Revert "Update hyperlink for DefaultPromptFunctionText ( #13176 )" ( #14107 )
2020-11-17 09:50:59 -08:00
Christopher Yeleighton
f13d27ba3e
Update hyperlink for DefaultPromptFunctionText ( #13176 )
2020-11-13 17:20:15 -08:00
Dongbo Wang
2728574df7
Rename 'Get-Subsystem' to 'Get-PSSubsystem' and fix two minor issues ( #13765 )
2020-10-14 09:42:37 -07:00
Dongbo Wang
fc4c9cbfd7
Initial work of the subsystem plugin model (for minimal powershell) ( #13186 )
2020-08-20 17:41:44 -07:00
xtqqczze
f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files ( #12584 )
2020-05-07 17:00:30 +05:00
Steve Lee
f23be437af
Fix terms checker issues ( #12189 )
2020-03-24 11:38:45 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
xtqqczze
2014ce66c1
Set StrictMode version 3.0 ( #11563 )
2020-02-03 09:44:10 -08:00
xtqqczze
e0d2e2aade
Correct case of $PSHOME special variable
2020-01-13 19:35:33 +00:00
xtqqczze
743983390e
Update pester syntax to v4 ( #11544 )
...
* Capitalize 'Should' command and fix whitespace
```powershell
$_ -ireplace '\s?\|\s?should\b',' | Should'
```
* Capitalise and apply hyphen to 'Not' parameter
```powershell
$_ -ireplace '(\| Should) not\b','$1 -Not'
```
* Capitalise and apply hyphen to 'Be' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be'
```
* Capitalise and apply hyphen to 'BeExactly' parameter
$_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly'
* Capitalise and apply hyphen to 'BeGreaterThan' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan'
```
* Use 'BeTrue' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue'
```
* Use 'BeFalse' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse'
```
* Capitalise and apply hyphen to 'Match' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match'
```
* Capitalise and apply hyphen to 'Throw' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw'
```
* Capitalise and apply hyphen to 'BeNullOrEmpty' parameter
```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty'
```
* Capitalise 'Because' parameter
```powershell
$_ -ireplace '\s-because\b',' -Because'
```
* Fix 'BeNullOrEmpty'
2020-01-11 20:41:59 +05:00
xtqqczze
70d9ed4d55
Remove Unicode BOM from text files ( #11546 )
2020-01-11 12:15:34 +05:00
Ilya
99cf9fd859
Re-balance CI tests ( #11420 )
2020-01-05 13:01:42 +05:00
David Smatlak
3923ca1728
Fixes FWLinks for PS7 online help documents ( #11071 )
2019-12-02 10:25:56 -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
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
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
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
a96b4c0404
Update use of "PowerShell Core" to just "PowerShell" ( #9513 )
2019-05-10 15:34:27 -07:00
Aditya Patwardhan
ade85b4faa
Multiple test fixes and improved logging for fragile tests ( #9569 )
2019-05-10 10:56:12 -07:00
Travis Plunk
cee1e54e75
Add ability to cross compile ( #9374 )
...
`-CrossGen` won`t work, but this gives basic ability to build for another platform.
This also means you cannot really package for another platform.
2019-04-16 14:14:29 -07:00
Steve Lee and Travis Plunk
b8317de469
Update tests to account for when $PSHOME is readonly ( #9279 )
...
Co-Authored-By: SteveL-MSFT <slee@microsoft.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2019-04-04 23:01:01 -07:00
Staffan Gustafsson
0ebbdc1cc4
Fixing issue with help progress with Get-Help not calling Completed ( #8788 )
2019-03-11 11:26:01 -07:00
pougetat
1d7651f233
Fix Get-Help PSTypeName issue with -Parameter when only one parameter is declared ( #8754 )
2019-01-30 08:55:33 -08:00
xtqqczze
863528881f
Use https in URLs where available ( #8622 )
...
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
pougetat
4858afb613
Resolve :PAGER' if its path contains spaces ( #8571 )
2019-01-16 15:14:44 -08:00
Sergey Vasin
279993bf39
Change Get-Help cmdlet -Parameter parameter so it accepts string arrays. ( #8454 )
2019-01-15 16:25:49 -08:00
Steve Lee
64fcddcb53
Help function should only pass content to pager if content was found (#8528 )
2019-01-08 09:56:56 -08:00
Steve Lee
d51b5fdc30
help function shouldn't use pager for AliasHelpInfo (#8552 )
2019-01-07 13:39:57 -08:00
Steve Lee
52aef57ab6
Add Enable-ExperimentalFeature and Disable-ExperimentalFeature cmdlets ( #8318 )
...
[breaking change]
Major changes are as follows:
- Add `Enable-ExperimentalFeature` and `Disable-ExperimentalFeature` cmdlets.
- Remove `-ListAvailable` from `Get-ExperimentalFeature`.
- Add `ArgumentCompleter` for `Get-ExperimentalFeature` cmdlet.
- Refactor some existing Experimental Feature tests.
- Make `ConfigScope` public and renamed `SystemWide` to `AllUsers`. Also update experimental feature code to prefer the current user config over the all user config.
2018-12-05 12:20:58 -08:00
Aditya Patwardhan
13e2559392
Fix Get-Help for advanced functions with MAML help content ( #8353 )
2018-11-30 09:49:32 -08:00
James Truher [MSFT]
98cf44cdec
Test changes needed for running in a container ( #7869 )
2018-09-28 13:49:31 -07:00
Steve Lee
769b02ab98
Save modules to un-versioned folder to enable servicing ( #7518 )
...
Remove code from build.psm1 that save the modules to a versioned folder. For servicing reasons after release it is preferred and easier to not have the versioned folder so that we can directly replace modules that need to be serviced (MSI specifically makes it difficult to service a module if the folder path changes).
2018-08-14 10:15:05 -07:00
Dongbo Wang
ca64bfb3e3
Update the 'HelpUri' for 'Get-ExperimentalFeature' ( #7466 )
2018-08-08 12:38:07 -07:00
Aditya Patwardhan
4e7c2ed663
Fix several issues in Markdown cmdlets ( #7329 )
...
- Formatting file should be used for `MarkdownOptionInfo` object instead of the types file for adding script property.
- Downlevel windows consoles which do not support VT100 escape sequences should be handled gracefully.
- Add helpuri fwlink for cmdlets.
- Make `-Path` a positional parameter for `ConvertFrom-Markdown`
- make `-InputObject` a positional parameter for `Set-MarkdownOption`
2018-07-27 17:26:35 -07:00