Closed PatrickLang closed 5 years ago
Re: Format-List error, I'm not sure exactly why it's happening, but somehow local dir was getting passed in... But I did find that splitting the piping into two parts worked. i.e.
$pageFileUsage = Get-CimInstance win32_pagefileusage | Format-List * ;
$pageFileUsage | Out-File -Append "$ENV:TEMP\\$($timeStamp)_pagefile.txt";
Patrick, how about, as a first iteration, the script would just have the ability to get logs from one windows node ( pretty much what it does now with this PR ) and let node discovery up to kubetest. Given that dump logs will occur after the cluster is deployed, we will have all necessary info to get all nodes from the cluster and call the script for each of them.
The only extra feature needed to this PR would be to change is to also scp for the zip file.
Alright - got SSH working. Will merge
@vyta @jsturtevant - This is a quick update to use the auto-enabled OpenSSH server :) Can you take a quick look? There's one bug left that I think needs to be solved before merge.
Format-List : A positional parameter cannot be found that accepts argument 'README.md'.
Any ideas?