Guest User

Untitled

a guest
Dec 10th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Get-AzRoleDefinition | `
  2. %{
  3. $a = $_
  4. $_.Actions | select `
  5. @{n="Role";e={$a.Name}},
  6. @{n="Type";e={"Actions"}},
  7. @{n="Definition";e={$_}}
  8. $_.DataActions | select `
  9. @{n="Role";e={$a.Name}},
  10. @{n="Type";e={"DataActions"}},
  11. @{n="Definition";e={$_}}
  12. $_.NotActions | select `
  13. @{n="Role";e={$a.Name}},
  14. @{n="Type";e={"NotActions"}},
  15. @{n="Definition";e={$_}}
  16. $_.NotDataActions | select `
  17. @{n="Role";e={$a.Name}},
  18. @{n="Type";e={"NotDataActions"}},
  19. @{n="Definition";e={$_}}
  20. }
Add Comment
Please, Sign In to add comment