guyrleech

Get AVD Host Pool Permissions

Mar 3rd, 2026 (edited)
223
0
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PowerShell 0.92 KB | Software | 0 0
  1. ## Get permissions for all AVD Host Pools in current or specific subscription
  2.  
  3. $sub = @{ SubscriptionId = '91114d17-dd2f-4790-93ea-42bada557299' } ## make this a blank hashtable (@{}) if default/selected subscription required
  4.  
  5. ## Get workspaces so we can check each host pool as one
  6. $ws= @{} ; Get-AzWvdWorkspace @sub|where ApplicationGroupReference|% { $ws.Add( $_.ApplicationGroupReference[0] , $_.Name ) }
  7.  
  8. Get-AzWvdHostPool @sub -PipelineVariable hp |% { Get-AzRoleAssignment -Scope $hp.id|select @{n='HostPool';e={$hp.name}},@{n='Description';e={$hp.Description}},@{n='ResourceGroup';e={$hp.ResourceGroupName}},@{n='Created';e={$hp.SystemDataCreatedAt}},@{n='Location';e={$hp.Location}},@{n='Application Group';e={$hp.ApplicationGroupReference -replace '^.*/'}},@{n='Workspace';e={ $ws[ ($hp.ApplicationGroupReference.GetEnumerator()|select -first 1) ] }},RoleDefinitionName,DisplayName,ObjectType|sort HostPool,roledefinitionname }
Tags: azure avd
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Falwynre
    22 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
Add Comment
Please, Sign In to add comment