Jump to content

palmer

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Posts posted by palmer

  1. I tried the following powershell to get Antivirus services status but I only get null:

     

    $service = Start-Process -FilePath " C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security for Windows\avp.com" -ArgumentList "STATUS"
    $status = @{"Status" = $service.AVService}
    return $status | ConvertTo-Json -Compress

     

    Can anyone help me to get the correct result so I can use on intune to valiudate antivirus is working?

     

     

  2. Hello

     

    I would like to create a compliance script in intune to check if kaspersky antivirus is installed and running, if not installed or running i would like to mark the computer as not compliance and apply conditional access so the user cannot access for example email.

     

    I am attaching a link explining how this works:

     

    https://www.petervanderwoude.nl/post/working-with-custom-compliance-settings/

     

    Can anyone help in creating that script in powershell?

     

    Thanks in advanced!

     

    Albert

×
×
  • Create New...