Get-AzureStackLog
Özet
Zaman aşımı ile Azure Stack Hub'ın çeşitli rollerinden günlükleri alın. Hem çok düğümlü hem de tek düğümlü ortamlarda çalışır.
Söz dizimi
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]
Parametreler
-FilterByRole
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterByResourceProvider
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterByNode
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FilterByLogType
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CustomerConfigurationFilePath
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FromDate
Bu işlem günlükleri son saatten itibaren alır.
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
Bu işlem günlükleri geçerli tarihe kadar alır
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: (Get-Date)
Accept pipeline input: False
Accept wildcard characters: False
-InputSasUri
Günlüklerin indirilmesi için Blob hizmeti SAS Uri'sini kullanın.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Outputpath
Zip dosyasının yerleştirileceği kök klasör yolu.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OutputSharePath
Toplanan günlüklerin taşınacağı yolu paylaşın.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OutputShareCredential
Kimlik bilgilerini paylaşın.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OutputSasUri
Toplanan günlüklerin taşınacağı Blob SAS Uri'si.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-LocalAdminCredential
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TimeOutInMinutes
Günlük toplama aracı için zaman aşımı.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 240
Accept pipeline input: False
Accept wildcard characters: False
-IncludeDumpFile
Döküm dosyası koleksiyonunu varsayılan olarak devre dışı bırakın.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-PerformVMLogRecovery
, , OffCritical
, Paused
PausedCritical
VM'ler için Off
WindowsEvents Günlük kurtarması gerçekleştirin.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-AsJob
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Sonraki adımlar
Ayrıcalıklı uç noktaya erişme ve uç noktayı kullanma hakkında bilgi için bkz. Azure Stack Hub'da ayrıcalıklı uç noktayı kullanma.