Hello All,
I have created one power shell script to rerun the SCCM task sequence remote on assigned machines.
But it was throughing error even though the machine was part of the task sequence collection.
$computerlist = Get-Content -Path c:\temp\inputfile.txt
foreach ($computername in $computerlist)
{
Invoke-WmiMethod -computername $computername -Namespace "root\ccm" -Class "SMS_CLIENT" -Name TriggerSchedule CAS209C9-CAS02545-6F6BCC28
}
ERROR:
This is the error i am getting in the Execmgr.log
"CreateMandatoryRequestRecursively policy * not assigned"
Please help to modify the script as running condition.
THANKS SURESH M