Commit graph

6581 commits

Author SHA1 Message Date
Andrew Stanton bf2667352a Fix typo in -icontains description from"incase sensitive" to "case insensitive" (#7840) 2018-10-23 13:32:51 -07:00
tobvil 903c61a62b Added 'Learn Windows PowerShell in a Month of Lunches' as recommended reading (#8067) 2018-10-23 11:34:06 -07:00
dependabot[bot] 3c4d64c3e9 Bump Microsoft.ApplicationInsights from 2.8.0 to 2.8.1 (#8104) 2018-10-23 11:31:08 -07:00
Patrick Meinecke 57bf508fec Fix static method invocation type inference (#8018)
Fixes type inference for static method invocations (e.g. [powershell]::Create()).
2018-10-23 16:58:31 +05:00
Ilya 0a4f33a872
Replace StringComparision.CurrentCulture with StringComparision.Ordinal (#8068) 2018-10-21 16:11:08 +05:00
Steve Lee ef504e5212 Fix psmodulerestore path when built in VSCode (#8075) 2018-10-20 11:38:15 -07:00
Jan 734a139457 Correct typos in powershell-beginners-guide.md (#8088) 2018-10-20 22:01:22 +05:00
Aditya Patwardhan 487073e57b
Add functionality to create a test package (#8087) 2018-10-19 14:56:58 -07:00
Steve Lee 3ceb1c17ef Fix logic to not rely on build number to determine whether to output formatdata (#8063) 2018-10-19 12:45:03 -07:00
Ilya 0bce3e0e0d
Style fixes in Format-Hex (#8083) 2018-10-19 19:16:13 +05:00
José Carlos Peñuelas Armenta 1dc4a7903f Combine notes about ITuple changes in Change Log (#8077) 2018-10-18 17:34:19 -07:00
Travis Plunk 10266af610
Update the codeowners (#8017) 2018-10-18 15:47:03 -07:00
Andrew d098e6fd02 Adding fxdependent PS package tests (#7830) 2018-10-18 15:28:43 -07:00
Steve Lee 2f1863a222 Update license RTF to 6.2 (#8065) 2018-10-18 14:30:51 -07:00
Steve Lee 4e5e3900f6 Allow dynamic parameter to be returned even if path matches nothing (#7957) 2018-10-18 11:44:08 -07:00
Ilya f1e2136a2b
Add -Name, -NoUserOverrides and -ListAvailable parameters to Get-Culture cmdlet (#7702)
Add new parameters in Get-Culture cmdlet:
-Name - to allow retrieving a specific culture
-NoUserOverrides - ignore user changes for current culture
-ListAvalable - to allow retrieving all cultures supported on the platform
2018-10-18 17:34:34 +05:00
Aditya Patwardhan 50f239e1cb Fix spellings in CHANGELOG.md (#8062) 2018-10-18 10:20:16 +05:00
Ilya 745e305ac5
Add new Offset and Count parameters to Format-Hex and refactor the cmdlet (#7877)
- Add new Offset and Count parameters.
- Modify ByteCollection class to support offsets up to UInt64.MaxValue size.
- Hide/obsolete Raw parameter because the behavior is by default.
- Optimize conversion to bytes to reduce allocations for large input data.
2018-10-18 10:03:59 +05:00
Staffan Gustafsson 9c4340ab25 Make Select-String faster by not doing extra work (#7673)
By not tracking context in the common case where Context size is 0 (using new NoContextTracker class), and by not checking if the full name of a FileInfo is a Directory, about 30% of the execution time is cut when piping files into Select-String.
2018-10-18 09:46:07 +05:00
Joel Sallow 33f2f0faaf Add Type Inference for $_ / $PSItem in catch{ } blocks (#8020) 2018-10-18 09:42:16 +05:00
Travis Plunk 64c1ca8926
Merge release-v6.2.0-preview.1
Release v6.2.0 preview.1
2018-10-17 17:17:07 -07:00
Travis Plunk 6e8ac22db9 Merged PR 5380: 6.2.0-preview.1 changelog draft
6.2.0-preview.1 changelog
2018-10-17 19:17:37 +00:00
daviddreher2 f8782d197e Update README.md (#8059)
Fixed some spelling and grammar.
2018-10-17 16:22:55 +05:00
Aditya Patwardhan d99afc46df Merged PR 5382: Add missing dependency
Add missing dependency
2018-10-16 21:28:42 +00:00
Aditya Patwardhan eb84c3d928 Merged PR 5379: Improve debugging of nuget package generation and add type to filtering 2018-10-16 20:23:57 +00:00
Aditya Patwardhan 1e31e707c8 Merged PR 5363: Version and doc changes
Version and doc changes
2018-10-15 20:24:00 +00:00
dependabot[bot] e5a4177736 Bump PackageManagement from 1.2.1 to 1.2.2 in /src/Modules (#8029) 2018-10-15 12:34:52 -07:00
Steve Lee 81b67c924a Add prompt to the use of less in the function 'help' to instruct user how to quit (#7998) 2018-10-12 15:37:16 -07:00
James Truher [MSFT] ddaffe23c6 Update Pester to use latest version (#8015) 2018-10-12 15:31:33 -07:00
dependabot[bot] 9f736b98ed Bump PackageManagement from 1.1.7.2 to 1.2.1 in /src/Modules (#8014) 2018-10-12 15:28:06 -07:00
Steve Lee 8bca5a6017 Allow root node of format.ps1xml to have attributes that are ignored (#7987) 2018-10-12 11:31:21 -07:00
Steve Lee b62e152f4d Improve error message on non-Windows when importing clixml with securestring (#7997) 2018-10-12 10:56:35 -07:00
Dongbo Wang 9b94f18ccf
Fix BeginInvoke/EndInvoke to return results when Stop or BeginStop/EndStop was called previously (#7917)
The root cause is that `OutputBuffer` is not cleaned up (set to `null`) in `Stop` and `BeginStop/EndStop` when the powershell instance owns the `OutputBuffer` object. Since the pipeline has been intentionally stopped by the caller, the `OutputBuffer` should be set to `null` as well when it's owned by the PowerShell instance, just like how it's cleaned up in `EndInvoke`.
2018-10-12 10:46:57 -07:00
Aditya Patwardhan 5fcab21111 Remove PDBs from fxdependent pacakge (#8006) 2018-10-11 18:08:28 -07:00
Steve Lee 5b4e9a9881 Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (#8003) 2018-10-11 15:52:12 -07:00
Steve Lee 5bc76bd912 Remove package tests as we have DependABot enabled to keep packages updated (#8001) 2018-10-11 14:03:41 -07:00
dependabot[bot] 60874d1734 Bump Microsoft.ApplicationInsights from 2.7.2 to 2.8.0 (#8002)
Bumps [Microsoft.ApplicationInsights](https://github.com/Microsoft/ApplicationInsights-dotnet) from 2.7.2 to 2.8.0.
- [Release notes](https://github.com/Microsoft/ApplicationInsights-dotnet/releases)
- [Changelog](https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/ApplicationInsights-dotnet/compare/2.7.2...2.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-11 14:02:20 -07:00
Ilya 17fd2e9392 Revert "Only display properties with values for MeasureInfo (#7104)" (#7754)
This reverts commit 87ccd0aa40 until
security review of the public api has been completed.
2018-10-11 12:48:46 -07:00
Patrick Meinecke 680ad9c835 Fix Property and ScriptBlock expressions in EntrySelectedBy tags within custom controls (#7913)
Send the current object when evaluating `EntrySelectedBy` in a custom control definition
2018-10-11 21:09:39 +05:00
Joel Sallow e660e9623a Add support for Byte Literals (#7901)
- Adds y suffix that is used to specify a numeric literal as the sbyte data type. 
- Can be combined with the existing u suffix as uy to specify the byte data type.
2018-10-11 17:40:58 +05:00
dependabot[bot] 25704eb1a3 Bump NJsonSchema from 9.11.0 to 9.11.1 (#7990)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.11.0 to 9.11.1.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-10 15:41:29 -07:00
Victor Silva 56014708db Fix the "Basic cookbooks" link (#7934) 2018-10-10 13:35:11 -07:00
Christoph Bergmeister [MVP] fe731eda14 Use dotnet test since the dotnet xunit test runner has been deprecated (#7980) 2018-10-09 20:55:41 -07:00
Steve Lee 339abe0609 Fix Enter-PSSession -ContainerId for the latest Windows (#7883)
Hyper-V team changed the type used to get the `runtimeid`. We need to check for new type and fall back to old type.
2018-10-09 14:24:25 -07:00
Victor Silva e29b5ee839 Add cURL to the Bash users list in README.md (#7948) 2018-10-09 16:17:46 +05:00
PRASOON KARUNAN V 112b485798 Converting aliases to cmdlets in 'build.psm1' (#7964) 2018-10-08 23:16:50 -07:00
Sergey Vasin 3b3160841e Standardize Pester syntax in 'ReplaceOperator.Tests.ps1' (#7963) 2018-10-08 23:15:53 -07:00
dependabot[bot] 6b6d5e3fd1 Bump Xunit.SkippableFact from 1.3.6 to 1.3.12 (#7972)
Bumps [Xunit.SkippableFact](https://github.com/AArnott/Xunit.SkippableFact) from 1.3.6 to 1.3.12.
- [Release notes](https://github.com/AArnott/Xunit.SkippableFact/releases)
- [Commits](https://github.com/AArnott/Xunit.SkippableFact/compare/v1.3.6...v1.3.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-08 11:07:54 -07:00
Christoph Bergmeister [MVP] e69ff5ed55 Update Markdig.Signed NuGet package from 0.15.3 to 0.15.4 (#7960) 2018-10-08 08:59:45 +05:00
Ilya 09f5471346
Use params in ImportPSModule (#7933) 2018-10-05 09:31:32 +05:00