Synopsis Executes the code inside an unnamed pipe on the operating system of the specified SAS workspace server session. Syntax Invoke-SasPipe [-Workspace] <PSObject> [-PipeCode] <String> [<CommonParameters>] Description Utilized the SAS PIPE filename engine. Requires the XCMD option to be activated on the remote SAS session. Parameters -Workspace <PSObject> SAS.Workspace object Required? true Position? 0 Default value Accept pipeline input? true (ByValue) Accept wildcard characters? false -PipeCode <String> operating system shell code you want to execute Required? true Position? 1 Default value Accept pipeline input? false Accept wildcard characters? false Inputs Outputs Notes Examples -------------- Example 1 -------------- PS C:\> Invoke-SasPipe $ws "dir C:\" execute windows batch command -------------- Example 2 -------------- PS C:\> Invoke-SasPipe $ws "ls C:\" execute unix batch command