AkariiinMKII/Windows-screenFetch

[Bug] Please report "Get-CimInstance : Not supported" error here

AkariiinMKII opened this issue · 0 comments

In some situations you may see Get-CimInstance : Not supported error.

Here is an example, when all monitors powered off or no monitor plugged in, and run screenFetch with a remote desktop client, the system cannot detect any monitor and then the error appears. It can be simply fixed by adding -ErrorAction SilentlyContinue parameter, but I'm not sure where else will it happen, so please let me know if you see this error.

Snipaste_2023-09-13_01-16-08