Hallo
Thanks for the feedback.
But Get-VIPermission no longer works under vSphere 8.0. It's mainly about resolving the local groups with the users under vsphere.local.
Beste Grüße
Tobias Heise
-------------------------------------------------------------------------
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
Sachgebiet Datacenter
Gebäude V-409
78457 Konstanz, Germany
Tel: +49 7531 88-2434
Original Message:
Sent: 6/18/2025 2:57:00 AM
From: Andrea Consalvi
Subject: RE: export all vm-folder with groups and there members
Yes, you can do this via PowerCLI by iterating over each VM folder and checking permissions using Get-VIPermission
. Here's a basic example that exports VM folders, assigned groups/users, and their roles:
This will give you a CSV with all VM folders and their assigned users or groups, including their role and group status.
Original Message:
Sent: Jun 10, 2025 08:30 AM
From: the1960
Subject: export all vm-folder with groups and there members
Does anyone know a script that can read all VM folders with their authorized groups and the users they contain?