You can list all LUNs with
$esxcli.storage.nmp.device.list()
With a Where-clause you can extract the LUNs you want to change.
I suppose you have that information somewhere, perhaps in a CSV file ?
Once you have the devices, it's a matter of calling something like
$esxcli.storage.nmp.device.set($null, $canonicalname, "VMW_PSP_MRU")
See Example 5 in the Get-EsxCli cmdlet.