Public/Invoke-SfCreateObject.ps1
1 2 3 4 |
function Invoke-SfCreateObject { param([String]$name, [PSObject]$object) Invoke-SfApi "/sobjects/$($name)/" -Method Post -Body ($object | ConvertTo-Json -Depth 100) } |