Steps to Reproduce the Problem
Add field with scripted datasource.

Create script which calls GetBrokenLinks followed by Show-ListView. Does not matter if there are any broken links. Just matters that it calls because the resolveRenderingDatasource pipeline gets called.
$item = Get-Item -Path "master:" -ID "{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
$item.Links.GetBrokenLinks($true)
$item | Show-ListView

There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was:
Steps to Reproduce the Problem
Add field with scripted datasource.

Create script which calls
GetBrokenLinksfollowed byShow-ListView. Does not matter if there are any broken links. Just matters that it calls because theresolveRenderingDatasourcepipeline gets called.There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was: