Resolving Crackling, Throttling, and "Ultmate Performance Option" in Lenovo Thinkpad P16 (Gen 2)

I figure I would add to this about another issue that could pop up (probably for users who are not in the computer field).

I was having difficult getting Frank’s script to work on my backup laptop (Lenovo Thinkpad P.16 (Gen 2) with Windows 11.

See this link if you get an error about a restricted execution policy: windows server 2008 r2 - PowerShell says "execution of scripts is disabled on this system." - Stack Overflow

And you can check out this link for more discussion: Power options on Asus Vivobook - #6 by npudar