Đã Hủy

Powershell Script to find Computername, OS Version and IP Address

Need help with a Powershell script. I want a script that will list the computername, IP Address, OS Version in a Domain. If possible, I would also like for the script to check to see if XML is loaded.

I have parts of the script that I have worked on listed below. I need a coder to complete the script as soon as possible.

**Computer Name (runs fine**):

$strCategory = "computer"

$objDomain = New-Object [url removed, login to view]("LDAP://OU=***,DC=***,DC=***")

$objSearcher = New-Object [url removed, login to view]($objDomain,"(objectCategory=$strCategory)",@('name'))

$[url removed, login to view]() | %{$[url removed, login to view]} | Out-File -filepath "C:\[url removed, login to view]"

**IP Address (I'm receiving a token error with this script.)

**strComputer = "."

Set objWMIService = GetObject ("winmgmts:\\" & strComputer & "\root\cimv2")

Set colItems = [url removed, login to view] _

("Select * From Win32_NetworkAdapterConfiguration " & _

"Where IPEnabled = True")

For Each objItem in colItems

[url removed, login to view] "Caption: " & [url removed, login to view]

For Each objAddress in [url removed, login to view]

[url removed, login to view] "IP Address: " & objAddress

Next

Next

This is what I have done so far but it does not have to be used. Again, the script needs to be in Powershell.

## Deliverables

The final script should export-csv or write to a CSV file in columns.

Kĩ năng: Kĩ thuật, Microsoft, Quản lí dự án, Thiết lập Bản thảo, Shell Script, Kiến trúc phần mềm, Kiểm tra phần mềm, Màn hình Windows

Xem nhiều hơn: powershell version, version powershell, powershell script version, powershell script find version, powershell computername, powershell computer name address, script find version, powershell find computer name, powershell script check version, powershell check version, computer name address powershell, powershell script address, powershell find address, powershell address computer name, powershell version computername, address computername powershell, powershell script computer name address, powershell computername address, powershell script address version, powershell version address

Về Bên Thuê:
( 67 nhận xét ) United States

ID dự án: #3809810

3 freelancer đang chào giá trung bình $10 cho công việc này

yilin

See private message.

$8.5 USD trong 1 ngày
(72 Nhận xét)
5.8
Archit88

See private message.

$17 USD trong 1 ngày
(16 Nhận xét)
3.5
androidsu25

See private message.

$3.4 USD trong 1 ngày
(1 Nhận xét)
0.0