{"id":2178,"date":"2020-05-08T01:00:00","date_gmt":"2020-05-08T01:00:00","guid":{"rendered":"http:\/\/inswwdev.azurewebsites.net\/au\/insights\/uncategorized\/listing-permissions-to-ev-archives\/"},"modified":"2024-12-18T02:26:58","modified_gmt":"2024-12-18T02:26:58","slug":"listing-permissions-to-ev-archives","status":"publish","type":"post","link":"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/professional-services\/listing-permissions-to-ev-archives\/","title":{"rendered":"Listing Permissions to EV Archives"},"content":{"rendered":"<p><span>The question on how to produce a listing of all your Enterprise Vault (EV) archives comes up now and again from EV Admins. Veritas has made the process simpler with the release 12.4 with a new EV Powershell cmdlet \u2013 Get-EVArchivePermission.<\/span><\/p>\n<p>Way back in the day we only had the EV Admin Console and EVPermissionsBrowser application.\u00a0 There is also a SQL script which can be used for EV versions below 12.4.\u00a0 More details on how to do this can be found at this <a rel=\"noopener nofollow\" href=\"https:\/\/vox.veritas.com\/t5\/Articles\/Script-to-know-AD-permission-assigned-on-Archives-Folders\/ta-p\/806130\" target=\"_blank\">link<\/a>.<\/p>\n<p>This was posted by a Veritas employee.\u00a0 The script works well and I have used it many times to get the information required, however, you will need write access to the EV Directory Database to create the function required to convert the SID\u2019s to real usernames.<\/p>\n<p>On to Get-EVArchivePermission. To list all permissions for a single EV Archive, the syntax is:<\/p>\n<p><strong>Get-EVArchivePermission -ArchiveID ArchiveID<\/strong><\/p>\n<p>What if you do not know the ArchiveID?\u00a0 We need to pipe Get-EVArchive first:<\/p>\n<p><strong>Get-EVArchive JohnC | Get-EVArchivePermission | fl<\/strong><\/p>\n<p>More details about the cmdlet can be found in this <a rel=\"noopener nofollow\" href=\"https:\/\/www.veritas.com\/content\/support\/en_US\/doc\/96069939-127965758-0\/v132431020-127965758\" target=\"_blank\">Veritas article<\/a>.<\/p>\n<p>If you need to list all permissions for all EV archives and export to CSV for use in Excel or another spreadsheet program here is the command:<\/p>\n<p><strong>get-evarchive |get-evarchivepermission | select ArchiveID, ArchiveName, ArchiveType, TrusteeID, TrusteeSource, TrusteeType, Trustee, @{Name=&#8217;ManualGranted&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.ManualGranted))}}, @{Name=&#8217;ManualDenied&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.ManualDenied))}},@{Name=&#8217;AutoGranted&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.AutoGranted))}},@{Name=&#8217;AutoDenied&#8217;;Expression={[string]::join(&#8220;;&#8221;, ($_.AutoDenied))}} | export-csv PathFileName.csv -NoTypeInformation<\/strong><\/p>\n<p>I hope this helps you out and saves time in the near future.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The question on how to produce a listing of all your Enterprise Vault (EV) archives comes up now and again from EV Admins. Veritas has made the process simpler with the release 12.4 with a new EV Powershell cmdlet \u2013 Get-EVArchivePermission. Way back in the day we only had the EV Admin Console and EVPermissionsBrowser&hellip; <a class=\"more-link\" href=\"https:\/\/www.insentragroup.com\/au\/insights\/geek-speak\/professional-services\/listing-permissions-to-ev-archives\/\">Continue reading <span class=\"screen-reader-text\">Listing Permissions to EV Archives<\/span><\/a><\/p>\n","protected":false},"author":67,"featured_media":2179,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[25],"tags":[],"class_list":["post-2178","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-professional-services","entry"],"_links":{"self":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/2178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/comments?post=2178"}],"version-history":[{"count":1,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/2178\/revisions"}],"predecessor-version":[{"id":23613,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/posts\/2178\/revisions\/23613"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media\/2179"}],"wp:attachment":[{"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/media?parent=2178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/categories?post=2178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.insentragroup.com\/au\/wp-json\/wp\/v2\/tags?post=2178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}