Get-AzStackHCILogsDirectory
Returns Logs directory path on the current node.
Syntax
Get-AzStackHCILogsDirectory
[[-Credential] <PSCredential>]
[[-ComputerName] <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Returns Logs directory path on the current node.
Examples
Example 1: The example below returns the logs directory path on the current node.
Get-AzStackHCILogsDirectory
HCI Registration Logs directory path: C:\ProgramData\AzureStackHCI
The output shows the logs directory of the HCI registration logs
Parameters
-ComputerName
Specifies one of the cluster node in on-premise cluster that is registered to Azure.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies the credential for the ComputerName. Default is the current user executing the Cmdlet.
Type: | PSCredential |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.