Start-AzsReadinessChecker cmdlet 参考Start-AzsReadinessChecker cmdlet reference

模块:Microsoft.AzureStack.ReadinessCheckerModule: Microsoft.AzureStack.ReadinessChecker

此模块只包含一个 cmdlet。This module only contains a single cmdlet. 该 cmdlet 针对 Azure Stack 执行一个或多个部署前或服务前函数。The cmdlet performs one or more pre-deployment or pre-servicing functions for Azure Stack.

语法Syntax

Start-AzsReadinessChecker
       [-CertificatePath <String>]
       -PfxPassword <SecureString>
       -RegionName <String>
       -FQDN <String>
       -IdentitySystem <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       [-CertificatePath <String>]
       -PfxPassword <SecureString>
       -DeploymentDataJSONPath <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -PaaSCertificates <Hashtable>
       -DeploymentDataJSONPath <String>
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -PaaSCertificates <Hashtable>
       -RegionName <String>
       -FQDN <String>
       -IdentitySystem <String>
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -RegionName <String>
       -FQDN <String>
       -IdentitySystem <String>
       -Subject <OrderedDictionary>
       -RequestType <String>
       [-IncludePaaS]
       -OutputRequestPath <String>
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -PfxPassword <SecureString>
       -PfxPath <String>
       -ExportPFXPath <String>
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -AADServiceAdministrator <PSCredential>
       -AADDirectoryTenantName <String>
       -IdentitySystem <String>
       -AzureEnvironment <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -AADServiceAdministrator <PSCredential>
       -DeploymentDataJSONPath <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -RegistrationAccount <PSCredential>
       -RegistrationSubscriptionID <Guid>
       -AzureEnvironment <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -RegistrationAccount <PSCredential>
       -RegistrationSubscriptionID <Guid>
       -DeploymentDataJSONPath <String>
       [-CleanReport]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Start-AzsReadinessChecker
       -ReportPath <String>
       [-ReportSections <String>]
       [-Summary]
       [-OutputPath <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

说明Description

Start-AzsReadinessChecker cmdlet 验证证书、Azure 帐户、Azure 订阅和 Azure Active Directory。The Start-AzsReadinessChecker cmdlet validates certificates, Azure accounts, Azure subscriptions, and Azure Active Directories. 在部署 Azure Stack 之前或在运行 Azure Stack 服务操作(例如机密轮换)之前运行验证。Run validation before deploying Azure Stack, or before Azure Stack servicing actions such as secret rotation. 该 cmdlet 还可用于生成基础结构证书的证书签名请求,以及 PaaS 证书(可选)。The cmdlet can also be used to generate certificate signing requests for infrastructure certificates, and optionally, PaaS certificates. 最后,该 cmdlet 可以重新打包 PFX 证书,以解决常见的打包问题。Finally, the cmdlet can repackage PFX certificates to remediate common packaging issues.

示例Examples

示例:生成证书签名请求Example: generate certificate signing request

$regionName = 'east'
$externalFQDN = 'azurestack.contoso.com'
$subjectHash = [ordered]@{"OU"="AzureStack";"O"="Microsoft";"L"="Redmond";"ST"="Washington";"C"="US"}
Start-AzsReadinessChecker -regionName $regionName -externalFQDN $externalFQDN -subject $subjectHash -IdentitySystem ADFS -requestType MultipleCSR

在此示例中,Start-AzsReadinessChecker 针对区域名称为 east、外部 FQDN 为 azurestack.contoso.com 的 AD FS Azure Stack 部署所适用的证书生成多个证书签名请求 (CSR)In this example, Start-AzsReadinessChecker generates multiple certificate signing requests (CSRs) for certificates suitable for an AD FS Azure Stack deployment with a region name of east and an external FQDN of azurestack.contoso.com.

示例:验证证书Example: validate certificates

$password = Read-Host -Prompt "Enter PFX Password" -AsSecureString
Start-AzsReadinessChecker -CertificatePath .\Certificates\ -PfxPassword $password -RegionName east -FQDN azurestack.contoso.com -IdentitySystem AAD

在此示例中,出于安全性需要输入 PFX 密码,Start-AzsReadinessChecker 在相对文件夹 Certificates 中检查区域名称为 east、外部 FQDN 为 azurestack.contoso.com 的 AAD 部署是否有适用的有效证书。In this example, the PFX password is required for security, and Start-AzsReadinessChecker checks the relative folder Certificates for certificates valid for an AAD deployment with a region name of east and an external FQDN of azurestack.contoso.com.

示例:使用部署数据验证证书(部署和支持)Example: validate certificates with deployment data (deployment and support)

$password = Read-Host -Prompt "Enter PFX Password" -AsSecureString
Start-AzsReadinessChecker -CertificatePath .\Certificates\ -PfxPassword $password -DeploymentDataJSONPath .\deploymentdata.json

在此部署和支持示例中,出于安全性需要输入 PFX 密码,Start-AzsReadinessChecker 在相对文件夹 Certificates 中检查标识、区域和外部 FQDN 都是从针对部署生成的部署数据 JSON 文件中读取的部署是否有适用的有效证书。In this deployment and support example, the PFX password is required for security, and Start-AzsReadinessChecker checks the relative folder Certificates for certificates valid for a deployment where identity, region and external FQDN are read from the deployment data JSON file generated for deployment.

示例:验证 PaaS 证书Example: validate PaaS certificates

$PaaSCertificates = @{
    'PaaSDBCert' = @{'pfxPath' = '<Path to DBAdapter PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSDefaultCert' = @{'pfxPath' = '<Path to Default PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSAPICert' = @{'pfxPath' = '<Path to API PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSFTPCert' = @{'pfxPath' = '<Path to FTP PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSSSOCert' = @{'pfxPath' = '<Path to SSO PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
}
Start-AzsReadinessChecker -PaaSCertificates $PaaSCertificates -RegionName east -FQDN azurestack.contoso.com

此示例使用每个 PaaS 证书的路径和密码构造了哈希表。In this example, a hashtable is constructed with paths and passwords to each PaaS certificate. 可以省略证书。Certificates can be omitted. Start-AzsReadinessChecker 检查每个 PFX 路径是否存在,并使用区域 east 和外部 FQDN azurestack.contoso.com 验证这些路径。Start-AzsReadinessChecker checks that each PFX path exists, and validates them using the region east and external FQDN azurestack.contoso.com.

示例:使用部署数据验证 PaaS 证书Example: validate PaaS certificates with deployment data

$PaaSCertificates = @{
    'PaaSDBCert' = @{'pfxPath' = '<Path to DBAdapter PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSDefaultCert' = @{'pfxPath' = '<Path to Default PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSAPICert' = @{'pfxPath' = '<Path to API PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSFTPCert' = @{'pfxPath' = '<Path to FTP PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
    'PaaSSSOCert' = @{'pfxPath' = '<Path to SSO PFX>';'pfxPassword' = (ConvertTo-SecureString -String '<Password for PFX>' -AsPlainText -Force)}
}
Start-AzsReadinessChecker -PaaSCertificates $PaaSCertificates -DeploymentDataJSONPath .\deploymentdata.json

此示例使用每个 PaaS 证书的路径和密码构造了哈希表。In this example, a hashtable is constructed with paths and passwords to each PaaS certificate. 可以省略证书。Certificates can be omitted. Start-AzsReadinessChecker 检查每个 PFX 路径是否存在,并使用从针对部署生成的部署数据 JSON 文件中读取的区域和外部 FQDN 验证这些路径。Start-AzsReadinessChecker checks that each PFX path exists, and validates them using the region and external FQDN read from the deployment data JSON file generated for deployment.

示例:验证 Azure 标识Example: validate Azure identity

$serviceAdminCredential = Get-Credential -Message "Enter Credentials for Service Administrator of Azure Active Directory Tenant e.g. serviceadmin@contoso.partner.onmschina.cn"
# Supported values for the <environment name> parameter is AzureChinaCloud depending which Azure subscription you are using.
Start-AzsReadinessChecker -AADServiceAdministrator $serviceAdminCredential -AzureEnvironment "<environment name>" -AzureDirectoryTenantName azurestack.contoso.com

在此示例中,出于安全性需要输入服务管理员帐户凭据,Start-AzsReadinessChecker 检查 Azure 帐户和 Azure Active Directory 是否适用于租户目录名称为 azurestack.contoso.com 的 AAD 部署In this example, the service administrator account credentials are required for security, and Start-AzsReadinessChecker checks that the Azure account and Azure Active Directory are valid for an AAD deployment with a tenant directory name of azurestack.contoso.com.

示例:使用部署数据验证 Azure 标识(部署支持)Example: validate Azure identity with deployment data (deployment support)

$serviceAdminCredential = Get-Credential -Message "Enter Credentials for Service Administrator of Azure Active Directory Tenant e.g. serviceadmin@contoso.partner.onmschina.cn"
Start-AzsReadinessChecker -AADServiceAdministrator $serviceAdminCredential -DeploymentDataJSONPath .\contoso-deploymentdata.json

在此示例中,出于安全性需要输入服务管理员帐户凭据,Start-AzsReadinessChecker 检查 Azure 帐户和 Azure Active Directory 是否适用于其 AzureChinaCloudTenantName 都是从针对部署生成的部署数据 JSON 文件中读取的 AAD 部署。In this example, the service administrator account credentials are required for security, and Start-AzsReadinessChecker checks that the Azure account and Azure Active Directory are valid for an AAD deployment, where AzureChinaCloud and TenantName are read from the deployment data JSON file generated for the deployment.

示例:验证 Azure 注册Example: validate Azure registration

$registrationCredential = Get-Credential -Message "Enter Credentials for Subscription Owner e.g. subscriptionowner@contoso.partner.onmschina.cn"
$subscriptionID = "<subscription ID"
# Supported values for the <environment name> parameter is AzureChinaCloud depending which Azure subscription you are using.
Start-AzsReadinessChecker -RegistrationAccount $registrationCredential -RegistrationSubscriptionID $subscriptionID -AzureEnvironment "<environment name>"

在此示例中,出于安全性需要输入订阅所有者凭据,然后,Start-AzsReadinessChecker 对给定的帐户和订阅执行验证,以确保它们可用于 Azure Stack 注册。In this example, the subscription owner credentials are required for security, and Start-AzsReadinessChecker then performs validation against the given account and subscription to ensure it can be used for Azure Stack registration.

示例:使用部署数据验证 Azure 注册(部署团队)Example: validate Azure registration with deployment data (deployment team)

$registrationCredential = Get-Credential -Message "Enter Credentials for Subscription Owner e.g. subscriptionowner@contoso.partner.onmschina.cn"
$subscriptionID = "<subscription ID>"
Start-AzsReadinessChecker -RegistrationAccount $registrationCredential -RegistrationSubscriptionID $subscriptionID -DeploymentDataJSONPath .\contoso-deploymentdata.json

在此示例中,出于安全性需要输入订阅所有者凭据,然后,Start-AzsReadinessChecker 对给定的帐户和订阅执行验证,以确保它们可用于 Azure Stack 注册(该注册的其他详细信息从针对部署生成的部署数据 JSON 文件中读取)。In this example, the subscription owner credentials are required for security, and Start-AzsReadinessChecker then performs validation against the given account and subscription to ensure it can be used for Azure Stack registration, where additional details are read from the deployment data JSON file generated for the deployment.

示例:导入/导出 PFX 包Example: import/export PFX package

$password = Read-Host -Prompt "Enter PFX Password" -AsSecureString
Start-AzsReadinessChecker -PfxPassword $password -PfxPath .\certificates\ssl.pfx -ExportPFXPath .\certificates\ssl_new.pfx

在此示例中,出于安全性需要输入 PFX 密码。In this example, the PFX password is required for security. Ssl.pfx 文件 将导入到本地计算机证书存储,然后以相同的密码重新导出,并保存为 Ssl_new.pfx。The Ssl.pfx file is imported into the local machine certificate store, re-exported with the same password, and saved as Ssl_new.pfx. 当证书验证以标志形式指出私钥中未设置“本地计算机”属性、证书链中断、PFX 中存在不相关的证书,或证书链顺序错误等时,将使用此过程。 This procedure is used when certificate validation flagged that a private key does not have the Local Machine attribute set, the certificate chain is broken, irrelevant certificates are present in the PFX, or the certificate chain is in the wrong order.

示例:查看验证报告(部署和支持)Example: view validation report (deployment and support)

Start-AzsReadinessChecker -ReportPath Contoso-AzsReadinessReport.json

在此示例中,部署或支持团队从客户 (Contoso) 接收就绪性报告,并使用 Start-AzsReadinessChecker 查看 Contoso 的验证执行状态。In this example, the deployment or support team receives the readiness report from the customer (Contoso), and uses Start-AzsReadinessChecker to view the status of the validation executions Contoso performed.

示例:仅查看证书验证的验证报告摘要(部署和支持)Example: view validation report summary for certificate validation only (deployment and support)

Start-AzsReadinessChecker -ReportPath Contoso-AzsReadinessReport.json -ReportSections Certificate -Summary

在此示例中,部署或支持团队从客户 (Contoso) 接收就绪性报告,并使用 Start-AzsReadinessChecker 查看 Contoso 执行的证书验证的摘要状态。In this example, the deployment or support team receives the readiness report from the customer (Contoso), and uses Start-AzsReadinessChecker to view a summarized status of the certificate validation executions Contoso performed.

必需的参数Required parameters

-RegionName-RegionName

指定 Azure Stack 部署的区域名称。Specifies the Azure Stack deployment region name.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-FQDN-FQDN

指定 Azure Stack 部署的外部 FQDN,也可以使用别名 ExternalFQDNExternalDomainNameSpecifies the Azure Stack deployment external FQDN, also aliased as ExternalFQDN and ExternalDomainName.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: ExternalFQDN、ExternalDomainNameExternalFQDN, ExternalDomainName
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-IdentitySystem-IdentitySystem

指定 Azure Stack 部署的标识系统有效值:AAD 或 ADFS(分别表示 Azure Active Directory 和 Active Directory 联合身份验证服务)。Specifies the Azure Stack deployment identity system valid values, AAD or ADFS, for Azure Active Directory and Active Directory Federated Services, respectively.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
有效值:Valid values: 'AAD'、'ADFS''AAD','ADFS'
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-PfxPassword-PfxPassword

指定与 PFX 证书文件关联的密码。Specifies the password associated with PFX certificate files.

键入:Type: SecureStringSecureString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-PaaSCertificates-PaaSCertificates

指定包含 PaaS 证书路径和密码的哈希表。Specifies the hashtable containing paths and passwords to PaaS certificates.

键入:Type: HashtableHashtable
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-DeploymentDataJSONPath-DeploymentDataJSONPath

指定 Azure Stack 部署数据 JSON 配置文件。Specifies the Azure Stack deployment data JSON configuration file. 此文件是针对部署生成的。This file is generated for deployment.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-PfxPath-PfxPath

指定需要通过导入/导出例程修复的有问题的证书(此工具中的证书验证会指出该问题)的路径。Specifies the path to a problematic certificate that requires an import/export routine to fix, as indicated by certificate validation in this tool.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-ExportPFXPath-ExportPFXPath

指定导入/导出例程生成的 PFX 文件的目标路径。Specifies the destination path for the resultant PFX file from the import/export routine.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-Subject-Subject

指定用于生成证书请求的主题的排序字典。Specifies an ordered dictionary of the subject for the certificate request generation.

键入:Type: OrderedDictionaryOrderedDictionary
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-RequestType-RequestType

指定证书请求的 SAN 类型。Specifies the SAN type of the certificate request. 有效值为 MultipleCSRSingleCSRValid values are MultipleCSR, SingleCSR.

  • MultipleCSR 生成多个证书请求,针对每个服务各生成一个。MultipleCSR generates multiple certificate requests, one for each service.
  • SingleCSR 为所有服务生成一个证书请求。SingleCSR generates one certificate request for all services.
键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
有效值:Valid values: 'MultipleCSR'、'SingleCSR''MultipleCSR','SingleCSR'
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-OutputRequestPath-OutputRequestPath

指定证书请求文件的目标路径。Specifies the destination path for certificate request files. 目录必须已存在。Directory must already exist.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-AADServiceAdministrator-AADServiceAdministrator

指定用于 Azure Stack 部署的 Azure Active Directory 服务管理员。Specifies the Azure Active Directory service administrator to be used for Azure Stack deployment.

键入:Type: PSCredentialPSCredential
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-AADDirectoryTenantName-AADDirectoryTenantName

指定用于 Azure Stack 部署的 Azure Active Directory 名称。Specifies the Azure Active Directory name to be used for Azure Stack deployment.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-AzureEnvironment-AzureEnvironment

指定用于 Azure Stack 部署和注册的帐户、目录和订阅所在的 Azure 服务实例。Specifies the instance of Azure Services containing the accounts, directories, and subscriptions to be used for Azure Stack deployment and registration.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
有效值:Valid values: “AzureChinaCloud”'AzureChinaCloud'
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-RegistrationAccount-RegistrationAccount

指定用于 Azure Stack 注册的注册帐户。Specifies the registration account to be used for Azure Stack registration.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-RegistrationSubscriptionID-RegistrationSubscriptionID

指定用于 Azure Stack 注册的注册订阅 ID。Specifies the registration subscription ID to be used for Azure Stack registration.

键入:Type: GuidGuid
位置:Position: 名为Named
默认值:Default value: None
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-ReportPath-ReportPath

指定就绪性报告的路径,默认值为当前目录和默认报告名称。Specifies the path for readiness report, defaults to current directory and default report name.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: 全部All
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

可选参数Optional parameters

-CertificatePath-CertificatePath

指定只包含证书所需证书文件夹的路径。Specifies the path under which only the certificate required certificate folders are present.

包含 Azure Active Directory 标识系统的 Azure Stack 部署的所需文件夹为:Required folders for Azure Stack deployment with Azure Active Directory identity system are:

ACSBlob、ACSQueue、ACSTable、Admin Portal、ARM Admin、ARM Public、KeyVault、KeyVaultInternal、Public PortalACSBlob, ACSQueue, ACSTable, Admin Portal, ARM Admin, ARM Public, KeyVault, KeyVaultInternal, Public Portal

包含 Active Directory 联合身份验证服务标识系统的 Azure Stack 部署的所需文件夹为:Required folder for Azure Stack deployment with Active Directory Federation Services identity system are:

ACSBlob、ACSQueue、ACSTable、ADFS、Admin Portal、ARM Admin、ARM Public、Graph、KeyVault、KeyVaultInternal、Public PortalACSBlob, ACSQueue, ACSTable, ADFS, Admin Portal, ARM Admin, ARM Public, Graph, KeyVault, KeyVaultInternal, Public Portal

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: .\Certificates.\Certificates
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-IncludePaaS-IncludePaaS

指定是否应将 PaaS 服务/主机名添加到证书请求。Specifies whether PaaS services/host names should be added to the certificate request(s).

键入:Type: SwitchParameterSwitchParameter
位置:Position: 名为Named
默认值:Default value: FalseFalse
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-ReportSections-ReportSections

指定是否仅显示报告摘要,并省略详细信息。Specifies whether to only show report summary, omits detail.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: 全部All
有效值:Valid values: 'Certificate'、'AzureRegistration'、'AzureIdentity'、'Jobs'、'All''Certificate','AzureRegistration','AzureIdentity','Jobs','All'
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-Summary-Summary

指定是否仅显示报告摘要,并省略详细信息。Specifies whether to only show report summary, omits detail.

键入:Type: SwitchParameterSwitchParameter
位置:Position: 名为Named
默认值:Default value: FalseFalse
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-CleanReport-CleanReport

删除以往的执行和验证历史记录,并将验证结果写入新报告。Removes previous execution and validation history and writes validations to a new report.

键入:Type: SwitchParameterSwitchParameter
别名:Aliases: cfcf
位置:Position: 名为Named
默认值:Default value: FalseFalse
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-OutputPath-OutputPath

指定用于保存就绪性 JSON 报告和详细日志文件的自定义路径。Specifies a custom path to save readiness JSON report and verbose log file. 如果该路径不存在,命令会尝试创建目录。If the path does not already exist, the command attempts to create the directory.

键入:Type: StringString
位置:Position: 名为Named
默认值:Default value: $ENV:TEMP\AzsReadinessChecker$ENV:TEMP\AzsReadinessChecker
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-Confirm-Confirm

在运行 cmdlet 之前提示确认。Prompts for confirmation before running the cmdlet.

键入:Type: SwitchParameterSwitchParameter
别名:Aliases: cfcf
位置:Position: 名为Named
默认值:Default value: FalseFalse
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse

-WhatIf-WhatIf

显示运行该 cmdlet 时会发生什么情况。Shows what would happen if the cmdlet runs. cmdlet 未运行。The cmdlet is not run.

键入:Type: SwitchParameterSwitchParameter
别名:Aliases: wiwi
位置:Position: 名为Named
默认值:Default value: FalseFalse
接受管道输入:Accept pipeline input: FalseFalse
接受通配符:Accept wildcard characters: FalseFalse