DEV Community

Discussion on: Solve: There is no Brightness button on my new keyboard ヽ( 〇 )ノ

Collapse
 
ra101 profile image
Parth Agarwal

Great! Looking forward to it.

Collapse
 
hanoman profile image
Sanny Tan

could you please give help ?
PS C:\WINDOWS\system32> Invoke-PS2EXE .\brightness.ps1 .\brightness.exe -noConsole
Invoke-PS2EXE : The 'Invoke-PS2EXE' command was found in the module 'ps2exe', but the module could not be loaded. For more information, run 'Import-Module ps2exe'.
At line:1 char:1

  • Invoke-PS2EXE .\brightness.ps1 .\brightness.exe -noConsole + ~~~~~~~~~
    • CategoryInfo : ObjectNotFound: (Invoke-PS2EXE:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
Thread Thread
 
ra101 profile image
Parth Agarwal • Edited
  • Open powershell in admin mode
  • Install the module again
  • Change Directory to where the script is (I think this is the main problem)
  • Run that command again.