Skip to content

Update SqlPackageOnTargetMachines.ps1#1208

Closed
phalpin wants to merge 1 commit into
microsoft:masterfrom
phalpin:master
Closed

Update SqlPackageOnTargetMachines.ps1#1208
phalpin wants to merge 1 commit into
microsoft:masterfrom
phalpin:master

Conversation

@phalpin
Copy link
Copy Markdown

@phalpin phalpin commented Nov 16, 2023

Remove --% simple parsing directive. This causes Illegal characters in path errors from sqlpackage when used via Invoke-DacpacDeployment. Removing --% appears to alleviate the problem and continues to work in ps5 + pscore. Seems to be the only usage of this method.

Don't know all of the use cases for this, so feel free to nuke this PR if this will break something known, but I've tried with and without spaces, it appears to work in both PS5 and PS Core (7.3.8 specifically)

Remove --% simple parsing directive. This causes Illegal characters in path errors from sqlpackage when used via Invoke-Command.
@phalpin phalpin closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant