BookmarkSubscribeRSS Feed
dickmaat
Calcite | Level 5

Hello,

I'm trying to start with scripting Enterprise Guide 5.1 using PowerShell. The newest documentation concerning scripting EG I found was the "SASEGScripting42.zip". I couldn't find one for version 5.1 (or newer). Where can I find one?

The thing i'm trying to accomplish is creating profiles per scripting and/or changing passwords. According to the documentation for 4.2 this isn't possible. I'm hoping this is possible in the 5.1 version (or newer because we are going to migrate in the near future).

Thanks in advance,

Dick

1 REPLY 1
ChrisHemedinger
Community Manager

The Automation API and doc hasn't changed since 4.2 -- not in any significant way.  You can't use the API to create profiles or change passwords.

The profiles for each user (as you probably know) are stored in %appdata%\SAS\MetadataServerProfiles within an XML file.  These are user-specific locations that only the user (or an admin) can access.  However, the passwords (if cached there, which can be controlled by policy) are encoded in such a way that you cannot generate those values yourself.  You could theoretically define a new profile in that file, but you won't be able to configure the password portion of it.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1114 views
  • 0 likes
  • 2 in conversation