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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -