'Zuerst eine Klasse die den nötigen Code aufnimmt
Imports System.Management
Public Class clsRemoteCPUCount
Public Function CountPhysCPURemote(ByVal strUser As String, _
ByVal strDomain As String, _
ByVal strComputer As String, _
ByVal strPassword As String) As Integer
Try
Dim PhysCPU As ArrayList = New ArrayList
Dim options As ConnectionOptions
options = New ConnectionOptions()
options.Username = strDomain & "" & strUser
Alte URL:
/snippet/anzahl-phys-cpus-eines-remotesystems-ermitteln/668