Get-AzStackHCILogsDirectory   
	Returns Logs directory path on the current node.
Syntax
Default (Default)
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.
Parameter properties
| Type: | String | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
Parameter sets
(All)
| Position: | 2 | 
| Mandatory: | False | 
| Value from pipeline: | False | 
| Value from pipeline by property name: | False | 
| Value from remaining arguments: | False | 
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
| Type: | SwitchParameter | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
| Aliases: | cf | 
Parameter sets
(All)
| Position: | Named | 
| Mandatory: | False | 
| Value from pipeline: | False | 
| Value from pipeline by property name: | False | 
| Value from remaining arguments: | False | 
-Credential
Specifies the credential for the ComputerName. Default is the current user executing the Cmdlet.
Parameter properties
| Type: | PSCredential | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
Parameter sets
(All)
| Position: | 1 | 
| Mandatory: | False | 
| Value from pipeline: | False | 
| Value from pipeline by property name: | False | 
| Value from remaining arguments: | False | 
-WhatIf 
		Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
| Type: | SwitchParameter | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
| Aliases: | wi | 
Parameter sets
(All)
| Position: | Named | 
| Mandatory: | False | 
| Value from pipeline: | False | 
| Value from pipeline by property name: | False | 
| Value from remaining arguments: | False | 
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.