Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Command not found when try to create SBFarm #38

@spawluk

Description

@spawluk

I can see that function is imported but it can not be found after module import

PS Z:\> Import-Module ServiceBusForWindowsServerDsc -Verbose -Force VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\ServiceBusForWindowsServerDsc.psd1'. VERBOSE: Populating RepositorySourceLocation property for module ServiceBusForWindowsServerDsc. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\Modules\SB.Util\SB.Util.psm1'. VERBOSE: Importing function 'Compare-AccountName'. VERBOSE: Importing function 'Compare-SecureString'. VERBOSE: Importing function 'ConvertTo-PlainText'. VERBOSE: Importing function 'Format-AccountName'. VERBOSE: Importing function 'Get-AccountDomainName'. VERBOSE: Importing function 'Get-AccountName'. VERBOSE: Importing function 'Get-DistinguishedNameForDomain'. VERBOSE: Importing function 'Get-FullyQualifiedDomainName'. VERBOSE: Importing function 'Get-NetBIOSDomainName'. VERBOSE: Importing function 'Get-SqlConnectionStringPropertyValue'. VERBOSE: Importing function 'New-SqlConnectionString'. VERBOSE: Importing function 'Test-SBDscObjectHasProperty'. VERBOSE: Importing function 'Test-SBParameterState'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBBase\SBBase.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBFarm\SBFarm.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBHost\SBHost.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBMessageContainer\SBMessageCo ntainer.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBNamespace\SBNamespace.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBAuthorizationRule\SBAuthoriz ationRule.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBHostCEIP\SBHostCEIP.psm1'. VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\ServiceBusForWindowsServerDsc\0.10.0.0\DSCClassResources\SBRuntimeSetting\SBRuntimeSett ing.psm1'. PS Z:\> New-SqlConnectionString New-SqlConnectionString : The term 'New-SqlConnectionString' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 \+ New-SqlConnectionString \+ ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (New-SqlConnectionString:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions