Hi, i need a powershell script – look for registry or wmi and see the last policy request time / date interval to confirm machine successfully updated in a day or 2 days

Hi, i need a powershell script – look for registry or wmi and see the last policy request time / date interval to confirm machine successfully updated in a day or 2 days   “how to find out the lasft policy request time stamp in local machine using powershell if the client is inactive”