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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -