Get-AzureStackLogGet-AzureStackLog

SinopseSynopsis

Obtenha registos de vários papéis do Azure Stack Hub com tempo limite.Get logs from various roles of Azure Stack Hub with timeout. Funciona para ambientes multi-nól ou um nó.Works for both multi-node or one node environments.

SintaxeSyntax

Get-AzureStackLog [-FilterByRole <Object>] [-CustomerConfigurationFilePath <Object>] [-OutputPath <Object>]
 [-LocalAdminCredential <Object>] [-FilterByResourceProvider <Object>] [-InputSasUri <Object>]
 [-FilterByNode <Object>] [-OutputShareCredential <Object>] [-ToDate <Object>] [-FilterByLogType <Object>]
 [-TimeOutInMinutes <Object>] [-FromDate <Object>] [-OutputSharePath <Object>] [-OutputSasUri <Object>]
 [-PerformVMLogRecovery] [-IncludeDumpFile] [-AsJob]

ParâmetrosParameters

-FilterByRole-FilterByRole

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterByResourceProvider-FilterByResourceProvider

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterByNode-FilterByNode

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FilterByLogType-FilterByLogType

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CustomerConfigurationFilePath-CustomerConfigurationFilePath

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

- FromDate-FromDate

Isto vai ter os registos a partir da última hora.This will get the logs starting from last hour.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: (Get-Date).AddHours(-1)
Accept pipeline input: False
Accept wildcard characters: False

-ToDate-ToDate

Isto receberá os registos até à data atualThis will get the logs until the current date

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: (Get-Date)
Accept pipeline input: False
Accept wildcard characters: False

-InputSasUri-InputSasUri

Serviço Blob SAS Uri para descarregar os registos de.Blob service SAS Uri to download the logs from.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputPath-OutputPath

Caminho da pasta raiz onde colocar o ficheiro zip.Root folder path where to put the zip file.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputSharePath-OutputSharePath

Partilhar caminho para mover os registos recolhidos.Share path where to move the collected logs.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputShareCredential-OutputShareCredential

Partilhar credenciais.Share credential.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputSasUri-OutputSasUri

Blob SAS Uri para onde mover os registos recolhidos.Blob SAS Uri where to move the collected logs.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LocalAdminCredential-LocalAdminCredential

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TimeOutInMinutes-TimeOutInMinutes

Tempo limite para a ferramenta de recolha de registos.Timeout for log collection tool.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 240
Accept pipeline input: False
Accept wildcard characters: False

-Incluir ODumpFile-IncludeDumpFile

Desative a recolha de ficheiros de despejo por predefinição.Disable dump file collection by default.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-PerformVMLogRecovery-PerformVMLogRecovery

Executar recuperação de registo do WindowsEvents Off OffCritical para, Paused , PausedCritical VMs.Perform WindowsEvents Log recovery for Off, OffCritical, Paused, PausedCritical VMs.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Passos seguintesNext steps

Para obter informações sobre como aceder e utilizar o ponto final privilegiado, consulte utilizar o ponto final privilegiado no Azure Stack Hub.For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.