Aleksandar Nikolic
a204e215b7
Fixed typos and code formatting
...
Fixed typos in text and code and properly formatted code.
2016-07-17 12:17:17 +02:00
Aleksandar Nikolic
e74f294387
added newlines
...
Added newlines following one-sentence-per-line principle.
2016-07-17 11:35:04 +02:00
Aleksandar Nikolic
59837bc5c5
Merge remote-tracking branch 'refs/remotes/PowerShell/master' into powershell-beginners-guide-edits
2016-07-17 11:23:48 +02:00
Sergei Vorobev
58bbfe0dec
Merge pull request #1392 from PowerShell/vors/docs-faq-clean
...
Add Start-PSBuild -Clean in FAQ.md
2016-07-16 17:39:37 -07:00
Aleksandar Nikolic
5aefd5616a
Merge remote-tracking branch 'refs/remotes/PowerShell/master'
2016-07-17 00:05:35 +02:00
Aleksandar Nikolic
77b4105d1f
Update learning-powershell.md
...
Fixing typos and "More Reading" section.
2016-07-16 23:20:00 +02:00
Aleksandar Nikolic
3e568c4a87
Merge branch 'refs/heads/aleksandar'
2016-07-16 22:57:13 +02:00
Sergei Vorobev
b851e50509
Add Start-PSBuild -Clean in FAQ.md
...
This came out few times in the past few days.
2016-07-15 18:06:41 -07:00
Jason Shirk
5a1432e234
Merge pull request #1388 from PowerShell/andschwa/default-editmode
...
Use Emacs as DefaultEditMode on Linux / OS X
2016-07-15 15:57:58 -07:00
Sergei Vorobev
09ff780366
Merge pull request #1386 from PowerShell/vors/cim
...
Add CimCmdlets module in the produced package of core modules
2016-07-15 15:00:07 -07:00
Andrew Schwartzmeyer
b745d75f1b
Test PSReadLine's DefaultEditMode and bindings
2016-07-15 13:43:29 -07:00
Andrew Schwartzmeyer
c6758603ae
Set DefaultEditMode to Emacs on Linux / OS X
2016-07-15 13:40:16 -07:00
Andrew Schwartzmeyer
b3ef98036d
Set bindings based on options
...
This is instead of hard-coding a call to SetDefaultWindowsBindings().
2016-07-15 13:39:29 -07:00
Andrew Schwartzmeyer
ab83e00475
Refactor switch into SetDefaultBindings(EditMode)
2016-07-15 13:38:55 -07:00
Sergei Vorobev
736eaade3c
Add CimCmdlets module in the produced package of core modules
2016-07-15 13:25:38 -07:00
Andy Schwartzmeyer
cec82d3cd6
Merge pull request #1384 from PowerShell/andschwa/platform-cleanup
...
Platform cleanup
2016-07-15 11:17:15 -07:00
Jianyun
7e8e8592e3
Merge pull request #1381 from PowerShell/jianyun/docs
...
Removed Get-Help, -ls from the example in the beginner's guide.
2016-07-15 10:12:21 -07:00
Sergei Vorobev
24b78df64a
Merge pull request #1385 from alexandair/aleksandar
...
Update to basics.md
2016-07-15 10:09:46 -07:00
James Truher [MSFT]
ca96173307
Merge pull request #1320 from PowerShell/ParserPesterTest
...
Add Parser Pester Test Part 1
2016-07-15 10:07:26 -07:00
Aleksandar Nikolic
c37da8b50f
Update to basics.md
...
Fixing typos.
2016-07-15 18:19:47 +02:00
hiteshraigandhi
2157d89ad4
Merge pull request #1376 from PowerShell/vors/full-clr-doc
...
Vors/full clr doc
2016-07-14 23:05:51 -07:00
JumpingYang001
f2f9becbba
Fix comments for Parser Pester Test Part 2
2016-07-14 19:48:53 -07:00
JumpingYang001
98d9599b57
Fix comments and add Parser Pester Test Part 2
2016-07-14 19:48:52 -07:00
JumpingYang001
368b6a5c6c
Add Parser Pester Test Part 1
2016-07-14 19:48:52 -07:00
Andrew Schwartzmeyer
ed39a00f29
Add GetLStat
...
faccessat() does not support AT_SYMLINK_NOFOLLOW on OS X, so instead,
we use the success of lstat() to determine if the file (not following
symbolic links) exists. Also allowed for some refactoring.
2016-07-14 19:45:14 -07:00
Jianyun Tao
da28473dd6
Removed ls alias as an example because it does not exist on Linux.
2016-07-14 18:06:50 -07:00
Jianyun Tao
eb517bea41
Removed Get-Help example. Fixed typos.
2016-07-14 17:50:56 -07:00
Andrew Schwartzmeyer
70aa6af960
Remove unnecessary indirection from Platform.Unix
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
74c3262f03
Fix failing New-Item tests
...
PowerShell expects the behavior of NativeItemExists to not follow
symbolic links.
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
35e24ce6d4
Clean up CreateSymLink()
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
32e0a7dcaa
Format New-Item.Tests.ps1
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
ad94ddb3f1
Guard IsWinPEHost
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
89508ae99d
Revert IsWinPEHost changes
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
a9484e45e9
Remove Platform.SupportsRemoveDrive query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
dbe16ca5d7
Remove Platform.SupportsReparsePoints query
2016-07-14 17:34:12 -07:00
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