---
title: "Discussion on \"How to save complex PowerShell variables as CliXML instead of  Newtonsoft.Json.Linq.JProperty in the Azure Automation\" | Hashnode"
description: "Discussion on \"How to save complex PowerShell variables as CliXML instead of  Newtonsoft.Json.Linq.JProperty in the Azure Automation\". Azure Automation Account has a handy feature to define (shared) Variables that can be used across all your Runbooks. What is not so nice at least for me was finding that complex objects like hashtables, arrays, psobjects, etc are stored as Newtonsoft..."
url: "https://hashnode.com/posts/how-to-save-complex-powershell-variables-as-clixml-instead-of-newtonsoftjsonlinqjproperty-in-the-azure-automation/6385b170c3facb12a8852943"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to save complex PowerShell variables as CliXML instead of Newtonsoft.Json.Linq.JProperty in the Azure Automation](https://doitpshway.com/how-to-save-complex-powershell-variables-as-clixml-instead-of-newtonsoftjsonlinqjproperty-in-the-azure-automation?utm_source=hashnode&utm_medium=feed)

Azure Automation Account has a handy feature to define (shared) Variables that can be used across all your Runbooks. What is not so nice at least for me was finding that complex objects like hashtables, arrays, psobjects, etc are stored as Newtonsoft...

Nov 29, 2022 · 2 min read · doitpshway.com  
Updated Mar 26, 2024  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)
-   [#azure](https://hashnode.com/tag/azure)
-   [#automation](https://hashnode.com/tag/automation)
-   [#variables](https://hashnode.com/tag/variables)

## Written by

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

@AndrewZtrhgf · Czech Republic

  
[View profile](https://hashnode.com/@AndrewZtrhgf)

System Administrator that loves PowerShell

I work as System Administrator for more than 15 years now and I love to make my life easier by automating work &amp; personal stuff via PowerShell (even silly things like food recipes list generation).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
