Posts Tagged ‘ PowerShell ’

Powershell: Up to v3.0

October 9, 2012
By
Powershell: Up to v3.0

Just update Windows Powershell to version 3.0 and I do like this new GUI (Integrated Scripting Environment, ISE) with a console, a script window and a command list (Powershell is a true Windows shell; you may try to type 1+2 in the old CMD console!): I also used a free Powershell GUI product, PowerGUI...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Read a Microsoft date-time value into a SAS date-time value

June 14, 2012
By

A colleague was recently working with a web service that supplies some date-time values using the Microsoft Windows internal representation. He called the web service to retrieve those values (along with other data) from SAS, and he needed convert these values to SAS date-time values. The Microsoft definition for a
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Using Windows PowerShell to view your SAS data dictionary

May 9, 2012
By
Using Windows PowerShell to view your SAS data dictionary

In a previous post I showed how you can use Windows PowerShell (with the SAS Local Data Provider) to create a SAS data set viewer.  This approach doesn't require that you have SAS installed, and allows you to read or export the records within a SAS data set file. In
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Doing more with SAS Enterprise Guide automation

April 17, 2012
By
Doing more with SAS Enterprise Guide automation

Have you ever selected File->Schedule Project or Schedule->Process Flow in SAS Enterprise Guide? Are you curious about what magic these actions will trigger? Here's what happens: SAS Enterprise Guide creates a VBScript program that contains the instructions to start SAS Enterprise Guide, load your project, run your project or flow,
Read more »

Tags: , , , , , , , ,
Posted in SAS | Comments Off

Build your own SAS data set viewer using PowerShell

April 12, 2012
By
Build your own SAS data set viewer using PowerShell

In about 30 lines of PowerShell script, we can build a SAS data set viewer that: Does not require SAS on the PC Provides very basic filtering capability Also allows for easy export to CSV All you need is the ability to run PowerShell scripts, and the SAS Local Data
Read more »

Tags: , ,
Posted in SAS | Comments Off

Using Windows PowerShell to report on your SAS Enterprise Guide project files

November 2, 2011
By

This blog post is a "mashup" of a couple of my previous posts, combining the lessons to create something brand new that I hope you will find useful.  First, let's review what we know: SAS Enterprise Guide supports a scriptable object model, which allows you to write scripts or programs
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

Calling Windows PowerShell from SAS: a simple example

September 15, 2011
By
Calling Windows PowerShell from SAS: a simple example

As I mentioned in my introductory post about Windows PowerShell, you can use PowerShell commands as a simple and concise method to collect data from your Windows systems; information that is ripe for analysis within SAS. In this example, I'll show a technique for using a SAS program to call
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Running Windows PowerShell Scripts

September 12, 2011
By
Running Windows PowerShell Scripts

Windows PowerShell is one of my favorite tools to use for gathering information from my PC and network, and also for automating processes.  If you are familiar with UNIX shells (such as Korn shell or its variants), you will probably be very comfortable with Windows PowerShell.  Just like its UNIX
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.