Hope this is a correct forum.
My code (Server 2003 Enterprise, SQL Server 10.0.5512.0, Powershell v1.0 ISE) is as follows:
function Script-Database_01 {
# Created: 09/06/2013
# Edited: 09/06/2013
[CmdletBinding()]
param(
↧