Commit graph

7000 commits

Author SHA1 Message Date
Steve Lee
a04f6940dd Handle case where applocker test script fails to delete (#8627)
One reported case where during applocker policy check, the test script that is created cannot be deleted because something else (malware scanner?) has a lock on the file.  This results in an exception being thrown in finally block which ultimately causes PowerShell to crash due to the unhandled exception.  Fix is to wrap the deletion in the finally block with try..catch and ignore any exceptions and leave the temp file.

TFS:20156282
2019-01-16 15:00:37 -08:00
PRASOON KARUNAN V
6b3e06893a Adding tests for PSDiagnostics Module (#8431) 2019-01-16 14:59:35 -08:00
Travis Plunk
03cd3a2548
Increase diagnosability of Link Checker failures (#8667)
Also use ThreadJobs for better perf
2019-01-16 14:28:10 -08:00
Ilya
782ef99465
Add support enum and char types in Format-Hex cmdlet (#8191) 2019-01-16 16:58:22 +05:00
Reece Dunham
c2bf6cd4e1 Fix grammar in stale bot message (#8660) 2019-01-16 16:56:19 +05:00
Sergey Vasin
6f6c286bca Fix a typo in packaging.psm1 (#8647) 2019-01-15 17:18:20 -08:00
Kirk Munro
41d9667307 Add -Stable to Sort-Object and related tests (#7862) 2019-01-15 17:14:39 -08:00
Aditya Patwardhan
be4b82c730
Add function to create a framework dependent package dotnet-sdk containers (#8644) 2019-01-15 16:28:52 -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
Dongbo Wang
c2dfae8ccb Fix 'FixupFileName' to not load resolved assembly during module discovery (#8634) 2019-01-15 16:22:25 -08:00
Travis Plunk
7bf4641444
Fix broken urls (#8653)
Fix broken URL
  - Also, move other static analysis tests into that CI.
  - Also, make the link analysis a pester test (partly to make sure the step fails in case of an error)
2019-01-15 16:20:45 -08:00
Reece Dunham
d61013e94d Delete appveyor.yml (#8639) 2019-01-15 14:48:19 -08:00
dependabot[bot]
cd75f18b67 Build(deps): Bump NJsonSchema from 9.13.13 to 9.13.14 (#8648) 2019-01-15 14:47:14 -08:00
dependabot[bot]
bcae2d7713 Build(deps): Bump PowerShellGet from 2.0.3 to 2.0.4 (#8649) 2019-01-15 14:46:30 -08:00
Dongbo Wang
ab75626f22 Fix installing fpm and ronn in macOS CI by avoid installing docs for them (#8656) 2019-01-15 14:23:59 -08:00
Aditya Patwardhan
158bd4ea7b
Update License and Third Party Notice (#8646)
* remove MS proprietary licenses from TPN

* Use standard MIT license

* Update generate TPN

* remove additional MS proprietary license

* Additional fixes
2019-01-15 13:40:00 -08:00
Aditya Patwardhan
94e37f673f Update README, metadata.json and changelog for release 6.1.2 (#8658)
Update README and metadata.json for release 6.1.2
2019-01-15 13:39:13 -08:00
xtqqczze
6126624b63 Revise use of Start-Sleep cmdlet (#8633)
* Avoid use of sleep alias (follow-up to #8546)
* Specify default parameter name
* Shorten overly specific comments
2019-01-15 12:31:52 +05:00
Mark Tiedemann
9d02e254a1 Fix typo in README.md (#8642) 2019-01-15 12:29:47 +05:00
Reece Dunham
1977a2b013 Add macOS files to .gitignore (#8456) 2019-01-14 18:02:12 -08:00
Travis Plunk
8528e89c5a
Additional fixes 2019-01-14 17:43:27 -08:00
Travis Plunk
a25772d219
remove additional MS proprietary license 2019-01-14 17:40:47 -08:00
Travis Plunk
0b0fc2b856
Update generate TPN 2019-01-14 17:21:54 -08:00
dependabot[bot]
bfb219c747 Build(deps): Bump Markdig.Signed from 0.15.6 to 0.15.7 (#8637)
Bumps [Markdig.Signed](https://github.com/lunet-io/markdig) from 0.15.6 to 0.15.7.
- [Release notes](https://github.com/lunet-io/markdig/releases)
- [Changelog](https://github.com/lunet-io/markdig/blob/master/changelog.md)
- [Commits](https://github.com/lunet-io/markdig/compare/v0.15.6...v0.15.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 17:19:02 -08:00
Steve Lee
c3cb6df809 Update 'CommandNotFound' fuzzy suggestion to only return unique results (#8640) 2019-01-14 14:28:15 -08:00
Jani
812456f84c Improve Start-Sleep cmdlet to accept fractional seconds (#8537) 2019-01-14 10:04:44 -08:00
Reece Dunham
e399b06cd2 Fix some typos in the README (#8623) 2019-01-11 16:47:11 -08:00
Steve Lee
6fa5195589 Update fuzzy test to fix daily build (#8629) 2019-01-11 16:45:49 -08:00
xtqqczze
00b45a55bc Remove 'en-us' from docs.microsoft.com URL (#8628) 2019-01-11 14:07:21 -08:00
Christoph Bergmeister [MVP]
1334b4cbf2 Update examples for hosting PSCore and remove old outdated examples (#8472) 2019-01-11 14:06:22 -08:00
Reece Dunham
b30edf4764 Update the pull request template (#8624)
Some cleanup/enhancements to make it easier to understand.
2019-01-11 11:30:28 -08:00
Steve Lee
71e58f9439 Add the experimental feature 'PSUseAbbreviationExpansion' to support tab completion on abbreviated command names (#8109) 2019-01-10 16:11:43 -08:00
Travis Plunk
6dd33f751b
Use standard MIT license 2019-01-10 15:34:26 -08:00
Travis Plunk
699d3c7fad
remove MS proprietary licenses from TPN 2019-01-10 15:34:07 -08:00
Steve Lee
b87cd1c0a3 Add support to show suggestions on CommandNotFound exception (#8458)
* support fuzzy matching with get-command and on CommandNotFound exception, show suggestion
* fix CodeFactor issues
* change algorithm to use Damerau-Levenshtein Distance which is more useful in finding close matches
2019-01-10 13:35:30 -08:00
Reece Dunham
a3d55783cd Contributing guidelines: Remove references to Travis CI and AppVeyor (#8617)
Since when was Travis-CI used??  I removed it and replaced it with `Azure DevOps` because that isn't there.
2019-01-10 13:05:22 -08:00
Steve Lee
66c72c4366 Change Clear-Host back to using $RAWUI and clear to work over remoting (#8609) 2019-01-10 10:02:59 -08:00
Steve Lee
9793ed2c68 Change hashtable to use OrdinalIgnoreCase to be case-insensitive in all Cultures (#8566)
Ubuntu18.04 seems to default to C.UTF-8 for LANG (representing InvariantCulture) which results in a case-sensitive hashtable since CurrentCultureIgnoreCase doesn't work for that culture. Fix is to use OrdinalIgnoreCase instead.
2019-01-10 09:11:43 +05:00
Kirk Munro
1729a682ee Make S.M.A.PowerShell.GetSteppablePipeline method public (#8055)
* make GetSteppablePipeline method public
* updated PowerShell member count
2019-01-09 15:31:09 -08:00
Ilya
d80154430d Style: Change first char to upper in summary comments (#8597) 2019-01-09 13:07:40 -08:00
dependabot[bot]
8fad8c9dd8 Build(deps): Bump System.Security.Cryptography.Pkcs from 4.5.1 to 4.5.2 (#8614)
Bumps [System.Security.Cryptography.Pkcs](https://github.com/dotnet/corefx) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 22:07:03 +05:00
dependabot[bot]
16fbecd7bd Build(deps): Bump System.Net.Http.WinHttpHandler from 4.5.1 to 4.5.2 (#8615)
Bumps [System.Net.Http.WinHttpHandler](https://github.com/dotnet/corefx) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 18:54:30 +05:00
dependabot[bot]
8175047ae8 Build(deps): Bump NJsonSchema from 9.13.11 to 9.13.13 (#8616)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.11 to 9.13.13.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 18:52:28 +05:00
dependabot[bot]
cc3c3f618e Build(deps): Bump System.Text.Encoding.CodePages from 4.5.0 to 4.5.1 (#8613)
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 18:51:32 +05:00
Ilya
6647b29f41
Fix LiteralPath in Import-Csv to bind to Get-ChildItem output (#8277)
Added new tests.
2019-01-09 18:49:15 +05:00
Michael Klement
73716e9792 Make scriptblock-based calculated properties work again in ConvertTo-Html (#8427) 2019-01-09 13:55:03 +05:00
Sergey Vasin
6f071f0ba5 Fix Join-String cmdlet FormatString parameter logic (#8449) 2019-01-09 11:06:20 +05:00
Steve Lee
d6000fdea8 Allow Windows users in developer mode to create symlinks without elevation (#8534) 2019-01-08 10:43:24 -08:00
xtqqczze
c1920da410 Update code coverage analysis document (#8543) 2019-01-08 10:18:46 -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