In the previous tip we introduced the PowerShell Gallery and showed how to download content (scripts and modules). Since the PowerShell Gallery is a...
database-tools
Using PowerShell Gallery
The PowerShell Gallery is a public repository for PowerShell scripts and modules. It is entirely managed by cmdlets. Before you can use the...
Nested PowerShell Transcripts
In previous versions of PowerShell, session logging (transcripts) were supported only in the PowerShell console, and there could only be one...
Logging PowerShell Sessions
PowerShell always supported session logging in the PowerShell console. Simply enter Start-Transcript to log all input and output to a text file....
Ad-hoc Debugging in PowerShell ISE
Beginning with PowerShell 5.0, you can break into the debugger any time (in the PowerShell ISE). Simply press CTRL+B to invoke the debugger while a...
Revealing Function Source Code
Many of the PowerShell commands are made out of functions. Here is how you can peek into the source code of any function: (Get-Command...
Finding Useful .NET Types
You may have heard about "type accelerators": they are shortcuts for the long .NET type name: PS> [XML] IsPublic IsSerial Name BaseType...
Automatic Unrolling Can Fail
Beginning with PowerShell 3.0, there is a new feature called "Automatic Unrolling": when you specify a property or method on an array, then the...
Enabling a Data Culture Through Continuous Improvement
Progressive organizations recognize data as a strategic asset and rely upon it for critical decision making. Business intelligence spending has been...
New Where-Syntax
In PowerShell 4.0 and better, there is a new alternative to the Where-Object cmdlet: $all = Get-Service $all | Where-Object { $_.Status -eq...
IDERA’s ER/Studio MetaWizard Does The Magic!
Often times you would hear about moving objects from one Data Modeling platform to another for various reasons. IDERA’s Meta-Wizard enables...
Create New XML Item Programmatically
In a previous tip we explained how you can clone an existing XML item to add a new item. This works only when there are already some items in the...
ER/Studio Enterprise Team edition – Future of Data Modeling is here!
IDERA’s ER/Studio Enterprise Team edition provides the fastest, easiest, and most collaborative way for data management professionals...
Remove an Item from an XML Document
Removing items from an XML document is almost trivial: you use XPath to identify the node you want to remove, then remove it. Once you save the XML...
Data is the new Bacon!!! And Data Modeling is even cooler!
Yes, you read that right! Data is indeed The new Bacon!! We have been hearing about it all over the place. So Rich in Information and still if done...
Adding New Nodes to an XML Document
If you need to add new items to an XML document that already contains such items, the easiest way is to search for an existing item, then clone it....
Updating XML Content Using XPath
You can use Select-Xml to select content from an XML file, and then change or update its values. This is very powerful. You just need to get...
Updating XML Content
If you need to make changes to an existing XML document, for example to update inventory data, the easiest way is to load the document into an XML...
Setting up Oracle for IDERA ER/Studio – Part 2
Howdy! Welcome to the next installment of the series. In today’s series, we will explore the options for Oracle Client Setup needed for ER/Studio....
Reading XML Content
Reading XML formatted text is easy when you use an XML object for it. With its method Load(), you can read in content from a file path or a URL. In...
Designing XML Documents
Today we start a little mini series about XML. To create sample data to play with, you will first create a well-formed XML. While you can create XML...
The Shield
How many of you are known as the “Grumpy DBA” or have a bad reputation with users because you are always saying no or they have to wait? I know many...
Setting up Oracle for IDERA ER/Studio – Part 1
In this blog post, I will be covering how easy it is for one to setup Oracle, in order to successfully work with IDERA’s leading Enterprise...
Setting up IDERA’s ER/Studio Repository with Microsoft SQL Server in Microsoft Azure Virtual Machines
Howdy! In this series, we will explore on how easy it is to setup our Model Repository in the Microsoft Azure Cloud. Now I will not be going...