We have written one rule for bucket items and it gets triggered when a bucket item is created or the item is saved. for creating a bucket item we use below code
$updatedItem=New-Item -Path "$parentPath" -Name $Title -ItemType $Template
Now when the item is created, the rule is triggered which is expected. After that, I want to trigger the same rule again when the item's fields get updated. I have used the below code to update the item fields
$updatedItem.Editing.BeginEdit()
$updatedItem.Title=$NewsTitle
$updatedItem.DateTime=$NewsDate
$updatedItem.Editing.EndEdit()
Now these fields get updated silently in sitecore but the save event is not fired and because of that the rule is not triggered. I also used the below code to explicitly trigger the event but that too did not work.
$updatedItem.Editing.EndEdit($false,$true)
Is there any way where I can trigger the rule from PowerShell script or trigger the save event?