# Powershell Variable Access

**URL:** https://www.finalbuilder.com/forums/t/powershell-variable-access/4305
**Category:** Discussion
**Created:** [April 3, 2008, 6:20am UTC](https://www.finalbuilder.com/forums/t/powershell-variable-access/4305 "2008-04-03T06:20:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 3, 2008, 6:20am UTC](https://www.finalbuilder.com/forums/t/powershell-variable-access/4305/1 "2008-04-03T06:20:00Z")

</div>

Hello Gents,

I was wondering if it's possible to access (read/write) Automise variables within a Powershell script (in the Powershell action), and if so, what the syntax is.&nbsp; If I log to variable, I get an additional return character and the text "Successfully Executed Powershell Script" added to the variable.&nbsp; I'd rather not have to strip that every time - if there's a way to prevent that bit being added to the variable, that would actually work too!

I have no flexibility as to the scripting language (I do know how to access these variables within Automise in vbscript, but the client is specifically requesting Powershell), but if I can get this piece working the client I'm working for will be picking up at least a few copies!

Thanks much for such a great product!

&nbsp;

Keith Alexander

[keith.alexander@ins.com](mailto:keith.alexander@ins.com)

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 14, 2008, 6:52am UTC](https://www.finalbuilder.com/forums/t/powershell-variable-access/4305/2 "2008-04-14T06:52:54Z")

</div>

Hi Keith   
  
 This is not currently possible in Automise 2. This is however a feature in FinalBuilder 6, so it will probably make it’s way into Automise at some time in the Future.
