profile
viewpoint
Brandon nabrond @Microsoft Pennsylvania

hmscott4/AlertManagement 1

Manage SCOM Alerts

nabrond/PowerShell-Scripts 1

General PowerShell scripts written for various purposes.

nabrond/assemble 0

Get the rocks out of your socks! Assemble makes you fast at web development! Used by thousands of projects for rapid prototyping, themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websites/static site generator, an alternative to Jekyll for gh-pages and more! Gulp- and grunt-friendly.

nabrond/DscResource.Tests 0

Common meta tests for PowerShell DSC resources repositories.

nabrond/DscResources 0

Central repository for PowerShell Desired State Configuration (DSC) resources.

nabrond/nabrond-module 0

Module of helpful functions

nabrond/Posh-ACME 0

ACME v2 protocol client for generating certificates using Let's Encrypt (or other ACME v2 compliant CA)

nabrond/SqlServerDsc 0

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.

nabrond/tigertoolbox 0

Toolbox repository for Tiger team

push eventnabrond/SqlServerDsc

Johan Ljunggren

commit sha c3df27e34988d119643a09133b6453d4c045b416

BREAKING CHANGE: SqlServerDsc: Remove deprecated resources (#1727)

view details

Johan Ljunggren

commit sha 053de945376a42127c5e698644e7c92aae11cca2

SqlServerDsc: Switch Linux build worker for pipeline (#1730) - SqlServerDsc - Switched to a new Linux build worker for the pipeline (issue #1729).

view details

DataBeardAdmin

commit sha ee18d10f5aeb0044509d119eb66f57d8566db1ff

BREAKING CHANGE: SqlDatabaseObjectPermission: Fix compile issue when granting permissions for different object types (#1728) - SqlDatabaseObjectPermission - Fix for issue ([issue #1724](https://github.com/dsccommunity/SqlServerDsc/issues/1724)). - BREAKING CHANGE: Updated class DSC_DatabaseObjectPermission. - Changed Permission from an array to a string. - Updated Permission to a key property. - Updated Integration Tests to test permission grants on multiple objects.

view details

push time in a month

issue commentdsccommunity/SqlServerDsc

Integration Tests fail due to Ubuntu 16.04 tests being decommissioned.

Thanks @johlju, that line of code is actually the fix for this issue. I think the problem is actually that the DscResource.DocGenerator module requires DscResource.Common v0.2.0. If I copy the latest version into the "DscResource.DocGenerator/Modules/DscResource.Common" directory and re-run the build, the process moves beyond this error. I believe to resolve this, the version needs to be updated here and a new version of the module published.

DataBeardAdmin

comment created time in 2 months

issue commentdsccommunity/SqlServerDsc

Integration Tests fail due to Ubuntu 16.04 tests being decommissioned.

I dug into this issue a bit today. The issue, at least in my Ubuntu 18.04 WSL deployment, is that the locale is not configured for a specific language.

PS ~> $host

Name             : ConsoleHost
Version          : 7.1.5
InstanceId       : 5069a095-5fcb-4b29-b5f0-1d0800e37568
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   :
CurrentUICulture :
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

NOTICE: The value for property "CurrentCulture" is blank. This is what PowerShell returns when calling Get-UICulture.

This is causing the call for Get-LocalizedData to not return the proper localized strings, but rather a module manifest. When the call to Get-ResourceExampleAsText attempts to use these localized strings to report missing examples, it fails to get a localized string and thus raises this error.

To fix this in my lab, I was required to run the following commands before restarting the shell:

$ sudo update-locale en_US.utf8
$ sudo locale-gen

I need to keep tinkering to see whether I can reproduce and resolve this in the actual build environment.

DataBeardAdmin

comment created time in 2 months

issue openedPowerShell/PowerShellGet

Install-PSResource installs script and not module

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest released version
  • [X] Search the existing issues.

Steps to reproduce

Attempting to install Pester v5.3.1 yields the following results.

PS> Install-PSResource -Name Pester -Verbose
VERBOSE: All paths to search: 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Modules'
VERBOSE: All paths to search: 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Scripts'
VERBOSE: Performing the operation "Install-PSResource" on target "package to install: 'Pester'".
VERBOSE: Parameters passed in >>> Name: 'Pester'; Version: ''; Prerelease: 'False'; Repository: ''; AcceptLicense: 'False'; Quiet: 'False'; Reinstall: 'False'; TrustRepository: 'False'; NoClobber: 'False';
VERBOSE: Attempting to search for packages in 'PSGallery'
VERBOSE: Untrusted repository accepted as trusted source.
VERBOSE: Null Type provided, so add PSGalleryScripts repository
VERBOSE: Searching in repository PSGallery
VERBOSE: 5.3.1.0
VERBOSE: Null Type provided, so add PSGalleryScripts repository
VERBOSE: Searching in repository PSGallery
VERBOSE: Begin installing package: 'Pester'
VERBOSE: Successfully able to download package from source to: 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c'
VERBOSE: Deleting 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1\pester.5.3.1.nupkg.sha512'
VERBOSE: Deleting 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1\pester.nuspec'
VERBOSE: Deleting 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1\pester.5.3.1.nupkg'
VERBOSE: Installation source path is: 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1'
VERBOSE: Installation destination path is: 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Scripts'
VERBOSE: Checking if path 'False' exists:
VERBOSE: Moving 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1\Pester_InstalledScriptInfo.xml' to 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Scripts\InstalledScriptInfos\Pester_InstalledScriptInfo.xml'
VERBOSE: Checking if path 'False' exists:
VERBOSE: Moving 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c\pester\5.3.1\Pester.ps1' to 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Scripts\Pester.ps1'
VERBOSE: Successfully installed package 'Pester' to location 'C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Scripts'
VERBOSE: Attempting to delete 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9c'
VERBOSE: Successfully deleted 'C:\Users\xxxx\AppData\Local\Temp\93a42f70-85e3-4320-b551-d30a3099ae9

Expected behavior

PS> Install-PSResource -Name Pester
PS> Get-Module -Name Pester -List | ft Name,Version,ModuleBase -Auto

Name   Version ModuleBase
----   ------- ----------
Pester 5.3.1   C:\Users\xxxx\OneDrive - xxxx\Documents\PowerShell\Modules\Pester\5.3.1
Pester 3.4.0   C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0

Actual behavior

PS> Get-Module -Name Pester -List | ft Name,Version,ModuleBase -Auto

Name   Version ModuleBase
----   ------- ----------
Pester 3.4.0   C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0

Error details

No error reported.

Environment data

PS> Get-Module PowerShellGet; $PSVersionTable

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.11     beta       PowerShellGet                       {Find-PSResource, Get-InstalledPSResource, Get-PSResourceRepository, Install-PSResource…}

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

created time in 2 months

push eventnabrond/SqlServerDsc

Eric Scheffler

commit sha 2bc90f3cfb7680551bd2bc1f437e9a598bbc3d97

SqlServerDsc: Issue 1712: CredScan password fix (#1716)

view details

Ankit Kumar

commit sha 059f8675d79996a8ef20a1363226689fd84bfec7

Update azure-pipelines.yml (#1715) - SqlServerDsc - Update HQRM tests to run on the VM image `windows-2022`. - Update unit tests to run on the VM image `windows-2022`. - Update integration tests to run both on Windows Server 2019 and Windows Server 2022 (issue #1713).

view details

Johan Ljunggren

commit sha 9b2c3f1dae88936ddfd1e260cfe0ab977878e20e

SqlRSSetup: Installing SSRS 2019 in integration test (#1718) - SqlRSSetup - Integration tests is now installing Microsoft SQL Server 2019 Reporting Services (issue #1717).

view details

Johan Ljunggren

commit sha 82db5c79fbbb8cab4050d5372c076346b8e57800

SqlRs: Integration test configures SSRS 2019 (#1719) - SqlRS - Integration tests now configures _Microsoft SQL Server 2019 Reporting Services_. - Fixed SSRS 2019 initialization ([issue #1509](https://github.com/dsccommunity/SqlServerDsc/issues/1509)). - Fix a problem that did not correctly evaluate the `UseSSL` property against the current state.

view details

dscbot

commit sha 8aa0a4c8c9c61881851f756fb92659812187d935

Updating ChangeLog since v15.2.0 +semver:skip (#1722)

view details

push time in 2 months

more