I did get it working, thank you.Did you get it working? Any of the posted two methods?
----------
Thanks to Brian for pointing out that the wmic command is now deprecated by Windows. Also thank to ikarus1969 for new command using CimInstance in PowerShell.
I'm afraid I'm going to have to ask for help from you guys with some RegEx.
I'm trying but struggling with RegEx. Is RegEx101.com an option and if so what settings would select to generate an output for Rainmeter
OUTPUT STRING:
Code:
ReleaseDate ----------- 3/26/2024 8:00:00 PM
Code:
2024/03/26
Code:
Caption ------- Microsoft Windows 11 Pro
Code:
Microsoft Windows 11 Pro
Statistics: Posted by Sh8dyDan — Yesterday, 9:55 pm