Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

New-MSMQueue

New-MSMQueue

pscx.dll

Synopsis

PSCX Cmdlet: Creates a new queue object with the defined properties

Syntax

New-MSMQueue [-Force] [-Path] [-Transactional] [<CommonParameters>]

New-MSMQueue [-Name] [-Force] [-MachineName] [-Private] [-Transactional] [<CommonParameters>]

New-MSMQueue [-Force] [-Queue] [-Transactional] [<CommonParameters>]

Detailed Description

Creates a new queue object with the defined properties

Parameters

-Name <String>

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

Force the creation of the queue, even if a queue already exists with the given name

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-MachineName <String>

The name of the computer where the Message Queuing queue is located

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Path <String>

The queue's path

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Private <SwitchParameter>

The visibility of the queue

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Queue <MessageQueueInfo>

MessageQueueInfo object holding the message queue information

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-Transactional <SwitchParameter>

Create a transactional queue. If true, the queue will accept only messages sent as part of a transaction.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------