Hi @Saravanaraj-6475 ,
The power setting in the screenshot is "Turn off display after". To get the current AC power setting index value you can try something like below
(powercfg /q|Select-String -Pattern "\(display\)" -Context 0,9) -match '(?<=Current DC Power Setting Index: )\w+$'
$Matches.Values
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.