Commit graph

3156 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 465e55d32a Remove Platform.HasNetworkDriveSupport query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 662e390902 Remove Platform.HasGroupPolicySupport query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer ab882cb04d Remove Platform.UseDotNetToQueryFileAttributes query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 2249afcd0a Remove Platform.HasUNCSupport query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 58fe228dc0 Remove Platform.HasFileShares query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 527f30a013 Remove Platform.HasSingleRootFilesystem query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer e6c037c666 Remove Platform.HasExecutionPolicy query
Also change Get-ExecutionPolicy to not throw, but to return
Unrestricted (which is the effect of the actual policy).
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 73a1a51f69 Remove Platform.HasRegistry query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer c2cd059aa8 Remove Platform.HasDriveAutoMounting query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer c9a4197af1 Remove Platform.HasAmsi query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 46cfa26812 Remove Platform.HasCom query 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 5ef851a170 Port NativeItemExists for Linux
Without using .NET
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer e89fa7b1dc Clean up IsExecutable and IsSymLink 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 4e518fe1c7 Remove Platform class override of PlatformNotSupportedException
This was confusing and unused in most places, exception itself removed
in cleanup.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 093587fecb Rename Native so it is Unix.NativeMethods
Like the rest of PowerShell.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 6a23655b2f Rename LinuxPlatform to Unix
Since it supports both Linux and OS X. This follows the .NET Core
convention.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 551e2e6fc4 Format CorePsPlatform 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 77a9b4b5d2 Remove unnecessary throws in CorePsPlatform 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 90a5382b30 Add bool IsFile(char*) to libpsl-native 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 3dacf45789 Revert NativeItemExists changes from baseline 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer 955d5f8bcb Add bool IsDirectory(char*) to libpsl-native 2016-07-14 17:34:12 -07:00
Sergei Vorobev 3276846c40 Merge pull request #1367 from PowerShell/vors/3-dlls
Bring .cs code for CimCmdlets, WSMan.Management and WSMan.Runtime dlls
2016-07-14 16:17:45 -07:00
Sergei Vorobev 3e105225cf Merge pull request #1375 from PowerShell/cchen/bugfix
msft:8027609 Get-Module -List and Test-ModuleManifest import the the …
2016-07-14 16:08:31 -07:00
Sergei Vorobev a655c9a27b Add AssemlbyInfo.cs files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 15:40:56 -07:00
Manikyam Bavandla MSFT 735456a12a Merge pull request #1378 from PowerShell/psget
Ignoring the errors from Receive-Job cmdlet in Uninstall-module logic…
2016-07-14 14:32:43 -07:00
Sergei Vorobev 58de8914b1 Downgrade Microsoft.WSMan.Management dependency so we can use the one from sources 2016-07-14 13:46:29 -07:00
Sergei Vorobev eb0d6905ab Fix ResourceManager instantiation in WsManHelper.cs 2016-07-14 13:46:29 -07:00
Sergei Vorobev 2afedf3eea Update documentation about resources 2016-07-14 13:46:29 -07:00
PowerShell Team 160ab847d5 Convert txt resources into resx for Microsoft.WSMan.Management 2016-07-14 13:46:29 -07:00
Sergei Vorobev 6c087155a7 Update PowerShellGithubDev.Tests.ps1 2016-07-14 13:46:29 -07:00
PowerShell Team bc6990f46b Copy cs files from [SD:717473]
commit 96877403a6a2eb9dcbee0f71bbc6dfb6e61dd9a3

- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Sergei Vorobev 132d98e3c7 Add project.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Sergei Vorobev 5802a02786 Add map.json files
- Microsoft.WSMan.Runtime
- Microsoft.WSMan.Management
- Microsoft.Management.Infrastructure.CimCmdlets
2016-07-14 13:46:29 -07:00
Manikyam Bavandla 6a1ad57e42 Ignoring the errors from Receive-Job cmdlet in Uninstall-module logic, this is a workaround for #1365 2016-07-14 13:37:08 -07:00
Quoc Truong ac7bed909e Merge pull request #1359 from PowerShell/quoct/onegettest
Enable test for PackageManagement on CorePowerShell
2016-07-14 13:26:01 -07:00
Chunqing Chen 080f029d8a msft:7980238, 7768797 Test-ModuleManifest loads all available modules if a module has the nested module dependencies. Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current runspace. 2016-07-14 13:21:28 -07:00
Sergei Vorobev 3cd396e6e6 Correct a note about produced binaries for FullCLR 2016-07-14 12:48:34 -07:00
Sergei Vorobev a4cfd1ce74 Add a note about produced binaries for FullCLR 2016-07-14 12:45:45 -07:00
Chunqing Chen bd0ba6771c msft:8027609 Get-Module -List and Test-ModuleManifest import the the nested module dependencies into the current/global runspace. 2016-07-14 12:42:47 -07:00
Andy Schwartzmeyer 34e6240188 Merge pull request #1370 from PowerShell/andschwa/start-pspester
Import Pester from new location
2016-07-14 11:38:34 -07:00
Andrew Schwartzmeyer a4dec332b4 Import Pester from new location
This is somewhat temporary as we're about to investigate using upstream
Pester without needing to have it as a submodule, and failing that,
moving it to a vendor folder.
2016-07-14 11:14:05 -07:00
Quoc Truong 3af74154af Place #if !LINUX at more appropriate places 2016-07-14 10:24:09 -07:00
Jianyun bcbb252707 Merge pull request #1366 from PowerShell/jianyun/docs
Updated samples so that they work on Linux
2016-07-14 10:20:25 -07:00
Raghu Shantha [MSFT] 2dad0d4a82 Merge pull request #1351 from PowerShell/RaghuS-AppxProviderBranch
Remove AppxProvider from PowerShell Codebase and builds
2016-07-14 10:05:37 -07:00
Quoc Truong d7309a2435 Remove test that calls powershell 2016-07-14 09:56:35 -07:00
Sergei Vorobev 7db984a7d0 Merge pull request #1315 from PowerShell/vors/linefeeds
Add note about one sentance per line to CONTRIBUTING.md
2016-07-14 09:34:19 -07:00
Sergei Vorobev 46254de1d2 Merge pull request #1368 from PowerShell/vors/git-katakoda
Add one more interactive tutorial source to git/basics.md
2016-07-14 09:30:04 -07:00
Sergei Vorobev 868dbb13d1 Add one more interactive tutorial source to git/basics.md 2016-07-14 00:38:40 -07:00
Sergei Vorobev a4a9103c73 Merge pull request #1338 from PowerShell/vors/git-auth
Update auth docs for git
2016-07-14 00:08:01 -07:00
Sergei Vorobev 7aa5304129 Merge pull request #1364 from PowerShell/bingbing8-docUpdate
Bingbing8 doc update
2016-07-14 00:06:23 -07:00