powershell - Dumping all variables to a text file -


i've made windows forms application seems create memory leak occasionally. there way dump variable information text file can through , see might causing this?

get-variable lists variables values. there various ways of dumping information file, e.g.:

get-variable | export-csv 'c:\variables.csv' get-variable | export-clixml 'c:\variables.xml' (get-variable | convertto-xml).save('c:\variables.xml') get-variable | convertto-json | out-file 'c:\variables.json' get-variable | format-table -wrap | out-string | out-file 'c:\variables.txt' ... 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -