Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

how to call ssis package installation wizard

$
0
0

I have to call SSIS deployment wizard on clicking on manifest file but instead execute SSIS wizard is opening , how to change wizard in below code of powershell

#call SSIS  package installation wizard
 $ManifestFile =get-childitem "D:\Deployments\ssis_folder\Deployment_todaydate\*.SSISDeploymentManifest"
 $baseFolder =[System.IO.Path]::GetDirectoryName($ManifestFile)[xml] $list =Get-Content $ManifestFileforeach($package in $list.DTSDeploymentManifest.Package){
    $basePackage =[System.IO.Path]::GetFileNameWithoutExtension($package)# This might need to be a relative path
    $fullyQualifiedPackage =[System.IO.Path]::Combine($baseFolder, $package)
    $cmd =[string]::Format($format, $fullyQualifiedPackage, $destinationServer, $basePackage)
    cmd /c $cmd}#execution of SSIS end

Viewing all articles
Browse latest Browse all 6937

Trending Articles