首页 > 解决方案 > Fetching machine details remotely from large group of computers

问题描述

I'm trying to remotely collect few details (machine name, user name,MAC address, Serial number, OS version etc) from the large group of computers. I have come up with different ways.

Method 1: Deploy a script on all the machines, script will fetch the details from machine and write in to a shared excel file present in the network file share.

Challenges: The target environment doesn't have network share folders enabled. Challenge in concurrent updating the excel from multiple machines at the same time.

Method 2: Deploy a script on all the machines, which will run fetch the required details and send an email to particular email address with all the required details in subject line. After all the email are received, admin can copy those emails and copy to excel, so it copies the subject line of the emails in excel rows. Later admin can delimit and seperate the column for desired report.

Challenges: This method tried and working fine. But challenge is no.of charecters in the email subject is limitted to 256 hence can't fetch more details.

I would like to request whether anyone has any inputs or other possible methods to achieve the target.

Thank you

标签: vb.netpowershellvbscriptpowershell-2.0

解决方案


推荐阅读