Get-AzSecuritySecureScore
Gets security secure scores and their results on a subscription
Syntax
Get-AzSecuritySecureScore
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecuritySecureScore
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzSecuritySecureScore comlet gets security secure scores and their results on a subscription.
Examples
Example 1
Get-AzSecuritySecureScore
Id : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Security/secureScores/ascScore
Name : ascScore
Type : Microsoft.Security/secureScores
DisplayName : ASC score
CurrentScore : 18.38
MaxScore : 56
Percentage : 0.3282
Weight : 1161
Gets all the security secure scores in a subscription
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Resource name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Microsoft.Azure.Commands.Security.Models.Assessments.PSSecuritySecureScore