It is currently April 23rd, 2024, 6:22 pm

Extend illustro\Network to display AD Domain name

A package of skins with a "theme" or by a single author
burdavitek
Posts: 1
Joined: July 6th, 2019, 8:30 pm

Extend illustro\Network to display AD Domain name

Post by burdavitek »

Hi,

might be handy when using AD Domain managed device to detect when the computer is connected "home".
Add this to mentioned Network.ini

Code: Select all

[measureDomain]
Measure=Plugin
Plugin=PowershellRM
Line=(Get-NetConnectionProfile | Where-Object {$_.NetworkCategory -match 'DomainAuthenticated'} | Select Name | Format-Wide -Property Name -Column 1 | Out-String).Trim() 
Substitute="":"N/A"

[meterDomainNetLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=100
W=190
H=14
Text=AD Domain

[meterDomainNetValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureDomain
X=200
Y=0r
W=190
H=14
Text=%1