Quantcast
Viewing all articles
Browse latest Browse all 1735

Help: Rainmeter Skins • Re: Windows Registry

Yes, I would like to avoid the things you mentioned. I think the option mentioned by [balala] is the best for me because the powershell commands are "clearly" and cannot be falsesified (in view of this purpose). Maybe you know some good powershell commands for retrieving or reading systeminformations... Image may be NSFW.
Clik here to view.
:rosegift:
Image may be NSFW.
Clik here to view.
:bow:
Here is a sampling...
Basic Computer information:
Get-ComputerInfo

CPU Information:
Get-WmiObject -Class Win32_Processor | Select-Object Name, NumberOfCores, NumberOfLogicalProcessors

Memory Information:
Get-WmiObject -Class Win32_PhysicalMemory | Select-Object Manufacturer, Capacity, Speed

Disk Drive Information:
Get-WmiObject -Class Win32_DiskDrive | Select-Object Model, Size, MediaType

Operating System Information:
Get-WmiObject -Class Win32_OperatingSystem | Select-Object Caption, Version, BuildNumber

Motherboard Information:
Get-WmiObject -Class Win32_BaseBoard | Select-Object Product, Manufacturer, SerialNumber, Version

BIOS Information:
Get-WmiObject -Class Win32_BIOS | Select-Object Manufacturer, Name, Version, SerialNumber
Powershell and WMI may not be the very best option for all things...


I use a variety:

Code:

[MeasureCPUAvg]Measure=PluginPlugin=UsageMonitorAlias=CPUIndex=0[MeasureCPUName]Measure=RegistryRegHKey=HKEY_LOCAL_MACHINERegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0RegValue=ProcessorNameStringUpdateDivider=-1OnUpdateAction=[!CommandMeasure MeasureProductName "Run"][MeasureProductName]Measure=PluginPlugin=RunCommandOutputType=ANSIProgram=PowerShellParameter=(Get-WmiObject -class Win32_OperatingSystem).CaptionSubstitute="#CRLF#":""UpdateDivider=-1[MeasureDisplayVersion]Measure=RegistryRegHKey=HKEY_LOCAL_MACHINERegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersionRegValue=DisplayVersionUpdateDivider=-1[MeasureCurrentBuild]Measure=RegistryRegHKey=HKEY_LOCAL_MACHINERegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersionRegValue=CurrentBuildUpdateDivider=-1[MeasureUBR]Measure=RegistryRegHKey=HKEY_LOCAL_MACHINERegKey=SOFTWARE\Microsoft\Windows NT\CurrentVersionRegValue=UBRUpdateDivider=-1[MeasureWinBits]Measure=StringString=%ProgramFiles(x86)%RegExpSubstitute=1Substitute="^(.+)$":"64","^$":"32"UpdateDivider=-1[MeasureTopProcess]Measure=PluginPlugin=UsageMonitorAlias=CPUBlacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|services|System|system|WmiPrvSEIndex=1RegexpSubstitute=1Substitute="^$":"Idle"[MeterScreenArea1]Meter=StringX=154Y=0rFontFace=#TextFont#FontSize=10FontWeight=400FontColor=#ValueColor#StringAlign=RightAntiAlias=1Text="#SCREENAREAWIDTH@1# x #SCREENAREAHEIGHT@1#";[UPTIME]==================================[MeasureGetUserName]Measure=SysInfoSysInfoType=USER_NAMEUpdateDivider=-1[MeasureCurrentTime]Measure=Time[MeasureUserLoginTime]Measure=SysInfoSysInfoType=USER_LOGONTIMEUpdateDivider=-1[MeasureFormatSeconds]Measure=UpTimeSecondsValue=([MeasureCurrentTime:] - [MeasureUserLoginTime:])Format="%4!i!d %3!i!h %2!i!m"UpdateDivider=2DynamicVariables=1[MeasureUpTime]Measure=UpTimeFormat="%4!i!d %3!i!h %2!i!m"UpdateDivider=2;[Memory]==================================[MeasurePhysMemTotal]Measure=PhysicalMemoryTotal=1UpdateDivider=-1[MeasurePhysMemUsed]Measure=PhysicalMemoryUpdateDivider=2[MeasurePhysMemFree]Measure=PhysicalMemoryInvertMeasure=1UpdateDivider=2[MeasureSwapMemTotal]Measure=SwapMemoryTotal=1UpdateDivider=2[MeasureSwapMemUsed]Measure=SwapMemoryUpdateDivider=2[MeasureSwapMemFree]Measure=SwapMemoryInvertMeasure=1UpdateDivider=2[MeasurePageTotal]Measure=CalcFormula=MeasureSwapMemTotal - MeasurePhysMemTotalUpdateDivider=2[MeasurePageUsedPercent]Measure=PluginPlugin=UsageMonitorCategory=Paging FileCounter=% UsageUpdateDivider=2[MeasurePageUsed]Measure=CalcFormula=MeasurePageTotal * (MeasurePageUsedPercent / 100)UpdateDivider=2[MeasurePageFree]Measure=CalcFormula=MeasurePageTotal - MeasurePageUsedUpdateDivider=2;[Drive]==================================[MeasureTypeDrive1]Measure=FreeDiskSpaceDrive=#Drive1#Type=1IgnoreRemovable=0UpdateDivider=2[MeasureLabelDrive1]Measure=FreeDiskSpaceDrive=#Drive1#Label=1IgnoreRemovable=0UpdateDivider=2[MeasureTotalDrive1]Measure=FreeDiskSpaceDrive=#Drive1#Total=1IgnoreRemovable=0DiskQuota=1UpdateDivider=2[MeasureFreeDrive1]Measure=FreeDiskSpaceDrive=#Drive1#IgnoreRemovable=0DiskQuota=1UpdateDivider=2[MeasureUsedDrive1]Measure=FreeDiskSpaceDrive=#Drive1#InvertMeasure=1IgnoreRemovable=0DiskQuota=1UpdateDivider=2;[DRIVE Reads/Writes]==================================[MeasureDrive1Reads]Measure=PluginPlugin=UsageMonitorCategory=LogicalDiskCounter=Disk Reads/secName=#Drive1#IfCondition=MeasureDrive1Reads > 0IfTrueAction=[!SetOption MeterDrive1Reads Color "Fill Color #GreenLight#"][!UpdateMeter MeterDrive1Reads][!Redraw]IfFalseAction=[!SetOption MeterDrive1Reads Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive1Reads][!Redraw][MeasureDrive1Writes]Measure=PluginPlugin=UsageMonitorCategory=LogicalDiskCounter=Disk Writes/secName=#Drive1#IfCondition=MeasureDrive1Writes > 0IfTrueAction=[!SetOption MeterDrive1Writes Color "Fill Color #CoralLight#"][!UpdateMeter MeterDrive1Writes][!Redraw]IfFalseAction=[!SetOption MeterDrive1Writes Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive1Writes][!Redraw]

Statistics: Posted by jsmorley — Today, 6:05 pm



Viewing all articles
Browse latest Browse all 1735

Trending Articles