example-scripts/schedule-import-all-solutions.ps1
$conn = Get-RegentConnection -CrmInstance CRMRECRUIT $publisher = Get-CrmRecords -EntityLogicalName publisher -conn $conn -fields * -FilterAttribute friendlyname -FilterOperator eq -FilterValue "Regent Ops" $sols = Get-CrmRecords -EntityLogicalName "solution" -conn $conn -Fields uniquename, description, publisherid -FilterAttribute publisherid -FilterOperator eq -FilterValue $publisher.CrmRecords[0].publisherid Write-Host "Located the following solutions" $sols.CrmRecords | ForEach-Object { Write-Host -ForegroundColor Yellow $_.uniquename } Write-Host |