search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
How to remove user role in SCVMM with Powershell?
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 3,269 views | 17/02/2009 19:59

You can remove/delete your user role with this command:

1
2
3
$UserName = "JohnH"
$RemoveRole = Get-VMMUserRole | where {$_.Name -eq "$UserName"}
Remove-VMMUserrole -Userrole $RemoveRole

You should use Get-VMMUserRole command to use Remove-VMMUserrole command.



Leave a Reply