Navigating the Microsoft Graph API with SDK Webinar. Wednesday, July 31. Register Here

PATCH MY PC DOCS

Knowledge Base

We’re here to help if needed

Patch My PC – PowerShell script requirement rule is not met

This article discusses the “PowerShell script requirement rule is not met” status you get when deploying Intune Updates through the Patch My PC Publisher.

Topics covered in this article:

Introduction

When you deploy Intune Updates published by the Patch My PC Publishing Service for some devices the Intune deployment statistics might say Not Applicable.

The status details in such cases will state Powershell script requirement rule is not met.

PowerShell script requirement rule is not met.

Additional information

Each Intune Update published by Patch My PC contains in its Properties a requirement script.

Intune runs this requirement script to determine if the update you targeted the device with applies or not.
Therefore, before installing the update, Intune invokes the script, which returns:

  • True, if an older version is installed on the device.
  • False, if an older version isn’t installed on the device.

More InformationNote:Intune Updates will only work if the version already on the device matches the type of installer (like EXE or MSI) and the system architecture (like x64 or x86) of the update you’re sending out.

Recommendations

If you want to update software on your devices, like Google Chrome, you can pick all the Google Chrome updates from the Intune Updates section and deploy them. Then, Intune takes care of installing the necessary updates on the devices.

We don’t recommend selecting every software available in the Patch My PC Publisher or it’s Cloud counterpart, however, as you might run into the Intune policy size limit issue documented here.

Troubleshooting

If you find that Intune Updates aren’t being applied even though an older version is installed, you’ll need to troubleshoot the issue. Here’s what we need:

  1. The name of the update that is not installing (e.g. Update for Google Chrome, or Update for Notepad++)
  2. From the device on which the update is not applying, collect these logs. Make sure to include the rolled-over logs as well.
  3. Additionally, run this script to export a list of the software installed on the device.
    This step is very important, as this export will allow us to verify the applicability rules of the update.
  4. Once you’ve collected the necessary files, please open a support case, if you haven’t already.
Published On June 02, 2024