在Linux上宣布PowerShell-PowerShell是开源的!

I started doing PowerShell almost 10 years ago. Check out this video from 2007 of me learning about PowerShell from Jeffrey Snover! I worked in PowerShell for many years and blogged extensively,  ultimately using PowerShell to script the automation and creation of a number of large systems in Retail Online Banks around the world.

我大约十年前开始使用PowerShell。 观看这段2007年的视频,我从Jeffrey Snover了解关于PowerShell的知识! 我在PowerShell中工作了很多年,并撰写了广泛的博客,最终使用PowerShell编写脚本,以脚本化全球零售网上银行中许多大型系统的自动化和创建。

Fast forward to today and Microsoft is announcing PowerShell on Linux powered by .NET Core and it's all open source and hosted at http://GitHub.com/PowerShell/PowerShell.

时至今日,Microsoft宣布了在.NET Core支持Linux上的PowerShell,它是开源的,托管在http://GitHub.com/PowerShell/PowerShell上

Holy crap PowerShell on Linux

Jeffrey Snover predicted internally in 2014 that PowerShell would eventually be open sourced but it was the advent of .NET Core and getting .NET Core working on multiple Linux distros that kickstarted the process. If you were paying attention it's possible you could have predicted this move yourself. Parts of PowerShell have been showing up as open source:

Jeffrey Snover在2014年内部预测,PowerShell最终将是开源的,但是.NET Core的出现以及让.NET Core在多个Linux发行版上工作才开始了这一过程。 如果您关注的话,您可能已经预料到了自己的举动。 PowerShell的某些部分已显示为开源:

随处获取PowerShell(Get PowerShell everywhere)

Ok, but where do you GET IT? http://microsoft.com/powershell is the homepage for PowerShell and everything can be found starting from there.

好的,但是您从哪里得到的呢? http://microsoft.com/powershell是PowerShell的主页,可以从此处开始找到所有内容。

The PowerShell open source project is at https://github.com/PowerShell/PowerShell and there are alphas for Ubuntu 14.04/16.04, CentOS 7.1, and Mac OS X 10.11.

PowerShell开源项目位于https://github.com/PowerShell/PowerShell ,其中包含适用于Ubuntu 14.04 / 16.04CentOS 7.1Mac OS X 10.11的Alpha

To be clear, I'm told this is are alpha quality builds as work continues with community support. An official Microsoft-supported "release" will come sometime later.

明确地说,我被告知这是Alpha质量的构建,这是在社区支持下继续进行的工作。 正式的Microsoft支持的“发行版”将在以后的某个时候发布。

有什么可能? (What's Possible?)

This is my opinion and somewhat educated speculation, but it seems to me that they want to make it so you can manage anything from anywhere. Maybe you're a Unix person who has some Windows machines (either local or in Azure) that you need to manage. You can use PowerShell from Linux to do that. Maybe you've got some bash scripts at your company AND some PowerShell scripts. Use them both, interchangeably.

这是我的看法,有些是有教养的推测,但在我看来,他们想要这样做,以便您可以在任何地方进行任何管理。 也许您是Unix人士,拥有一些需要管理的Windows计算机(本地或Azure)。 您可以使用Linux中的PowerShell来执行此操作。 也许您的公司有一些bash脚本和一些PowerShell脚本。 两者都可以互换使用。

If you know PowerShell, you'll be able to use those skills on Linux as well. If you manage a hybrid environment, PowerShell isn't a replacement for bash but rather another tool in your toolkit. There are lots of shells (not just bash, zsh, but also ruby, python, etc) in the *nix world so PowerShell will be in excellent company.

如果您了解PowerShell,则也可以在Linux上使用这些技能。 如果您管理混合环境,那么PowerShell不会替代bash,而是工具包中的另一种工具。 * nix世界中有很多shell(不仅是bash,zsh,还包括ruby,python等),因此PowerShell将成为出色的公司。

PowerShell on Windows

相关链接 (Related Links)

Be sure to check out the coverage from around the web and lots of blog posts from different perspectives!

一定要检查一下网络上的报道以及从不同角度来看的许多博客文章!

Have fun! This open source thing is kind of catching on at Microsoft isn't it?

玩得开心! 这种开源的东西在Microsoft上很流行,不是吗?

翻译自: https://www.hanselman.com/blog/announcing-powershell-on-linux-powershell-is-open-source

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值