One more for you
Is there a way to exclude the 169.254 addresses? Also how do I get the actual Windows Version no the build number? Please see the image below
Here is my script
$formComputerSupportInfor_Load = {
#TODO: Initialize Form Controls here
$env:computername
$label1.Text = "$env:COMPUTERNAME"
$label2.Text = 'Your Computer name is:'
$info = Get-NetIPAddress -AddressFamily ipv4
$label3.Text = "$($info.IPAddress)"
$label4.Text = 'IPV4 Information'
$os = (Get-CimInstance Win32_OperatingSystem).version
$label6.Text = (Get-CimInstance Win32_OperatingSystem).version
$label5.Text = 'Your Windows 10 Build is:'
Get-CimInstance
}
$label1_Click = {
#TODO: Place custom script here
}
$label3_Click={
#TODO: Place custom script here
}
[/img]img]