might be handy when using AD Domain managed device to detect when the computer is connected "home".
- You need Powershell Plugin https://github.com/khanhas/PowershellRM
- Then you need to update %HOMEPATH%\Documents\Rainmeter\Skins\illustro\Network\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