---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# PowerShell connector methods

# PowerShell connector methods {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The PowerShell connector methods act as interfaces with the Microsoft
PowerShell to send requests and get responses in the RPA Desktop Design Studio.

## CreateShell {#connector-powershell-methods__section_q5g_wz4_qrb}

Acts as an interface to pass your inputs in the form of commands and scripts. The
CreateShell method is the first method you must use.

## InvokeCommand {#connector-powershell-methods__section_djf_3bp_qrb}

Runs commands and block of scripts on local or remote computers and gets the output including errors, if any.  
Note:  
You must execute the CreateShell method before executing this method.

Input
:   [Command (String)](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-method-commandstring)

Output
:   [Return](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-method-output-return)

## InvokeScript {#connector-powershell-methods__section_hgc_sjp_qrb}

Runs a script on local or remote computers and gets the output.  
Note:  
You must execute the CreateShell method before executing this method.

Input
:   [Script](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-input-script)

Output
:   [Return](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-output-return)

## PSObjectToString {#connector-powershell-methods__section_rt1_qmp_qrb}

Accepts PowerShell objects from other methods or components and converts them to a string.

Inputs
:   [PSObject](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-input-psobject)

## GetValuesByProperty {#connector-powershell-methods__section_yw2_5np_qrb}

Accepts a PowerShell object and gets the values of the various properties.

Inputs
:   [PSObject](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__parameter-powershell-input-psobject)

Output
:   [Return (String)](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__PSOBjectToString-output-return)

## Disconnect {#connector-powershell-methods__section_mnp_24p_qrb}

Disconnects the connection to the PowerShell.

## Serialize {#connector-powershell-methods__section_ukq_2mm_ysb}

Accepts a PowerShell object and returns the object as a string.

Input
:   [PSObject](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__Serialize-input-PSObject)

Output
:   [Return (String)](https://www.servicenow.com/docs/3We~pcD19V7ZYeGiXWY~0Q#parameters-powershell-connectors__Serialize-output-Return)

