Skip to content

kongou-ae/AzureStackOperatorScripts

Repository files navigation

AzureStackOperatorScripts

These scripts help Azure Stack operator in when they operate Azure Stack.

Download-AzsMarkteplaceItem.ps1

Download the marletplace item by PowerShell.

Get-AzsScaleUnitNodeSummary.ps1

show the status of nodes simply

PS> .\Get-AzsScaleUnitNodeSummary.ps1 | ft *

Name                  ScaleUnitName   ScaleUnitNodeStatus PowerState Cores   MemoryGb Vendor Model SerialNumber BiosVersion BmcAddress
----                  -------------   ------------------- ---------- -----   -------- ------ ----- ------------ ----------- ----------
local/WIN-xxxxxxxxxxx local/s-cluster RequiresRemediation Running       32 511.898438

Get-AzsInfrastructureRoleInstanceSummary.ps1

show the status of infrastructure role instances simply

PS> .\Get-AzsInfrastructureRoleInstanceSummary.ps1 | ft *

Name               State   Cores MemoryGb ScaleUnit ScaleUnitNode
----               -----   ----- -------- --------- -------------
local/AzS-ACS01    Running     2        8 s-cluster WIN-xxxxxxxxxxx
local/AzS-ADFS01   Running     2        2 s-cluster WIN-xxxxxxxxxxx
local/AzS-BGPNAT01 Running     2        2 s-cluster WIN-xxxxxxxxxxx
local/AzS-CA01     Running     2        1 s-cluster WIN-xxxxxxxxxxx
local/AzS-Gwy01    Running     4        2 s-cluster WIN-xxxxxxxxxxx
local/AzS-NC01     Running     2        4 s-cluster WIN-xxxxxxxxxxx
local/AzS-SLB01    Running     4        2 s-cluster WIN-xxxxxxxxxxx
local/AzS-Sql01    Running     2        4 s-cluster WIN-xxxxxxxxxxx
local/AzS-WAS01    Running     2        4 s-cluster WIN-xxxxxxxxxxx
local/AzS-WASP01   Running     2        8 s-cluster WIN-xxxxxxxxxxx
local/AzS-Xrp01    Running     4        8 s-cluster WIN-xxxxxxxxxxx

Get-AzsUpdateProgress.ps1

Show the status of update as GridView.

Get-AzsValidationSummary.ps1

Download the latest AzureStack_Validation_Summary.html.

Login-AzsAdminRmAccount.ps1

Install powershell modules and login your Azure Stack stamp.

Get-AzsUserSubscriptionQuotaLimit.ps1

Calculate the limit of Quotas per user subscriptions and export this limit as json file.

User Subscription Id: 4ca18c49-faf7-4ddb-a2f9-9987a6e7aab3

Name                                               Value
----                                               -----
AvailabilitySetCount                               10   
CoresLimit                                         100  
VmScaleSetCount                                    100  
VirtualMachineCount                                50   
StandardManagedDiskAndSnapshotSize                 2048 
PremiumManagedDiskAndSnapshotSize                  2048 
NumberOfStorageAccounts                            20   
CapacityInGb                                       10000
MaxPublicIpsPerSubscription                        50   
MaxVnetsPerSubscription                            50   
MaxVirtualNetworkGatewaysPerSubscription           1    
MaxVirtualNetworkGatewayConnectionsPerSubscription 2    
MaxLoadBalancersPerSubscription                    50   
MaxSecurityGroupsPerSubscription                   50   

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages