如何从输入用户名导出计算机名称到包含两组项目的csv文件? [英] How to derive computer name from entering user name into a csv file containing both sets of items?

查看:86
本文介绍了如何从输入用户名导出计算机名称到包含两组项目的csv文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个只有2列的.csv文件:UserName和MachineName。我需要一个脚本,允许将.csv导入.hta, 它有一个html表单来输入UserName,搜索并显示与之关联的静态分配的VDI MachineName
。 UserName和MachineName占用相同的行,但位于不同的单元格中。 (这应该很简单,但我能找到的是从AD派生机器名称的程序。) 这样做的目的是协助一级服务台
人员快速获取客户的计算机名称以输入MSRA和RDP。

I have a .csv file that has only 2 columns: UserName and MachineName. I need a script that will allow the importation of the .csv into an .hta,  which has an html form to enter the UserName, search and display the statically-assigned VDI MachineName associated with it. The UserName and the MachineName occupy the same line but are in separate cells. (This should be simple but all I can find are programs that derive the machine name from AD.)  The purpose of this is to to assist Tier 1 Service Desk personnel to rapidly acquire a client's computer name for inputting into MSRA and RDP.

推荐答案

抱歉,这不是HTA论坛。 此论坛仅适用于PowerShell脚本。

Sorry but this is not an HTA forum.  This forum is for PowerShell scripts only.

HTA已过时。 您可以使用Excel编辑CSV文件。

HTAs are obsolete.  You can use Excel to edit CSV files.

我建议您首先学习可用于创建GUI表单的PowerShell。 

I recommend that you start by learning PowerShell which can be used to create GUI forms. 


这篇关于如何从输入用户名导出计算机名称到包含两组项目的csv文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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