ryanspletzer / ServiceBusForWindowsServerDsc

***NOTE Service Bus for Windows Server is a retired product and this is no longer maintained.*** The ServiceBusForWindowsServerDsc PowerShell module provides DSC resources that can be used to deploy and manage a Service Bus for Windows Server farm.
MIT License
4 stars 2 forks source link

Command not found when try to create SBFarm #38

Open spawluk opened 7 years ago

spawluk commented 7 years ago

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 + ~~~~~~~