AzureResourceStuff

1.0.4

Various Azure related functions focused on resources. More details at https://doitpsway.com/series/azure.
Some of the interesting functions:
- Export-VariableToStorage - save PowerShell variable as XML file in Azure Blob storage
- Get-AzureResource - return resources for all or just selected Azure subscription(s)
- Get-AutomationVariable2 - get Automation variable
Various Azure related functions focused on resources. More details at https://doitpsway.com/series/azure.
Some of the interesting functions:
- Export-VariableToStorage - save PowerShell variable as XML file in Azure Blob storage
- Get-AzureResource - return resources for all or just selected Azure subscription(s)
- Get-AutomationVariable2 - get Automation variable and convert it from CliXml string back to PS object
- Import-VariableFromStorage - download Azure Blob storage XML file and convert it back to the original PowerShell variable
- New-AzureAutomationModule - import new (or update existing) Azure Automation PSH module (including its dependencies)
- Set-AutomationVariable2 - save object as CliXml string to selected Automation variable
- Update-AzureAutomationModule
- ...
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzureResourceStuff

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AzureResourceStuff

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2022 @AndrewZtrhgf. All rights reserved.

Package Details

Author(s)

  • @AndrewZtrhgf

Tags

Azure AzureResourceStuff PowerShell Monitoring Audit Security Graph Runbook

Functions

Export-VariableToStorage Get-AutomationVariable2 Get-AzureResource Import-VariableFromStorage New-AzureAutomationModule Set-AutomationVariable2 Update-AzureAutomationModule

Dependencies

Release Notes


           1.0.0
               Initial release. Some functions are migrated from now deprecated AzureADStuff module, some are completely new.
           1.0.1
               EDIT
                   New-AzureAutomationModule - added support for prerelease modules
           1.0.2
               EDIT
                   New-AzureAutomationModule - removed support for 7.1 runtime because official Az commands don't support it either
               ADDED
                   Update-AzureAutomationModule
           1.0.3
               ADDED
                   Export-VariableToStorage
                   Import-VariableFromStorage
           1.0.4
               ADDED
                   Get-AutomationVariable2
                   Set-AutomationVariable2
           

FileList

Version History

Version Downloads Last updated
1.0.4 (current version) 20 3/26/2024
1.0.3 19 3/9/2024
1.0.2 26 1/25/2024
1.0.1 6 1/25/2024
1.0.0 8 1/17/2024