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
Post a Comment