vCenter

 View Only
  • 1.  export virtual center privileges?

    Posted Oct 18, 2011 05:22 PM

    Hello all,

    I'm sure there's an easy way to do this, but I haven't been able to find it-need to export a list of all VC privileges, not just the ones currently assigned-Thanks.



  • 2.  RE: export virtual center privileges?

    Posted Oct 24, 2011 11:08 AM

    FSvcoe wrote:

    Hello all,

    I'm sure there's an easy way to do this, but I haven't been able to find it-need to export a list of all VC privileges, not just the ones currently assigned-Thanks.

    Get-Permissions is a filter I wrote, see the script in  Identifying Role Usage.
    I didn't repeat it in this thread.
    The sample line I gave was only a new version of the last line of the script in  Identifying Role Usage to show how to export the result to a CSV file.

    By default the separator is a comma, but in our regional settings it is defined as semi-column.
    Without the -Useculture parameter the Export-Csv cmdlet always uses a  comma, with that parameter it takes the separator defined in the  regional settings.

    command is-

    Get-Inventory -Location (Get-Datacenter <datacenter-name>) | Get-Permissions | Export-Csv -Path "C:\permissions.csv" -NoTypeInformation

    if need more assistant please follow this -http://communities.vmware.com/message/1105904#1105904

    Yours,

    Satya



  • 3.  RE: export virtual center privileges?

    Posted Oct 25, 2011 04:18 PM

    Thank you, but that's exporting assigned permissions-I really was looking for a blanket list of ALL available permissions, so we could develop a matrix and assign these to custom roles.



  • 4.  RE: export virtual center privileges?

    Posted Oct 25, 2011 05:57 PM

    I am not able to find a way to export the list from vCenter.

    http://pubs.vmware.com/vsphere-50/topic/com.vmware.vsphere.privileges.doc_50/GUID-ED56F3C4-77D0-49E3-88B6-B99B8B437B62.html

    That link documents all of the privileges and how and where they apply.

    I printed this section to a pdf and attached it to this message.



  • 5.  RE: export virtual center privileges?

    Posted Oct 25, 2011 07:54 PM

    Thanks Rob. I'll keep poking around with Powershell.



  • 6.  RE: export virtual center privileges?

    Posted Sep 18, 2012 05:55 PM

    FSvcoe,

    were you able to get this export or develop the matrix?  I'm looking to do the exact same thing (create a matrix).

    Thanks.

    Glenn