Commit Graph
337 Commits
Author SHA1 Message Date
Josh Soref 435c4e3474 spelling: comments in src/System.Management.Automation/engine/remoting/common 2016-08-28 05:29:21 +00:00
Josh Soref 64bd97801a spelling: comments in src/System.Management.Automation/engine/remoting/commands 2016-08-28 05:27:36 +00:00
Josh Soref 836101c1de spelling: comments in src/System.Management.Automation/engine/remoting/client 2016-08-28 05:25:01 +00:00
Josh Soref 721abf09dc spelling: comments in src/System.Management.Automation/engine/parser 2016-08-28 05:22:02 +00:00
Josh Soref 1e1a69a291 spelling: comments in src/System.Management.Automation/engine/lang 2016-08-28 05:18:25 +00:00
Josh Soref 8d58abcc5f spelling: comments in src/System.Management.Automation/engine/interpreter 2016-08-28 05:17:13 +00:00
Josh Soref 4d64abd01d spelling: comments in src/System.Management.Automation/engine/hostifaces 2016-08-28 05:16:16 +00:00
Josh Soref 781be88323 spelling: comments in src/System.Management.Automation/engine/debugger 2016-08-28 06:12:41 +00:00
Josh Soref 9fb40a2d15 spelling: comments in src/System.Management.Automation/engine/COM 2016-08-28 06:13:41 +00:00
Mike Richmond f16bc1ab16 Fixing API set versioning to get PowerShell Core working on Windows 7 2016-08-26 16:49:32 -07:00
Josh Soref eb3fd7ae6c Spelling comments (#2066)
* spelling: comments in src/Microsoft.Management.Infrastructure.CimCmdlets

* spelling: comments in src/Microsoft.PackageManagement.ArchiverProviders

* spelling: comments in src/Microsoft.PackageManagement.CoreProviders

* spelling: comments in src/Microsoft.PackageManagement.MetaProvider.PowerShell

* spelling: comments in src/Microsoft.PackageManagement.MsiProvider

* spelling: comments in src/Microsoft.PackageManagement.MsuProvider

* spelling: comments in src/Microsoft.PackageManagement.NuGetProvider

* spelling: comments in src/Microsoft.PackageManagement.PackageSourceListProvider

* spelling: comments in src/Microsoft.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.Activities

* spelling: comments in src/Microsoft.PowerShell.Commands.Diagnostics

* spelling: comments in src/Microsoft.PowerShell.Commands.Management

* spelling: comments in src/Microsoft.PowerShell.Commands.Utility

* spelling: comments in src/Microsoft.PowerShell.ConsoleHost

* spelling: comments in src/Microsoft.PowerShell.Core.Activities

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext

* spelling: comments in src/Microsoft.PowerShell.CoreCLR.Eventing

* spelling: comments in src/Microsoft.PowerShell.Diagnostics.Activities

* spelling: comments in src/Microsoft.PowerShell.GraphicalHost

* spelling: comments in src/Microsoft.PowerShell.LocalAccounts

* spelling: comments in src/Microsoft.PowerShell.Management.Activities

* spelling: comments in src/Microsoft.PowerShell.PSReadLine

* spelling: comments in src/Microsoft.PowerShell.PackageManagement

* spelling: comments in src/Microsoft.PowerShell.ScheduledJob

* spelling: comments in src/Microsoft.PowerShell.Security.Activities

* spelling: comments in src/Microsoft.PowerShell.Security

* spelling: comments in src/Microsoft.PowerShell.Utility.Activities

* spelling: comments in src/Microsoft.PowerShell.Workflow.ServiceCore

* spelling: comments in src/Microsoft.WSMan.Management.Activities

* spelling: comments in src/Modules

* spelling: comments in src/Schemas

* spelling: comments in src/libpsl-native

* spelling: comments in src/powershell-native

* spelling: comments in build.psm1

* spelling: comments in src/System.Management.Automation/CoreCLR

* spelling: comments in src/System.Management.Automation/DscSupport

* spelling: comments in src/System.Management.Automation/cimSupport

* spelling: comments in src/System.Management.Automation/commands

* spelling: comments in src/System.Management.Automation/engine/Modules
2016-08-26 13:46:03 -07:00
Matthew Brener a666c51110 its to it's where appropriate in throttlemanager 2016-08-25 18:19:33 +10:00
Mike Richmond 18f3589d68 Fixing the path to the user's JSON configuration file 2016-08-23 15:45:49 -07:00
Adam Driscoll c829d9e915 Adding debugType portable to project.json. (#1959)
* Adding debugType portable to project.json.

* Move debugType.

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Moving debugType into correct places. Removing from non-core builds.

* Added missed files.

* Fixing project.json debugType placement.
2016-08-23 10:38:25 -07:00
Paul Higinbotham e779d5dda1 Fix for issue 1528: SSH based remoting does not handle errors during connection attempt (#1856) 2016-08-18 16:08:58 -07:00
Mike Richmond ef5bf5ce08 Merge pull request #1787 from PaulHigin/WorkingA
PowerShell remoting over SSH.
2016-08-12 18:12:53 -07:00
Mike Richmond 7cf93ba966 Merge pull request #1784 from lzybkr/format_cleanup
Cleanup mis-formatting of preprocessor directives
2016-08-12 17:11:15 -07:00
Mike Richmond 718ee69c06 Setting Initial OPS LocalMachine ExecutionPolicy to RemoteSigned (#1769)
* Adding PowerShellProperties.json to the build so ExecutionPolicy set to RemoteSigned at first run.
2016-08-12 17:02:52 -07:00
chunqingchen 2764b31c07 Update the job cache location on on windows platforms (#1740)
* Update the job cache location on non-windows platforms
2016-08-12 16:54:05 -07:00
PaulHigin 44ad7f9e3c These changes implement PowerShell remoting over SSH. The changes include feedback from code review comments. 2016-08-12 15:47:46 -07:00
Jason Shirk (POWERSHELL) 231f34b472 Cleanup mis-formatting of preprocessor directives 2016-08-12 15:29:37 -07:00
Dongbo Wang ea9694980e Address review comments in product code 2016-08-12 11:01:23 -07:00
Dongbo Wang 8bb291896c Change 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' back to 'public'
Add CI tests for the module path change
2016-08-11 21:45:20 -07:00
Dongbo Wang c27b4db3ac Change runtime check to build check because 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' are make unix only 2016-08-11 21:36:48 -07:00
Dongbo Wang 07f9fefee8 Add the shared module path to unix (counterpart of 'Program Files\PowerShell\Modules').
Also make 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' unix build only, as they doesn't apply to windows.
2016-08-11 21:36:48 -07:00
Dongbo Wang 3ff19e1d80 Update module path calculation logic to support side-by-side.
Use 'Path.PathSeparator' instead of ';' to separate paths, so that it uses ';' on windows and ':' on unix.
Also refactor some code as part of the change.
2016-08-11 21:36:48 -07:00
Andy Schwartzmeyer ac9902cf95 Merge pull request #1711 from PowerShell/johnkord-Linux_DSC_error_message
Error message for Linux DSC schema directory missing
2016-08-11 14:12:38 -07:00
Dongbo Wang 76ca7e5f52 Update to depend on Newtonsoft.Json.9.0.1 2016-08-11 11:43:31 -07:00
John Kordich 4656f3c072 Adding error message letting the user know they need to install PSDSC for Linux 2016-08-10 13:53:37 -07:00
Francisco Gamino 3ed7201e21 Fixing get-help on Linux 2016-08-10 12:19:51 -07:00
Mike Richmond 6575500b79 Whitespace change to retrigger a build 2016-08-09 16:31:26 -07:00
Mike Richmond 063fd9c8f6 Removing directory creation from initialization. 2016-08-09 14:47:04 -07:00
Mike Richmond ca307e7c95 Fixing JsonConfigFileAccessor constructor so that it doesn't throw exceptions when run as a regular user. 2016-08-09 14:47:04 -07:00
Dongbo Wang ba2cd1d2b7 Merge pull request #1669 from andschwa/safe-hostname
Safe hostname
2016-08-08 11:10:53 -07:00
Andrew Schwartzmeyer 9d164ea972 Move Unix class under Platform
E.g. SMA.Platform.Unix, not just SMA.Unix.
2016-08-08 10:48:59 -07:00
Andrew Schwartzmeyer a8416d7b30 Consolidate GetUserName code
Once .NET Core 1.1 becomes available, we can likely remove the entirety
of CorePsExtensions.cs.
2016-08-08 10:48:59 -07:00
Sergei Vorobev b859b5ab3e Merge pull request #1671 from lzybkr/remoting_fix
Fix remoting break caused by refactoring
2016-08-05 18:48:06 -07:00
Jason Shirk (POWERSHELL) cf40937552 Fix remoting break caused by refactoring
Remoting apparently depends on the names of private fields
not changing between versions of PowerShell.

Because of this, these refactorings broke remoting:
* rename private fields
* convert to auto-property
2016-08-05 17:55:49 -07:00
Andrew Schwartzmeyer 3f9889d6da Consolidate InternalGetFolderPath
This logic belongs in one place, not split in two.
2016-08-05 15:34:52 -07:00
Andrew Schwartzmeyer 816dac0a55 Do not throw when getting Unix domain or user name
If the attempt to get the name fails, throwing an exception results in
PowerShell crashing. Instead, we should simply return empty data.

"unknown" is specifically not returned because it would be ambiguous; it
is not impossible to have an actual user or domain named "unknown".
2016-08-05 15:34:43 -07:00
Dongbo Wang dc9b326587 Fix issue #1609 - Get-PSSession -computername fails on nano
Root cause: Microsoft.WSMan.Management  and  Microsoft.PowerShell.Commands.Diagnostics  are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Mike Richmond 1e4615114c Reducing duplication of Environment variable extraction 2016-08-04 13:15:34 -07:00
Mike Richmond d3625f7662 Resolving issue with Registry reads where values are not present. 2016-08-04 13:15:34 -07:00
Mike Richmond 6eb0f2d6c7 Addressing reader and writer synchronization to the config file within the process. 2016-08-04 13:15:34 -07:00
Mike Richmond b291e2006c Fixing implementation of GetModulePath to conform to the requirements of #1184. 2016-08-04 13:15:34 -07:00
Mike Richmond 8ffb717e14 Reducing exception catching within ConfigPropertyAccessor classes to provide greater control to callers regarding the most appropriate way to handle them. 2016-08-04 13:15:34 -07:00
Mike Richmond 419db0e832 Removing dependency on JSON .Net for FullClr 2016-08-04 13:15:34 -07:00
Mike Richmond 33c1f2db23 Fixing execution policy so test automation works 2016-08-04 13:15:34 -07:00
Mike Richmond f8b9b88986 Bug fixes and cleanup in preparation for push. 2016-08-04 13:15:34 -07:00
Mike Richmond e6e785ec92 Added module path support. Not plumbed trhough yet. 2016-08-04 13:15:34 -07:00