Use the below script to install Qualys.
Evaluation Code:
if (Test-Path -Path "C:\Program Files\Qualys\QualysAgent")
{
exit 0
}
else
{
exit 1
}
Remediation Code:
.\QualysCloudAgent.exe CustomerId="{INSERT}" ActivationId="{INSERT}" WebServiceUri="INSERT"
Note: Leave {} inside the quotes for both CustomerId and ActivationId