my hairline has been receding trying to figure out why some powershell commands are borked. in particular running this string fails on my machine.
Ive come across various other command string that include "Set-CimInstance" that fail the same way. Specifically from this thread.
Does anyone know any setting or option that can effect PowerShell and bork it? If i run "set-ciminstance" by itself, it says "InputObject:", so ot seems functional somewhat. I made sure my "set-executionpolicy" is on bypass and that i launch the terminal as admin, so that cant be it either.
i am in "test mode" though, it says it on the bottom right hand side of the screen. i enable it so i can install custom nvidia drivers modified by NVCleanstall. would "test mode" or another bcdedit tweak bork certain powershell commands? im using windows insider canary builds, im on 27729. could it be a windows canary bug? anyone have any clue why this is happening?
Code:
Set-CimInstance -Query 'SELECT InstanceName FROM MSPower_DeviceEnable WHERE (Enable = True)' -Namespace 'root\WMI' -Property @{Enable = $false}
Ive come across various other command string that include "Set-CimInstance" that fail the same way. Specifically from this thread.
Does anyone know any setting or option that can effect PowerShell and bork it? If i run "set-ciminstance" by itself, it says "InputObject:", so ot seems functional somewhat. I made sure my "set-executionpolicy" is on bypass and that i launch the terminal as admin, so that cant be it either.
i am in "test mode" though, it says it on the bottom right hand side of the screen. i enable it so i can install custom nvidia drivers modified by NVCleanstall. would "test mode" or another bcdedit tweak bork certain powershell commands? im using windows insider canary builds, im on 27729. could it be a windows canary bug? anyone have any clue why this is happening?
- Windows Build/Version
- Windows 11 27729
My Computer
System One
-
- OS
- Windows 11 27729
- Computer type
- PC/Desktop
- CPU
- i9 13900kf @5.7ghz all P-Cores
- Motherboard
- Aorus Master Z790
- Memory
- 32gb DDR5 7200
- Graphics Card(s)
- RTX 4090
- Other Info
- https://www.github.com/shoober420