From 1039a2ce669a63cb5d8029b61e37534b7c59c8f5 Mon Sep 17 00:00:00 2001 From: Randy Costner Date: Wed, 17 Aug 2022 10:10:26 -0400 Subject: [PATCH] Update CopyDatabase.psm1 Added Secure string for password --- Powershell/CopyDatabase.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Powershell/CopyDatabase.psm1 b/Powershell/CopyDatabase.psm1 index 79f2568..2e83b06 100644 --- a/Powershell/CopyDatabase.psm1 +++ b/Powershell/CopyDatabase.psm1 @@ -110,8 +110,8 @@ function copy-data{ [string] $WorkingFolder, [string] $SourceUser, [string] $DestinationUser, - [string] $SourcePassword, - [string] $DestinationPassword + [SecuretSring] $SourcePassword, + [SecuretSring] $DestinationPassword ) $sourceAuth = " -T "