From f5e4b32d01461a4f5f70f758a36fcc656015887a Mon Sep 17 00:00:00 2001 From: Karl Burtram Date: Wed, 18 Nov 2020 15:16:40 -0800 Subject: [PATCH] Update VM notebook --- .../content/offline-migration/db-to-VM.ipynb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/offline-migration/db-to-VM.ipynb b/extensions/azurehybridtoolkit/notebooks/hybridbook/content/offline-migration/db-to-VM.ipynb index 9de01eecda..e9a62190ae 100644 --- a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/offline-migration/db-to-VM.ipynb +++ b/extensions/azurehybridtoolkit/notebooks/hybridbook/content/offline-migration/db-to-VM.ipynb @@ -51,15 +51,14 @@ { "cell_type": "code", "source": [ - "$sourceServerName = 'sqltools2016-3'\r\n", - "$sourceLogin = 'migtest'\r\n", + "$sourceServerName = ''\r\n", + "$sourceLogin = ''\r\n", "\r\n", - "## TEMP - REMOVE BEFORE PUSHING CHANGES\r\n", - "$env:SQLMIG_SourcePassword = 'Yukon900'\r\n", + "$env:SQLMIG_SourcePassword = ''\r\n", "\r\n", "## PowerShell Environment \r\n", "$sourceLoginPassword = ConvertTo-SecureString $env:SQLMIG_SourcePassword -AsPlaintext -Force\r\n", - "$sourceCredential = New-Object System.Management.Automation.PSCredential ('migtest', $sourceLoginPassword)\r\n", + "$sourceCredential = New-Object System.Management.Automation.PSCredential ('', $sourceLoginPassword)\r\n", "$sourceTest = Test-DbaConnection -SqlInstance $sourceServerName -SqlCredential $sourceCredential\r\n", "$sourceTest\r\n", "$sourceConnection = Connect-DbaInstance -SqlInstance $sourceServerName -SqlCredential $sourceCredential" @@ -98,11 +97,11 @@ "$targetLogin = 'cloudsa'\r\n", "\r\n", "## TEMP - REMOVE BEFORE PUSHING CHANGES\r\n", - "$env:SQLMIG_TargetPassword = 'Yukon900Yukon900'\r\n", + "$env:SQLMIG_TargetPassword = ''\r\n", "\r\n", "## PowerShell Environment \r\n", "$targetLoginPassword = ConvertTo-SecureString $env:SQLMIG_TargetPassword -AsPlaintext -Force\r\n", - "$targetCredential = New-Object System.Management.Automation.PSCredential ('migtest', $targetLoginPassword)\r\n", + "$targetCredential = New-Object System.Management.Automation.PSCredential ('', $targetLoginPassword)\r\n", "$targetTest = Test-DbaConnection -SqlInstance $targetServerName -SqlCredential $targetCredential\r\n", "$targetTest\r\n", "$targetConnection = Connect-DbaInstance -SqlInstance $targetServerName -SqlCredential $targetCredential" @@ -268,4 +267,4 @@ "execution_count": null } ] -} \ No newline at end of file +}