News
Data=Range(“A1”).Value The problem is that you can't include the Data variable in the call to the PowerShell script. Remember, PowerShell variables use a different naming convention.
A script is just a collection of commands saved into a text file (using the special .ps1 extension) that PowerShell understands and executes in sequence to perform different actions.
However, a more elegant solution is to tell PowerShell which commands to include in the script. The Get-History command will normally list the 32 most recently used commands.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results