Share via


Set-SBNamespace

Set-SBNamespace

You can use this cmdlet to modify the properties of a specified Service Bus for Windows Server service namespace.

Syntax

Parameter Set: Default
Set-SBNamespace -Name <String> [-IssuerName <String> ] [-IssuerUri <String> ] [-ManageUsers <String[]> ] [-PrimarySymmetricKey <String> ] [-SecondarySymmetricKey <String> ] [-SubscriptionId <String> ] [ <CommonParameters>]

Detailed Description

Run Set-SBNamespace to modify Service Bus for Windows Server service namespace settings. The service namespace is identified by the Name parameter which is constant and cannot be changed. All the parameters except the Service Bus for Windows Server service namespace Name are optional and modifiable.

Parameters

-IssuerName<String>

The issuer name.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-IssuerUri<String>

The issuer URI.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ManageUsers<String[]>

Specifies user or group names that will be managers of the service namespace.

Aliases

manage

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

The service namespace name.

Aliases

n

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-PrimarySymmetricKey<String>

The primary symmetric key.

Aliases

primary

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecondarySymmetricKey<String>

The secondary symmetric key.

Aliases

secondary

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SubscriptionId<String>

An optional parameter specifying the ID of the portal subscription.

Aliases

subscription

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example

Replace the current owners of Service Bus for Windows Server service namespace myNamespace and set them to alice and bob.

PS C:\> Set-SBNamespace –Name myNamespace -ManageUsers mydomain\alice,mydomain\bob

Service Bus 1.0 MSDN Community Forum