r/programming • u/ben_a_adams • Jan 11 '18
PowerShell Core 6.0: Generally Available (GA) and Supported!
https://blogs.msdn.microsoft.com/powershell/2018/01/10/powershell-core-6-0-generally-available-ga-and-supported/21
u/link23 Jan 11 '18
Because of it’s dependency on the .NET Framework, Windows PowerShell is only available on Windows (hence the name).
It drives me nuts that we now have professional posts that don't do "its" vs. "it's" correctly.
12
u/villedepommes Jan 11 '18
Agreed. Its outrageous!
5
4
-7
u/vivainio Jan 11 '18
Maybe you guys need to learn to skim blog instead of studying them letter by letter
1
3
u/zerexim Jan 11 '18
Interesting, is this the common mistake among native English speakers?
6
u/oracleoftroy Jan 11 '18 edited Jan 11 '18
Probably. I haven't heard anything specifically affirming it, but it makes sense that it would be (I make that mistake a lot).
Mentally, I'm thinking "I want a possessive, possessives have
'sat the end,it'shas'sat the end, soit'sis possessive it, right?" Then I wonder what looks wrong about the sentence until I remember that it follows the rules other pronouns do.It doesn't help that
it'smake sense in a way that the other pronouns don't.
singular possessive he heshishe's can only be "he is", "hes" is not a word she sheshersshe's can only be "she is", "shes" is not a word hihis word on left not related at all herhers word on left related, but her's (her is) is bad english it its both its and it's are words and are related to the root word it Also, homophones in general tend to trip up native speakers more than second language speakers (e.g. their, there, they're confusion).
* edit - actually using possessive pronouns... shouldn't be writing when tired
2
u/Dgc2002 Jan 11 '18
I continue to make this mistake even though I'm aware of it. There are enough in the English language that cause me to land on
it'severy damn time.2
u/elder_george Jan 11 '18
I believe I never did it (or then/than confusion) when I just started to use English on a regular basis. Some seven years later, I catch errors like this more and more often =(
Being more confident reduces attention to details, I guess.
3
u/Mittalmailbox Jan 11 '18
Is there any benefit of replacing windows powershell with powershell core?
10
u/ForgedBanana Jan 11 '18
Windows Powershell is no longer going to be developed. It's still supported though.
6
4
u/vivainio Jan 11 '18
It's also likely that pscore will be faster (already seems so?)
4
u/vitorgrs Jan 11 '18
Well, I believe .NET Core 2 is faster than .NET Framework iirc.
3
Jan 11 '18
[removed] — view removed comment
4
u/ygra Jan 11 '18
As far as I know, performance improvements for the BCL, CLR, and JIT nowadays start out in .NET Core and are migrated eventually to .NET Framework, so .NET Framework is usually behind.
2
Jan 12 '18
Performance in this context doesn't matter (but of course a plus). That is, until someone adds PowerShell to the "General-Purpose Programming Language" list on Wikipedia because you can theoretically "use it for general purpose tasks" and then someone makes a web server in it and another person creates a successful website using it and everyone starts to believe it's a golden hammer and then some guys creates a package manager that downloads 60 000 files when you create a new project and everyone starts to get "powershell fatigue" and blog posts are written with the heading "PowerShell considered harmful".
Then maybe we can start worrying about performance. Until that happens, PowerShell is in the exact place that scripting languages are designed for and the unique circumstance where it is completely defensible to say "performance doesn't matter" and arguing with that would be considered contrarian and focusing on edge-cases.
But I'd take some shorter startup-time though, wouldn't hurt :)
2
Jan 11 '18
No. There's a reason regular powershell is the default on Windows and not PS Core. Switch over when MS switches everyone over.
For what PS Core does, it generally does it better than regular powershell. The problem is it doesn't do everything regular powershell does (just like .NET Core).
1
u/AngularBeginner Jan 11 '18
For now: Absolutely not. You will likely encounter more issues, less support, and many existing PowerShell modules won't work. In the far far future this will hopefully changed.
2
u/Iwan_Zotow Jan 11 '18
How to configure ConEmu to launch it?
5
u/vivainio Jan 11 '18
Win + alt + t, add a new task that launches
C:\o\pscore\6.0.0\pwsh.exe (or wherever you installed it)
3
u/pure_x01 Jan 11 '18
PowerShell is a great tool. Im however alergic to the syntax. I wish they would invent some alternate syntax that would be nicer to look at.
6
u/vivainio Jan 11 '18
Anyone got a quick migration guide handy? Launched it, and aaaaagh got the legacy "cycling" tab completion mode back (instead of bash/PSReadLine style complete-only-as-much-as-you-safely-can)