Jump to content

JordanT

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by JordanT

  1. tldr: I have an endpoint policy to trigger a workflow from an event log I have it set to notify on low, is there a way to have the low notification auto deleted as the workflow that triggers sends an elevated alert for workstations with 5 or more days uptime
  2. Yeah I think I am trying to make it too complicated and I'm 99% sure you're correct about the customfields being the wrong way because, I am using a workflow to add a tag and all my computers just about put themselves into "Uptime" tag i made
  3. At the moment I'm trying to get a script to register on event id 4624 to check if the computer has been online for 14 days or more and this isn't working sadly if i could get any tips or improvements # Outputs $SETCUSTOMFIELDNO = "SHORT" $SETCUSTOMFIELDYES = "LONG" $days = 14 $system = Get-WmiObject win32_operatingsystem if($system.ConvertToDateTime($system.LastBootUpTime) -lt (Get-Date).AddDays(-$days)){ Start-Process -FilePath "$env:PWY_HOME\CLI.exe" -ArgumentList ("setVariable SETCUSTOMFIELDNO ""$SETCUSTOMFIELDNO""") -Wait }else{ Start-Process -FilePath "$env:PWY_HOME\CLI.exe" -ArgumentList ("setVariable SETCUSTOMFIELDYES ""$SETCUSTOMFIELDYES""") -Wait }
  4. anyone have any scripts they use that will send an alert to pulseway about a machine that has been online for X amount of days?
  5. Hello, Trying to figure out a way to update abode via pulseway most of our computers are win10 and some win11 or is there a plugin that will work if a script isn't possible ? Is there also an automated script to return all the accounts that haven't logged in for X amount of days then delete those user accounts without having to do "Connect-AzureAD" as I don't want to put Azure creds online Regards, Jordan
×
×
  • Create New...