title: How to use Powershell to enforce formatting of an Excel Column?
body: <p>I'm writing a Powershell script to enforce "General Formatting" of Column AI. This is what I have and it didn't appear to execute.</p>
  
  <pre><code>$worksheet.columns.items('AI').GeneralFormat = $true
  </code></pre>
  
  <p>What is the right Powershell code for such a task?</p>
  
  <p>General Formatting:</p>
  
  <p><img src="https://media.gcflearnfree.org/ctassets/topics/175/3_number_format_box.png" alt=""></p>