In your Compile-SharePointAudience method, I found that you call RunAudienceJob with an improper argument. You provide the searchContext.Name, as you can see below:
[Array]$args = $searchContex...
Id #9170 | Release:
| Updated: Dec 30, 2013 at 6:59 PM by mmootygam | Created: Dec 30, 2013 at 6:59 PM by mmootygam
Corrupted file. Do you need a (x64) application to open it?
Id #8652 | Release:
| Updated: Mar 26, 2013 at 4:03 AM by mysorian | Created: Mar 26, 2013 at 4:03 AM by mysorian
I realise that there probably isn't much need for these scripts anymore but, well, I need them so :)
I had trouble with the -url argument. The example shows using "http:/myWebApplication1" howeve...
Id #7806 | Release:
| Updated: Feb 22, 2013 at 12:55 AM by brm013 | Created: Mar 13, 2012 at 7:20 AM by brm013
When I use the script 'Export-All-SPWeb-Lists' to export a list that has each item with its own security permissions, and when I restore the list using the script 'Export-Import-SharePoin...
Id #7134 | Release:
| Updated: Feb 22, 2013 at 12:55 AM by Massabuau | Created: Sep 6, 2011 at 4:17 PM by Massabuau