Skip to content

Commit

Permalink
Assert-ElevatedUser: Function moved to DscResource.Common Module (#1815)
Browse files Browse the repository at this point in the history
- SqlServerDsc
  - Removed `Assert-ElevatedUser` from private functions - issue #1797
  • Loading branch information
hollanjs authored Dec 11, 2022
1 parent 9035168 commit d5692e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 162 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- SqlServerDsc
- Removed `Assert-ElevatedUser` from private functions - [Issue #1797](https://github.com/dsccommunity/SqlServerDsc/issues/1797)
- `Assert-ElevatedUser` added to _DscResource.Common_ public functions - [Issue #82](https://github.com/dsccommunity/DscResource.Common/issues/82)

### Added

- SqlServerDsc
Expand Down
45 changes: 0 additions & 45 deletions source/Private/Assert-ElevatedUser.ps1

This file was deleted.

3 changes: 0 additions & 3 deletions source/en-US/SqlServerDsc.strings.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ ConvertFrom-StringData @'
RequiredCommandParameter_SpecificParametersMustAllBeSet = The parameters '{0}' must all be specified.
RequiredCommandParameter_SpecificParametersMustAllBeSetWhenParameterExist = The parameters '{0}' must all be specified if either parameter '{1}' is specified.
## Assert-IsElevated
IsElevated_UserNotElevated = This command must run in an elevated PowerShell session.
## Assert-SetupActionProperties
InstallSqlServerProperties_ASServerModeInvalidValue = The value for ASServerMode is not valid for the setup action {0}.
InstallSqlServerProperties_RsInstallModeInvalidValue = The only valid value for RsInstallMode is 'FilesOnlyMode' when using setup action {0}.
Expand Down
114 changes: 0 additions & 114 deletions tests/Unit/Private/Assert-ElevatedUser.Tests.ps1

This file was deleted.

0 comments on commit d5692e2

Please sign in to comment.