Closed Adam-S-Daniel closed 4 months ago
Hi @Adam-S-Daniel - thanks for bringing it to my attention. I'll look into it and possibly fix as soon as possible.
I'll try to look into this one while I published the documentation for v22.3.0...
I've removed that part. Thanks. I have a PR out to update the documentation... I expect to go live as soon as it is approved. Maybe Monday. The offline documetation will pick up this change in the next release (v22.3.1+)
The
-InputFile
parameter information in theInvoke-Sqlcmd
documentation states "Spaces are not allowed in the file path or file name". However,Invoke-SqlCmd
executes successfully when the-InputFile
parameter is used with a path and a file name that both contain spaces (e.g.:Invoke-SqlCmd -InputFile 'C:\[path containing spaces]\New Text Document.sql' [...]
), at least in the following environment.Client:
Server: