AzureResourceStuff

1.0.9

Various Azure related functions focused on resources. More details at https://doitpshway.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 variabl
Various Azure related functions focused on resources. More details at https://doitpshway.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
- functions covering whole life-cycle of Azure Automation Account Runtime feature
   - create/set/remove runtime, import/replace/remove module (custom or default ones)
- ...
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 -RequiredVersion 1.0.9

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

Install-PSResource -Name AzureResourceStuff -Version 1.0.9

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 Automation Runbook Runtime Resource

Functions

Copy-AzureAutomationRuntime Export-VariableToStorage Get-AutomationVariable2 Get-AzureAutomationRunbookRuntime Get-AzureAutomationRuntime Get-AzureAutomationRuntimeAvailableDefaultModule Get-AzureAutomationRuntimeCustomModule Get-AzureAutomationRuntimeSelectedDefaultModule Get-AzureResource Import-VariableFromStorage New-AzureAutomationGraphToken New-AzureAutomationModule New-AzureAutomationRuntime New-AzureAutomationRuntimeModule Remove-AzureAutomationRuntime Remove-AzureAutomationRuntimeModule Set-AutomationVariable2 Set-AzureAutomationRunbookRuntime Set-AzureAutomationRuntimeDefaultModule Set-AzureAutomationRuntimeDescription Update-AzureAutomationModule Update-AzureAutomationRunbookModule

PSEditions

Core Desktop

Dependencies

Release Notes


           1.0.0
               Initial release. Some functions are migrated from now deprecated AzureADStuff module, some are completely new.
           1.0.1
               CHANGED
               New-AzureAutomationModule - added support for prerelease modules
           1.0.2
               CHANGED
               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
           1.0.5
               CHANGED
                   Added Core PSH support to the module manifest
           1.0.6
               CHANGED
                   Comments
                   URL in module manifest description
           1.0.7
               ADDED
                   Get-AzureAutomationRunbookRuntime
                   Get-AzureAutomationRuntime
                   Get-AzureAutomationRuntimeAvailableDefaultModule
                   Get-AzureAutomationRuntimeCustomModule
                   Get-AzureAutomationRuntimeSelectedDefaultModule
                   New-AzureAutomationGraphToken
                   New-AzureAutomationRuntime
                   Remove-AzureAutomationRuntime
                   Remove-AzureAutomationRuntimeModule
                   Set-AzureAutomationRuntimeDefaultModule
                   Set-AzureAutomationRuntimeDescription
                   Set-AzureAutomationRuntimeModule
                   Set-AzureAutomationRunbookRuntime
           1.0.8
               CHANGED
                   Set-AzureAutomationRuntimeModule renamed to New-AzureAutomationRuntimeModule, added support for autoamtic adding module dependencies
               ADDED
                   Set-AzureAutomationModule alias for New-AzureAutomationModule
           1.0.9
               FIXED
                   module dependencies now contains CommonStuff module (because of Invoke-RestMethod2)

                   New-AzureAutomationModule, New-AzureAutomationRuntimeModule - better process dependencies with specified minimum/maximum version

                   New-AzureAutomationRuntime - better existing runtime detection
               ADDED
                   Copy-AzureAutomationRuntime
                   Update-AzureAutomationRunbookModule
           

FileList

Version History

Version Downloads Last updated
1.0.12 159 9/16/2024
1.0.11 231 6/12/2024
1.0.10 6 6/12/2024
1.0.9 (current version) 6 6/12/2024
1.0.8 8 6/11/2024
1.0.7 7 6/10/2024
1.0.5 8 5/19/2024
1.0.4 25 3/26/2024
1.0.3 22 3/9/2024
1.0.2 29 1/25/2024
1.0.1 9 1/25/2024
1.0.0 19 1/17/2024
Show more