playing with bindings
This commit is contained in:
Родитель
ca034b23fe
Коммит
0eab5043dc
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"python.linting.enabled": false
|
||||
}
|
|
@ -235,24 +235,22 @@ Invoke-Sqlcmd -ServerInstance $ServerName -Database $dbName -Query $query
|
|||
|
||||
|
||||
|
||||
### Copy Image Files
|
||||
Write-Host "Copy Image Files into FileStream Table"
|
||||
Set-Location "C:\Solutions\ImageSimilarity\Data"
|
||||
Invoke-Expression ".\import_data.bat"
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\dotted\*"
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\dotted"
|
||||
$dst = "\\$ServerName\MSSQLSERVER\FileTableData\ImageStore\"
|
||||
copy-item -Force -Recurse -Verbose -PassThru $src $dst -ErrorAction SilentlyContinue
|
||||
copy-item -Force -Recurse $src $dst -ErrorAction SilentlyContinue
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\leopard\*"
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\leopard"
|
||||
$dst = "\\$ServerName\MSSQLSERVER\FileTableData\ImageStore\"
|
||||
copy-item -Force -Recurse -Verbose -PassThru $src $dst -ErrorAction SilentlyContinue
|
||||
copy-item -Force -Recurse $src $dst -ErrorAction SilentlyContinue
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\striped\*"
|
||||
$src = "C:\Solutions\ImageSimilarity\Data\striped"
|
||||
$dst = "\\$ServerName\MSSQLSERVER\FileTableData\ImageStore\"
|
||||
copy-item -Force -Recurse -Verbose -PassThru $src $dst -ErrorAction SilentlyContinue
|
||||
copy-item -Force -Recurse $src $dst -ErrorAction SilentlyContinue
|
||||
|
||||
|
||||
Write-Host " Image Files Copied to FileStream Table"
|
||||
|
||||
|
||||
|
|
|
@ -257,10 +257,10 @@ IF ($RequireCuUpdate -eq 0)
|
|||
("Powershell nap time is over")
|
||||
}
|
||||
|
||||
###Unbind Python
|
||||
Set-Location $scriptPath
|
||||
invoke-expression ".\UpdateMLServer.bat"
|
||||
Write-Host "ML Server has been updated"
|
||||
# ###Unbind Python
|
||||
# Set-Location $scriptPath
|
||||
# invoke-expression ".\UpdateMLServer.bat"
|
||||
# Write-Host "ML Server has been updated"
|
||||
|
||||
####Run Configure SQL to Create Databases and Populate with needed Data
|
||||
$ConfigureSql = "C:\Solutions\$SolutionName\Resources\ActionScripts\ConfigureSQL.ps1 $ServerName $SolutionName $InstallPy $InstallR $EnableFileStream $Prompt"
|
||||
|
|
Загрузка…
Ссылка в новой задаче