PowerZure
git clone git@github.com:hausec/PowerZure.git
cd PowerZure
pwsh-preview
# Authenticate
Connect-AzAccount
# Import PowerZure
# impo is shorthand for Import-Module
ipmo ./PowerZure.ps1
# If you have multiple subscriptions, set the one you want to target:
Set-AzureSubscription -Id [Subscription ID]
# Enumerate all roles
Get-AzureRole
# Enumerate resources the current user has access to
Get-AzureTargets
# Show info about current user
Show-AzureCurrentUser
Resources:
https://powerzure.readthedocs.io/en/latest/
Fix error when importing AzureADPreview
Fix missing modules
Show all functions
powerzure -h
No comments to display
No comments to display