I am a beginner /noob in powershell and i have a requirement to write a powershell script to install windows updates by extracting the cab files from msu .
Get the input from the user param ($sourcefilepath)
validate if filepath exist
If filepath exist , validate the file signature subject and extension
Got stuck here
4 Script should validate all the files from $sourcefilepath and verify its signature ( as microsoft )and extension as msu
5 if the above condition is met (Point 4), then , copy the files to the $destinationfolder
Extract the cab files from each and install it one by one with results.