Commit graph

5242 commits

Author SHA1 Message Date
jeffbi
8f9aed806e Increase test coverage for Rename-Item and Move-Item (#4329)
* Increase test coverage for Rename-Item and Move-Item
* Add access-denied tests
* Add -skip on Unix for access-denied tests.
2017-08-02 09:51:22 -07:00
Ilya
1a835f3382 Cleanup '#if CORE' in ExtensionMethods.cs (#4451) 2017-08-01 17:25:51 -07:00
Ilya
f4a13e2e40 Cleanup '#if CORE' in PSTelemetryMethods.cs (#4452) 2017-08-01 17:25:37 -07:00
Ilya
a7bfde5794 Cleanup '#if CORE' in PInvokeDllNames.cs (#4456) 2017-08-01 17:25:05 -07:00
Travis Plunk
256ce72ed1 Remove appx packaging related script (#4376) 2017-08-01 17:24:31 -07:00
Steve Lee
e64e68bcdc Allow passing $true/$false as parameter to script using -File (#4178)
Using powershell.exe to execute a PowerShell script using -File currently provides no way to pass $true/$false as parameter values. Current behavior is that -File accumulates passed parameters as strings only.

Fix is to special case this based on discussion with PS-Committee to support $true/$false as parsed values to parameters. Switch values is also supported as currently documented syntax doesn't work.
2017-08-01 14:41:31 -07:00
Travis Plunk
e829053e9e Add ability to package all of powershell core as a NuGet Package (#4363)
So that PowerShell can be installed using PackageManagement cmdlets find-package and install-package.
2017-08-01 14:35:50 -07:00
jeffbi
10a27b891a Increase code coverage of Get-ChildItem on file system. (#4342)
* Increase code coverage of Get-ChildItem on file system.
2017-08-01 13:16:30 -07:00
Steve Lee
e38f0e7149 Make ShellExecuteEx use STA (#4362) 2017-08-01 11:27:40 -07:00
Darwin
b7b3b69a74 add amazonlinux compatibility in install-powershell.sh (#4360)
* Updated to support amazon linux (centos variant)

* Updated to support amazon linux (centos variant)

* Updated to support amazon linux (centos variant)
2017-08-01 09:47:01 -07:00
Aditya Patwardhan
75de2e9f07 Merge pull request #4283 from mwrock/no_debug
if running noninteractively then do not break into debugger on ctrl +…
2017-08-01 09:26:47 -07:00
Aditya Patwardhan
6afb8998e7 Merge pull request #4441 from SteveL-MSFT/deviceguard-pending
set deviceguard test to pending as it keeps failing in CI
2017-07-31 17:43:11 -07:00
Steve Lee [MSFT]
ec65a466e2 set deviceguard test to pending as it keeps failing in CI 2017-07-31 17:11:45 -07:00
Mike Richmond
a62fe0f220 Add Aditya as a Maintainer (#4364) 2017-07-31 16:26:57 -07:00
Steve Lee
cf9f8c8574 Give error instead of crashing if WSMan client lib not available (#4387) 2017-07-31 16:26:24 -07:00
Ilya
fa8b9006dd Clean up '#if CORE' in Utils.cs (#4397) 2017-07-31 13:09:34 -07:00
Ilya
e13dfc6b4e Clean up '#if CORE' in CimIndicationWatcher.cs (#4398) 2017-07-31 13:09:20 -07:00
Ilya
dd3e7cd1f7 Cleanup '#if CORE' in PdhSafeHandle.cs (#4399) 2017-07-31 13:09:04 -07:00
Ilya
df1056d28e Cleanup '#if CORE' in cimConverter.cs (#4400) 2017-07-31 13:08:42 -07:00
Ilya
30cd78a9a7 Cleanup '#if CORE' in GetComputerInfoCommand.cs (#4401) 2017-07-31 13:08:27 -07:00
Ilya
3b71bec9f3 Cleanup '#if CORE' in PSUserAgent.cs (#4403) 2017-07-31 13:06:51 -07:00
Ilya
38c5bc70e0 Cleanup '#if CORE' in Native.cs (#4404) 2017-07-31 13:06:33 -07:00
Ilya
af24581ddd Cleanup '#if CORE' in PInvokeDllNames.cs (#4405) 2017-07-31 13:06:16 -07:00
Ilya
812081e964 Clean up '#if CORE' in Cmdlets.cs (#4406) 2017-07-31 13:05:38 -07:00
Ilya
a3d05eb404 Cleanup '#if CORE' in HistoryQueue.cs (#4407) 2017-07-31 13:05:24 -07:00
Ilya
8454f99009 Cleanup '#if CORE' in CertificateProvider.cs (#4408) 2017-07-31 13:05:07 -07:00
Ilya
a9535030ac Cleanup '#if CORE' in Set-QuickConfig.cs (#4410) 2017-07-31 13:04:23 -07:00
Ilya
f2d507cb0a Cleanup '#if CORE' in cmdlets-over-objects.objectModel.autogen.cs (#4411) 2017-07-31 13:04:12 -07:00
Ilya
3e14daab3b Cleanup '#if CORE' in ILineOutput.cs (#4412) 2017-07-31 13:03:56 -07:00
Ilya
504aac522d Cleanup '#if CORE' in MshParameter.cs (#4413) 2017-07-31 13:03:12 -07:00
Ilya
af6ccd4737 Cleanup '#if CORE' in CorePsExtensions.cs (#4414) 2017-07-31 13:02:56 -07:00
Ilya
5890c51e20 Cleanup '#if CORE' in CorePsPlatform.cs (#4415) 2017-07-31 13:02:14 -07:00
Ilya
f3b18251cf Cleanup '#if CORE' in CurrentConfigurations.cs (#4409) 2017-07-31 12:58:44 -07:00
Steve Lee
ab764eeac1 Length script property for List View didn't include a name for the property so it defaulted to using the script as the property name (#4437) 2017-07-31 12:56:41 -07:00
Ilya
baa56f9c71 Cleanup '#if CORE' in CorePsStub.cs (#4416) 2017-07-31 12:55:28 -07:00
Ilya
86573cf926 Cleanup '#if CORE' in ComAdapter.cs (#4418) 2017-07-31 12:55:08 -07:00
Ilya
5bc204f26d Cleanup '#if CORE' in CompletionCompleters.cs (#4419) 2017-07-31 12:54:50 -07:00
Ilya
97e3cc2c35 Cleanup '#if CORE' in ExtensibleCompletion.cs (#4420) 2017-07-31 12:54:26 -07:00
Ilya
684ff97e79 Cleanup '#if CORE' in CommandProcessor.cs (#4421) 2017-07-31 12:54:13 -07:00
Ilya
5cfbf83447 Clean up '#if CORE' in ConnectionFactory.cs (#4422) 2017-07-31 12:54:01 -07:00
Ilya
ea81506232 Cleanup '#if CORE' in DynamicInstructionN.cs (#4423) 2017-07-31 12:53:37 -07:00
Ilya
91df98f565 Cleanup '#if CORE' in InstructionFactory.cs (#4424) 2017-07-31 12:51:05 -07:00
Ilya
1841682c08 Clean up '#if CORE' in Utilities.cs (#4425) 2017-07-31 12:50:44 -07:00
Ilya
ea3c207636 Cleanup '#if CORE' in ModuleIntrinsics.cs (#4426) 2017-07-31 12:50:15 -07:00
Ilya
5ce4e03ca5 Cleanup '#if CORE' ParameterBinderBase.cs (#4427) 2017-07-31 12:49:32 -07:00
Ilya
2bfe094b12 Cleanup '#if CORE' in PSVersionInfo.cs (#4430) 2017-07-31 12:49:11 -07:00
Ilya
927266225f Clean up '#if CORE' in remoterunspace.cs (#4431) 2017-07-31 12:48:38 -07:00
Steve Lee
7667f05da7 Fix Invoke-Item test on macOS (#4435)
add defensive measures to have TextEdit start explicitly bypassing restoring previously open docs and to explicitly close TextEdit after the test.
2017-07-31 12:41:32 -07:00
Dongbo Wang
1462ac300b Clean up ClrFacade.cs - remove ClrFacade.PtrToStructure (#4379) 2017-07-29 22:34:31 -07:00
Dongbo Wang
2c43140276 Clean up ClrFacade.cs - remove ClrFacade.SizeOf<T>() (#4377) 2017-07-29 17:40:19 -07:00