database-tools

Test AD User Exists

If you’d need to find out whether a given Active Directory user exists, and provided you have installed the ActiveDirectory PowerShell module...

WMI Quick Primer (Part 4)

Typically, WMI objects contain properties with valuable information. This line would retrieve all information about all running Notepad instances...

WMI Quick Primer (Part 3)

In the previous tip we explained why Get-CimInstance may have advantages over the older Get-WmiObject cmdlet. Now here is another example that...

TEMP is A Four Letter Word

It’s not uncommon to observe rampant over reliance of database application code on TEMP tables, most often as a SQL language programming...

WMI Quick Primer (Part 2)

There are two cmdlets you can use to retrieve WMI data: the older Get-WmiObject cmdlet, and the more modern Get-CimInstance cmdlet. When used...

WMI Quick Primer (Part 1)

WMI is an awesome information source for admins. All you need is the name of a WMI class that represents something you find interesting. The easiest...

Listing Properties with Values (Part 2)

In the previous tip we introduced a new function called Remove-EmptyProperty that removes properties that have no value. Let’s expand it a bit so...

Enabling Remoting

There are many ways how cmdlets can get remote information from another computer. Here are just a few: # try and connect to this computer # (adjust...

1 56 57 58 59 60 159