Collect AzureStack Update Verbose log
The following commands will collect "UpdateVerboseLog".
1. Create a PEP session, in this example $pepsession is the name of established PEP session
$pepsession = New-PSSession -ComputerName ercs_ip -ConfigurationName PrivilegedEndpoint -Credential (get-credential)
2. Collect verbose log
$log = Invoke-Command -Session $pepsession -ScriptBlock { Get-AzureStackUpdateVerboseLog }
3. Save it to local folder
$log > “c:\temp\UpdateVerboseLog.txt”
4. Example
1. Create a PEP session, in this example $pepsession is the name of established PEP session
$pepsession = New-PSSession -ComputerName ercs_ip -ConfigurationName PrivilegedEndpoint -Credential (get-credential)
2. Collect verbose log
$log = Invoke-Command -Session $pepsession -ScriptBlock { Get-AzureStackUpdateVerboseLog }
3. Save it to local folder
$log > “c:\temp\UpdateVerboseLog.txt”
4. Example
Comments
Post a Comment