database-tools

Macros – Using macros to create Data Vault objects

Macros – Using macros to create Data Vault objects

Some years ago, Sultan shared a post regarding Data Vault modeling with ER/Studio. I strongly recommend to read it before this one.

The different Data Vault providers implement common objects but the attributes can differ. In this blog post, I’ll share an archive with some macros which can create hubs, satellites and links.

read more

Get German Holidays

Here is a PowerShell function that gets all German holidays, either nationwide or just for your state: function Get-GermanHoliday {    param    (...

read more

Managing File Shares

Creating a new file share for your network requires Administrator privilege and this PowerShell code: $Parameters = @{ Name = "Packages" Path =...

read more
Macros – Sample macros to import Logical and Physical Data Models from Microsoft Visio to ER/Studio Data Architect

Macros – Sample macros to import Logical and Physical Data Models from Microsoft Visio to ER/Studio Data Architect

Visio can draw charts, plans and diagrams.

Some people have used Visio to create their Logical and/or Physical Data Models and they would like to import their drawings in a data architecture and design tool: ER/Studio Data Architect.

In this blog post, I’ll share 2 scripts which can import Entities & Attributes from a Visio Drawing page. I have tested it with 2 different samples…

read more

Masked Input

To safely enter input, scripts need to display a masked input. The easiest way to do this is to use Read-Host -AsSecureString: # Read-Host $entered...

read more

Avoid Get-EventLog

Get-EventLog is a highly popular cmdlet in Windows PowerShell. With just a few simple parameters, it reads event logs from the primary Windows event...

read more
Macros – Shortcuts: a macro to rule them all

Macros – Shortcuts: a macro to rule them all

In this post, I’ll share a script which lets you add shortcuts to macros that you may want to quickly access from various places in ER/Studio Data Architect.

This code will allow you to quickly manage your macro shortcuts and associate them with any existing macros, including those in any subfolders beneath your Macros Directory.

read more