Jump to content

Recommended Posts

Posted

Hi,

 

I was just wondering if there was any way to run a report on the number of times a user has pressed the emergency alert button?

 

Thanks

Lee

Posted

run this PowerShell script as a domain user who has SSO into SIMS

Import-Module *Sql* 
$sqlQuery = "SELECT * FROM [sIMS].[sims].[alt_message] where subject = 'Assistance Urgently Required'"
Invoke-Sqlcmd -Query $sqlQuery -ServerInstance “SIMS-01\SIMS2016” -Database “SIMS" | Export-Csv D:\SIMS_Share\sims\Reports\EmergancyAlerts.csv

  • Thanks 1
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...