Este script de teste funciona aqui:
while ( (Get-Service audiosrv).Status -ne "Finished" ) {
Write-Host (get-date) "Waiting for WSS Configuration to complete"
sleep -seconds 60
}
Então, mude sua primeira linha para:
while ( (Get-WssConfigurationStatus).Status -ne "Finished" ) {