9个有用的PowerShell工具

微软强大的Windows管理框架变得更好用这些工具和材料的帮助。几乎所有的都是免费的;在一个收费工具,是非常值得的成本。

为什么PowerShell的?

Ah, PowerShell. A simple blue window and some text has transformed the world of Windows administration from a point-and-click GUI to脚本自动化一切,as well as provide log rotation and identity lifecycle management and which server receives which updates.

最新版本的Windows中的一切Server accessible primarily via PowerShell and only secondarily (and sometimes even not at all) via the server's GUI, PowerShell knowledge has become a must. Sometimes, though, it is difficult to know whether you are proceeding correctly. Luckily, there are other resources available that will help speed you along in your training and your professional responsibilities.

In this slideshow, I will highlight 9 resources for immersing yourself in the PowerShell world. Whether you're writing scripts, working in a DevOps-oriented environment or administering software from vendors other than Microsoft using PowerShell, there is something for everyone in this group of resources. And best of all -- they are all free, save for one excellent paid product.

What are you waiting for? Let's dive in.

powershell tools powergui1

Dell PowerGUI

大概从Dell的2012遗留acquisition of Quest,PowerGUI的是视觉补充的PowerShell。这使得组装脚本,并把事情在PowerShell中做简单的选择是适合你的任务的cmdlet,然后拖动到的地方。非常适合那些谁是新的PowerShell的,但有它的概念基本掌握,PowerGUI的是一个易于使用的脚本编辑器,可能会提前组装更为复杂和先进的脚本比什么都更快的你的理解 - 特别是如果你是一个视觉学习者。

Perhaps the most useful features of PowerGUI are the Power Packs: Pre-built scripts that have been open-sourced by the user community and made available to other PowerGUI users. These range from adding users to managing switches; they can be customized and further improved upon, or simply baked into whatever script you are currently writing, saving the time it would take you to reinvent the wheel.

There was once a paid edition of PowerGUI with more advanced features, but that edition was rolled up into the freeware product. PowerGUI does not seem to have been updated for a while, but that does not make it any less useful, and since it is freeware, you have nothing to lose by adding it to your arsenal.

免费软件。

powershell tools powershellstudio2

Sapien的技术PowerShell的工作室2015年

更先进的PowerShell的开发人员和管理员需要更先进的工具,和PowerShell工作室从2015年Sapien的是看的第一个地方。当你第一次打开PowerShell的工作室,你会立即提醒的Visual Studio和充分的理由:PowerShell的工作室是尽可能多的集成脚本环境为Visual Studio是一个集成开发环境(IDE)。

其特点包括:织带,远程调试支持,编译器功能,让你把脚本转换为可执行文件,PowerShell中的多个版本的支持,源代码控制在检查(靶向脚本来运行不同级别的Windows Server操作系统的不同服务器有用)进出脚本代码,并支持多个开发人员。所有这一切都使这是一个显而易见的选择商店,管理员和开发人员构建先进的PowerShell脚本来处理各种情况共同努力。

At $389 per license, it is a little pricey. But considering all of the product's functionality, if you live in this part of the PowerShell world, it is well worth the cost of admission.

45-day free trial, $389 per license

powershell tools aws3

亚马逊AWS工具的Windows PowerShell

It's not just Microsoft that is jumping on the PowerShell bandwagon; even a competitive cloud service like Amazon Web Services recognizes that (a) Windows Server is huge, (b) lots of administrators are learning PowerShell, and (c) anything that lets administrators manage Amazon services more easily increases the likelihood that an Amazon server will stick in any given enterprise. Thus the AWS Tools for Windows PowerShell were born.

随着AWS工具Windows PowerShell中,您可以管理虚拟机和在运行的服务实例弹性计算云(EC2),or write scripts that automate the management of any workloads you have running in a variety of Amazon services. The tools install a bunch of cmdlets into your Windows PowerShell "sphere of influence" and let you manage and script tasks like backing up data from virtual machines in EC2 to the Simple Storage Service (S3) or logging and publishing metrics to the Amazon CloudWatch personal dashboard.

If you know PowerShell and you use Amazon cloud services, these tools will be a great addition.

免费软件。

powershell tools scriptbrowser4

Microsoft Script Browser for Windows PowerShell ISE

The problem: You want to do something in PowerShell. You know your outcome. But you do not know how to get there and, further, you have a sneaking suspicion that someone, somewhere out there on the Internet has already figured it out and probably would tell you for free. What if there were this free magic tool that would scour the TechNet Script Center -- probably the most authoritative source for PowerShell scripts on Earth right now -- and find scripts that purport to do what you need? That is exactly what Microsoft Script Browser claims to do.

It also includes a built-in Script Analyzer function that will read through your scripts and suggest improvements or changes to make based upon scripting best practices.

