Windows PowerShell and SAS: Use Them to Drive Each Other Crazy
ABSTRACT Windows PowerShell is a flexible scripting framework that is built into the most recent versions of Microsoft Windows. As a framework that can support sophisticated programming logic, you can use Windows PowerShell to automate your SAS processes in concert with other processes that you drive from your Windows PC or server. And because it's a command-driven scripting engine, you can use SAS programs to drive PowerShell commands and scripts, allowing you to pipe a variety of data sources directly into your SAS session for analysis. Use PowerShell to drive SAS and use SAS to drive PowerShell…but without driving yourself crazy!
These links describe how to get started with Windows PowerShell, and provide plenty of examples of using PowerShell to automate your SAS processes, as well as examples of how to call PowerShell commands from within SAS to enhance your SAS analyses.
- Running Windows PowerShell scripts
- Call Windows PowerShell from SAS: a simple example
- Using Windows PowerShell to report on your SAS Enterprise Guide projects
- Build your own SAS data set viewer with Windows PowerShell
- Using Windows PowerShell to view your SAS data dictionary
- All SAS Dummy blog posts tagged with PowerShell