New-VIPermission : Die Argumenttransformation für den Parameter "Principal" kann nicht verarbeitet werden. Der
Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
In C:\scripts\check_folder.ps1:51 Zeichen:83
+ ... ssion -Role $usedRole -Entity $resourcePool -Principal $group -Propag ...
+ ~~~~~~
+ CategoryInfo : InvalidData: (:) [New-VIPermission], ParameterBindingArgumentTransformationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Permis
sionManagement.NewVIPermission
This is the error message. Get-VIAccount doesn't seem to return anything