This tool plugs right into the Windows PowerShell Integrated Scripting Environment, which you get for free as part of Windows. You might need to install the feature on Windows client machines, but it should be installed by default as part of the basic Windows Server image.

免费软件,requires a Windows license and Windows PowerShell ISE to be installed.

PowerShell的工具pcts5
IDG

Adam Driscoll's PowerShell Tools for Visual Studio

如果你有更多的DevOps的“开发”的一面,那么你可能使用Visual Studio为您所选择的工具之一。虽然Visual Studio中有很多去为它,它不会做了很多使用PowerShell开箱。这就是亚当·德里斯科尔的PowerShell的工具Visual Studio项目的用武之地。

This project integrates within Visual Studio, brings syntax highlighting and colors to the IDE, and adds IntelliSense support for automatically completing syntax elements like variables, cmdlets and arguments as you type within a Visual Studio window. It also extends options for configuring Visual Studio projects so you can keep your scripting efforts organized and together, extends support for scripting arguments with the MS Build compiler and supports script debugging via breakpoint and breakpoint pane support. It also extends some testing features with Pester and PSate test adapters.

All in all, this is a free set of resources for making Visual Studio more PowerShell savvy. If you like this after downloading it, consider throwing Mr. Driscoll a few bucks for his efforts.

Free,with donations solicited. Also从MSDN

powershell tools psweb7
IDG

微软的Windows PowerShell Web访问,通过控制面板

PowerShell的Web访问是喜欢的webmail但PowerShell命令。您登录到网页呈现一个基于Web的控制台,您可以运行的cmdlet,执行操作并做简单的远程管理任务权在互联网上。没有必要对PowerShell的,扩展或cmdlet来被你用浏览计算机上安装。

This means that yes, you can run PowerShell operations from your iPad if you have this feature enabled.

最重要的是,它是免费使用的Windows Server许可证,是建立正确的。我不认为这在使用了很多,但我认为这是非常方便的。俗话说,“你可能不需要这个,直到你需要它,但是当你最终需要它,你需要它非常糟糕。”

Be careful, though, as opening this facility up to users outside your network is just an invitation for security problems. Restrict access to the PowerShell Web Access site in IIS to only IP addresses local to your corporate network. Or even better, restrict that access to a few workstations on your local network and perhaps a static VPN address you can use to perform administration tasks remotely.

自由。Windows功能,通过控制面板安装/添加和删除Windows功能。

You can also check out Microsoft's在此帮助页面

PowerShell的工具mva8

PowerShell Training via the Microsoft Virtual Academy

有大能力是需要大量的训练ing. PowerShell is a capable language that can do so much. It marries scripting with development and .NET programming. It comes with a universe of cmdlets. It has its own syntax. And while I have (and will continue to)解释PowerShell的基础知识培训在Computerworld.com,那件蜻蜓点水所有的表面有知道的。

幸运的是,微软虚拟学院包含结识PowerShell中,使用它,使语言文字工作对您的视频培训小时。这些课程包括从恒星信息的父亲的PowerShell的,杰弗里Snover,和杰出的技术专家谁作出(新)从职业的理解PowerShell中的每一个角落,如。完美的午餐时间。

免费软件。

powershell tools weltnerbook9
IDG

Master-PowerShell从托比亚斯Weltner博士电子书

If you are a visual learner, then video training is the best way to learn PowerShell. For those of us more language inclined, we can learn from Microsoft MVP Dr. Tobias Weltner in his free ebook cleverly titledMaster-PowerShell。Weltner覆盖在他的书,包括变量,数组和哈希表,管道,对象,条件,循环,函数,脚本,错误处理,范围,文本和正则表达式大量的地面。还包括:XML,行政工作使用文件系统,注册表,进程,服务,事件日志,WMI和用户。他甚至还包括.NET的一章,并编制了我们之间的开发者。

这本书是由井寺,一个流行的管理工具开发商主办,可以发现在上PowerShell.com网站,这是在自己的权利的有益的社会资源。

自由。

powershell tools powercli10
IDG

VMware vSphere PowerCLI

Like Amazon, VMware has figured out that, in some respects, making nice with your competitors for the benefit of your mutual customers is not a bad thing. To that end, VMware created PowerCLI, a command line-based environment for managing VMware vSphere resources that integrates PowerShell throughout.

The PowerCLI environment is basically a bunch of cmdlets that interact with vSphere and vCloud, and also provides interfaces based on C# and PowerShell for the various APIs that are exposed by the VMware products. If you are a VMware shop and want to get your hands on PowerCLI, head over to此链接。Is it not great when everyone plays nicely together in the sandbox?

免费软件,with afree cmdlet reference available

版权所有©2015年Raybet2