-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING CHANGE: xSQLServerSetup: Removed SourceFolder & default value #301
Conversation
c59508d
to
bcada85
Compare
Removed default value "$PSScriptRoot\..\..\" from parameter SourcePath. Removed default value "Source" from parameter SourceFolder.
- Removed parameter SourceFolder. - Function `ResolvePath` has been replaced with `[Environment]::ExpandEnvironmentVariables($SourcePath)` so that environment variables still can be used in Source Path. - Function `NetUse` has been replaced with `New-SmbMapping` and `Remove-SmbMapping`. - Renamed function `GetSQLVersion` to `Get-SqlMajorVersion`. - Resolved all the white space in xSQLServerHelper.psm1
bcada85
to
93ff204
Compare
Reviewed 6 of 6 files at r1. README.md, line 749 at r1 (raw file):
If the path, that is assigned to parameter
then that leaf folder
If the path, that is assigned to parameter DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.psm1, line 20 at r1 (raw file):
Same as the comment above DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.psm1, line 332 at r1 (raw file):
Same as the comment above DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.psm1, line 902 at r1 (raw file):
Same as the comment above DSCResources/MSFT_xSQLServerSetup/MSFT_xSQLServerSetup.schema.mof, line 6 at r1 (raw file):
Make this a shorter description than the one in README.md and comment-based help, to align with PSDscResources Comments from Reviewable |
Reviewed 3 of 3 files at r2. Comments from Reviewable |
ResolvePath
has been replaced with[Environment]::ExpandEnvironmentVariables($SourcePath)
so that environment variables still can be used in Source Path.NetUse
has been replaced withNew-SmbMapping
andRemove-SmbMapping
.GetSQLVersion
toGet-SqlMajorVersion
.This Pull Request (PR) fixes the following issues:
Fixes #40
Fixes #196
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)