This dashboard will get computer related information using PowerShell CIM Cmdlets, run remote commands, restart and shutdown remote computers.
The dashboard requires a number of configuration changes to be made before starting the dashboard. After importing the template, open the Configuration.json file and change the following settings:
Configuration.json
Get-ADComputer -Properties <Properties>
Get-ADComputer
Enabled
C:\Program Files
C:\Program Files (x86)
.exe
C:\ProgramData\PowerShellUniversal\logs\<DashboardName>
To enable searching Intune devices via username, open the two scripts under the pages directory and add -SearchIntuneDevice parameter. This will add a button to New-ComputerInformationScanForm.ps1 and New-ComputerInformationForm.ps1 to search Intune.
pages
-SearchIntuneDevice
New-ComputerInformationScanForm.ps1
New-ComputerInformationForm.ps1
Note: This will require a credential to login to Intune using the MSOnline PowerShell module
All logs (Informational/Error) will go under C:\ProgramData\PowerShellUniversal\logs\<DashboardName>. This is helpful when troubleshooting errors or view history of remote commands being run.
All remote commands are logged (See above), timestamped, and includes the user that execute the command. A History button will appear if the log path contains the computer and date timestamp log file, this will be sort by latest date.
History