Microsoft SQL Server Powershell

https://www.mssqltips.com/sqlservertip/1759/retrieve-a-list-of-sql-server-databases-and-their-properties-using-powershell/

https://books.google.co.uk/books?id=SjnlCwAAQBAJ&pg=PA344&lpg=PA344&dq=sql+powershell+set+PrimaryFilePath&source=bl&ots=n8gFMa3Cq8&sig=wkCX6kKziGyEgBBPgvXFe9ZbSL0&hl=en&sa=X&ved=0ahUKEwjz2sfxjZvPAhXDZpoKHdDuDiAQ6AEIQDAF#v=onepage&q=sql%20powershell%20set%20PrimaryFilePath&f=false

https://books.google.co.uk/books?id=SjnlCwAAQBAJ&printsec=frontcover

http://sqlblog.com/blogs/allen_white/archive/2008/04/28/create-database-from-powershell.aspx

To see the details on any error run:
$error[0]|format-list -force

Advertisements
This entry was posted in develop and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s