Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Check for snapin

$
0
0

This should be an easy one for someone with more experience than me in this area.  I am creating a process that requires some snapins:

Add-PSSnapin SqlServerProviderSnapin100

Add-PSSnapin SqlServerCmdletSnapin100

I want to check and see if they are loaded, if not then load them.  What is the easiest way to do that?


Viewing all articles
Browse latest Browse all 6937

Trending Articles