File tree Expand file tree Collapse file tree
PSModuleDevelopment/functions/utility Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515 If there is parameter value present, you have to use the opposite quote strategy to encapsulate the string correctly
1616
17- E.g. -CommandText 'Import-D365Bacpac -ImportModeTier2 -SqlUser "sqladmin" -SqlPwd "XyzXyz" -BacpacFile2 "C:\temp\uat.bacpac"'
18- E.g. -CommandText "Emport-D365Bacpac -ExportModeTier2 -SqlUser 'sqladmin' -SqlPwd 'XyzXyz' -BacpacFile2 'C:\temp\uat.bacpac'"
17+ E.g. for double quotes
18+ -CommandText 'Import-D365Bacpac -ImportModeTier2 -SqlUser "sqladmin" -SqlPwd "XyzXyz" -BacpacFile2 "C:\temp\uat.bacpac"'
19+
20+ E.g. for single quotes
21+ -CommandText "Import-D365Bacpac -ExportModeTier2 -SqlUser 'sqladmin' -SqlPwd 'XyzXyz' -BacpacFile2 'C:\temp\uat.bacpac'"
1922
2023 . PARAMETER Mode
2124 The operation mode of the cmdlet / function
3134 PS C:\> Show-PSMDSyntax -CommandText 'Import-D365Bacpac -ImportModeTier2 -SqlUser "sqladmin" -SqlPwd "XyzXyz" -BacpacFile2 "C:\temp\uat.bacpac"' -Mode "Validate"
3235
3336 This will validate all the parameters that have been passed to the Import-D365Bacpac cmdlet.
37+ All supplied parameters that matches a parameter will be marked with an asterisk.
3438
3539 . EXAMPLE
3640 PS C:\> Show-PSMDSyntax -CommandText 'Import-D365Bacpac' -Mode "ShowParameters"
3741
38- This will validate all the parameters that have been passed to the Import-D365Bacpac cmdlet .
42+ This will display all the parameter sets and their individual parameters .
3943
4044 . NOTES
4145 Author: Mötz Jensen (@Splaxi)
46+
4247#>
4348 [CmdletBinding ()]
4449
You can’t perform that action at this time.
0 commit comments