Error
Calling following gives the below error message. %~dp0 on the Windows command prompt is the equivalent of the bash dirname $0powershell %~dp0\create_db_patch_deployment_package.ps1
%~dp0\create_db_patch_deployment_package.ps1 : The module '%~dp0' could not be loaded. For more information, run 'Import-Module %~dp0'.
Solution
Use callpowershell -File "%~dp0\create_db_patch_deployment_package.ps1"
Keine Kommentare:
Kommentar veröffentlichen