Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Get permissions for all AVD Host Pools in current or specific subscription
- $sub = @{ SubscriptionId = '91114d17-dd2f-4790-93ea-42bada557299' } ## make this a blank hashtable (@{}) if default/selected subscription required
- ## Get workspaces so we can check each host pool as one
- $ws= @{} ; Get-AzWvdWorkspace @sub|where ApplicationGroupReference|% { $ws.Add( $_.ApplicationGroupReference[0] , $_.Name ) }
- 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 }
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=ickiyipotm
- 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.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment