Alright... got it working!! Thank you for the assistance. I may be reaching out again before this is done 🙂
Here's what I did to get it working...
$ActionsBody = @"
{
"actions": [
{
"name": "0",
"request": true,
"forward": true,
"pool": "/Common/pool_test"
}
],
"conditions": [
{
"name":"0",
"request": true,
"httpHost": true,
"equals": true,
"values": [
"www.mydomain.net"
]
}
]
}
"@
Invoke-RestMethod -Uri https://$url/mgmt/tm/ltm/policy/~Common~Drafts~$Policy/rules/Testing -Method PUT -Headers $Header -Body $ActionsBody -ContentType 'application/json'