Categories
Database Development

Passing in multiple instances into the dbatools command GET-DBADBFILE

I am attempting to gather all of the dbfile information on all of our sql instances in one of our environments. It is a fairly large environment and would be tedious to perform one instance at a time. I thought there would be an easy way to do this with Powershell but I seem to […]

Categories
Development

How to get the entity type of a lookup from MetaData via Web API in JS

In my application I have a certain entity type selected and retrieve all field attributes of this entity from the EntityDefinitions web API endpoint by expanding Attributes ($expand=Attributes). For a certain attribute of type ‘Lookup’ (AttributeType) I want to know the type of the related entity. Because the attribute request contains so much data for […]