PowerShell | Dump all Variables / Objects to a Text File

Super quick post. Ever working on a automation engine and wondering what objects are at your disposal? Or perhaps you simply just want to see all properties available to your workspace?

Give this a try:

Get-Variable | ConvertTo-Json

 

Leave a Reply

Your email address will not be published. Required fields are marked *