Poweshell新手 [英] Poweshell Newbie

查看:94
本文介绍了Poweshell新手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我需要一些来自以下网址的脚本的帮助 - 我是关于电源外壳的完整新手


https://gallery.technet.microsoft.com/scriptcenter/Powershell-测试服务器-e0cdea9a


我保存了脚本,然后创建了一个txt文件,其中包含我要对其运行的系统列表


我需要能够将结果导出为csv或xlsx格式,以便我可以记录结果


谢谢你的帮助


解决方案

您必须首先通过点源文件加载该函数。


以下是一个解释:
http://blogs.technet.com /b/heyscriptingguy/archive/2009/12/23/hey-scripting-guy-december-23-2009.aspx


Hi All

I need some assistance with a script that I got from the following URL - I am a complete novice with regard to power shell

https://gallery.technet.microsoft.com/scriptcenter/Powershell-Test-Server-e0cdea9a

I saved the script and then created a txt file with a list of systems that I want to run it against

I need to be able to export the results to a csv or xlsx format so that I can have a record of the results

thank you for your help

解决方案

You have to load the function first by dot sourcing the file.

Here is an explanation: http://blogs.technet.com/b/heyscriptingguy/archive/2009/12/23/hey-scripting-guy-december-23-2009.aspx


这篇关于Poweshell新手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