[error] The ‘Get-CimInstance’ command was found in the module ‘CimCmdlets’, but the module could not be loaded. For more information, run ‘Import-Module CimCmdlets’.
I’m sure this is something I haven’t configured correctly but this is a very powerful tool and I’m getting a little lost.
Can you verify what environment you’re running in? The Default environment will run in the Integrated environment. That means the script runs within the PSU server. If you switch to either 7.x (if installed) or 5.1, do you have a similar issue?
That was exactly the issue. Thank you! If I could trouble you for one more, could you point me in the right direction on how to call scripts from a dashboard I’d greatly appreciate it. Thank you!
I figured it out. I had to put -GrantAppToken in dashboard configuration .ps1. It wasn’t stated in the documentation so I was confused. I appreciate all of your help! Really great tool!