Aditya Patwardhan
|
cb8165eeef
|
Move PSNullConditionalOperators feature out of experimental (#13529)
|
2020-08-27 10:11:01 -07:00 |
|
Steve Lee
|
511858a267
|
Make $ErrorActionPreference not affect stderr output of native commands (#13361)
|
2020-08-07 14:19:17 -07:00 |
|
Robert Holt
|
ef7c7d60a6
|
Revert "Add password confirmation in Get-Credential (#12782)" (#13372)
This reverts commit a6bd47f031 .
|
2020-08-07 12:11:16 +05:00 |
|
Steve Lee
|
99b3bfaa34
|
Change Read-Host -MaskInput to use existing SecureString path, but return as plain text (#13256)
|
2020-07-30 22:16:37 -07:00 |
|
xtqqczze
|
6ca0024db9
|
Fix SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation (#13249)
See https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1026.md
|
2020-07-23 22:19:15 +05:00 |
|
Shri Ram K S
|
a6bd47f031
|
Add password confirmation in Get-Credential (#12782)
* Add parameter -ReEnterPassword to prompt user to re-enter the password for confirmation
* Add new public overload function PromptForCredential
|
2020-07-22 19:13:42 +05:00 |
|
github-actions[bot]
|
9c396aa0ea
|
Update .NET SDK version from 5.0.100-preview.7.20366.2 to 5.0.100-preview.7.20366.15 (#13200)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
2020-07-22 18:53:33 +05:00 |
|
Kirk Munro
|
472943347d
|
Add -Runspace parameter to all *-PSBreakpoint cmdlets (#10492)
|
2020-07-21 11:48:54 -07:00 |
|
github-actions[bot]
|
1ed554dde4
|
Update .NET SDK version from 5.0.100-preview.7.20364.3 to 5.0.100-preview.7.20366.2 (#13192)
|
2020-07-16 12:12:40 -07:00 |
|
github-actions[bot]
|
3a1158e1dd
|
Update .NET SDK version from 5.0.100-preview.7.20358.6 to 5.0.100-preview.7.20364.3 (#13155)
|
2020-07-15 10:05:49 -07:00 |
|
github-actions[bot]
|
7da0742cb6
|
Update .NET SDK version from 5.0.100-preview.6.20318.15 to 5.0.100-preview.7.20356.2 (#13125)
|
2020-07-07 12:10:11 -07:00 |
|
Aditya Patwardhan
|
8030889b7b
|
Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20318.15 (#13018)
|
2020-06-23 17:30:31 -07:00 |
|
Aditya Patwardhan
|
0d75cfdc2d
|
Revert "Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20319.2 (#12992)" (#13017)
This reverts commit ce8dc1e30c .
|
2020-06-23 11:52:20 -07:00 |
|
github-actions[bot]
|
ce8dc1e30c
|
Update .NET SDK version from 5.0.100-preview.5.20279.10 to 5.0.100-preview.6.20319.2 (#12992)
|
2020-06-19 11:28:09 -07:00 |
|
Travis Plunk
|
3319f4cafc
|
Make sure tabcompletion tests run (#12981)
|
2020-06-17 10:44:34 -07:00 |
|
github-actions[bot]
|
55b9041a40
|
Update .NET SDK version from 5.0.100-preview.5.20278.13 to 5.0.100-preview.5.20279.10 (#12844)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
2020-05-30 10:31:44 -07:00 |
|
github-actions[bot]
|
99da109312
|
Update .NET SDK version from 5.0.100-preview.5.20272.6 to 5.0.100-preview.5.20278.13 (#12772)
|
2020-05-29 09:36:12 -07:00 |
|
Sotiris Nanopoulos
|
d26e8c0819
|
Adds Mask Input Parameter to Read-Host (#10908)
Co-authored-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
2020-05-28 11:08:23 -07:00 |
|
github-actions[bot]
|
12e0adc57a
|
Update .NET SDK version from 5.0.100-preview.5.20269.29 to 5.0.100-preview.5.20272.6 (#12759)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
|
2020-05-23 13:12:09 +00:00 |
|
James Truher [MSFT]
|
05e682aed1
|
Update to dotnet SDK 5.0.0-preview.5.20268.9 (#12740)
<!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. -->
# PR Summary
Update to dotnet SDK 5.0.0-preview.5.20268.9
## PR Context
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md)
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [ ] N/A or can only be tested interactively
- **OR**
- [x] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
|
2020-05-21 20:45:57 +00:00 |
|
xtqqczze
|
d98f131c5a
|
Remove phrase 'All rights reserved' from Microsoft copyright statements (#12722)
# PR Summary
<!-- Summarize your PR between here and the checklist. -->
## PR Context
follow-up #12190
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md)
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
|
2020-05-20 12:02:38 +00:00 |
|
xtqqczze
|
fde00de77f
|
Update docs.microsoft.com links (#12653)
# PR Summary
* remove explicit en-us from links
* remove view parameter
## PR Context
follow-up #7013
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)**
- [ ] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md)
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
|
2020-05-15 03:29:43 +00:00 |
|
Dongbo Wang
|
935f84ee1d
|
Update build to use the new .NET SDK 5.0.100-preview.4.20258.7 (#12637)
|
2020-05-13 08:17:37 -07:00 |
|
xtqqczze
|
98b95e77ea
|
Replace Unicode nbsp with space in source (#12576)
```
-replace [char]0xA0, [char]0x20
```
|
2020-05-13 08:45:26 +05: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 |
|
Aditya Patwardhan
|
633e52f345
|
Update .NET SDK to 5.0.100-preview.4.20229.10 (#12538)
|
2020-05-04 18:17:52 -07:00 |
|
Aditya Patwardhan
|
cc0d20aa08
|
Bump .NET to 5.0.0-preview.4 (#12507)
|
2020-04-28 14:18:16 -07:00 |
|
Ilya
|
7c1cc868b2
|
Use new TargetFramwork as net5.0 in packaging scripts (#12503)
|
2020-04-27 16:28:17 -07:00 |
|
Ilya
|
1a7692fd1a
|
Use new value for TargetFramework as net5.0 instead of netcoreapp5.0 (#12486)
|
2020-04-27 08:40:09 -07:00 |
|
Aditya Patwardhan
|
6d44fa9977
|
Bump to .NET 5 Preview 3 pre-release (#12353)
|
2020-04-17 14:22:23 -07:00 |
|
Christoph Bergmeister [MVP]
|
622eb4cf02
|
Upgrade to .NET 5 Preview 2 (#12250)
|
2020-04-07 17:39:51 -07:00 |
|
Steve Lee
|
b7cb335f03
|
Update copyright notice to latest guidance (#12190)
|
2020-03-24 11:08:37 -07:00 |
|
Joel Sallow (/u/ta11ow)
|
f8fb77052f
|
Fix <img /> detection regex in web cmdlets (#12099)
|
2020-03-24 10:51:55 -07:00 |
|
Steve Lee
|
495dea0783
|
Move to .NET 5 preview.1 (#12140)
|
2020-03-19 11:27:13 -07:00 |
|
Paul Higinbotham
|
5f46605a21
|
Add Ubuntu SSH remoting tests CI (#12033)
* Add SSH remoting CI
* Fix typo
* Add install git to Ubuntu CI
* Update .vsts-ci/sshremoting-tests.yml
Co-Authored-By: Aditya Patwardhan <adityap@microsoft.com>
* Fix install git 1
* Add missing tools module import
* Change ubuntu service restart
* Update ssh install
* fix module path
* fix module path
* change module import
* Add tracing
* Add service start retry
* Fix service restart
* Fix options restore
* Fix Restore-PSOptions path
* Fix Pester test output
* fix typo
* Fix test output path
* Debug 1
* Debug 2
* Debug 3
* Change results path
* Fix result publish to use build artifacts directory
* Add more New-PSSession tests
* Remove User test
* Remove env:USER
* Add API tests
* Fix type for Subsytem API test
* Update .vsts-ci/sshremoting-tests.yml
Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>
* Update .vsts-ci/sshremoting-tests.yml
Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>
* Update .vsts-ci/sshremoting-tests.yml
Co-Authored-By: Travis Plunk <travis.plunk@microsoft.com>
* Apply suggestions from code review
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
|
2020-03-11 14:45:14 -07:00 |
|
Aditya Patwardhan
|
277b277b57
|
Bump .NET core framework to 3.1.2 (#11963)
|
2020-02-26 15:45:56 -08:00 |
|
Paul Higinbotham
|
e5116ae4ea
|
Add helper functions for SSH remoting tests (#11955)
|
2020-02-26 15:14:25 -08:00 |
|
Aditya Patwardhan
|
a578347b5a
|
Update Get-PlatformInfo helper and tests for Debian 10, 11 and CentOS 8 (#11842)
|
2020-02-12 18:35:24 -08: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
|
225164037f
|
Correct case of $PID special variable
|
2020-01-13 19:34:38 +00:00 |
|
xtqqczze
|
b5326a8488
|
Correct case of $Host special variable
|
2020-01-13 19:34:10 +00:00 |
|
xtqqczze
|
7cb8dc48ea
|
Correct case of $HOME special variable
|
2020-01-13 19:33:43 +00:00 |
|
xtqqczze
|
bb58e2aab6
|
Correct case of $false special variable
|
2020-01-13 19:25:35 +00:00 |
|
xtqqczze
|
47a3b4e293
|
Correct case of $true special variable
|
2020-01-13 19:25:09 +00:00 |
|
xtqqczze
|
4a9d70fdcd
|
Correct case of $PWD special variable
|
2020-01-13 19:24:10 +00:00 |
|
xtqqczze
|
42d50434f8
|
Correct case of $PSCmdlet special variable
|
2020-01-13 19:19:12 +00:00 |
|
xtqqczze
|
66e0f08ec2
|
Correct case of $this special variable
|
2020-01-13 19:18:14 +00:00 |
|
xtqqczze
|
89e33f5772
|
Correct case of $Matches special variable
|
2020-01-13 19:15:17 +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 |
|