Send-MSMQueue
SYNOPSIS
PSCX Cmdlet: Wraps an object in a Message, and places it onto the defined queue.
SYNTAX
Named (Default)
Send-MSMQueue -InputObject <PSObject> [-Label <String>] [-Recoverable] [-MachineName <String>]
[[-Name] <String>] [-Private] [-WhatIf] [-Confirm] [<CommonParameters>]
Path
Send-MSMQueue -InputObject <PSObject> [-Label <String>] [-Recoverable] [-Path <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Queue
Send-MSMQueue -InputObject <PSObject> [-Label <String>] [-Recoverable] [-Queue <MessageQueueInfo>] [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
Wraps an object in a Message, and places it onto the defined queue.
EXAMPLES
EXAMPLE 1
PS C:\>
PARAMETERS
-InputObject
Object to place on the queue. Will be wrapped in a MessageQueue object.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Name
@{Text=}
Type: System.String
Parameter Sets: Named
Aliases: QueueName, qn
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Label
@{Text=}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-MachineName
The name of the computer where the Message Queuing queue is located
Type: System.String
Parameter Sets: Named
Aliases: ComputerName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Path
The queue's path
Type: System.String
Parameter Sets: Path
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Private
The visibility of the queue
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Named
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Queue
MessageQueueInfo object holding the message queue information
Type: Pscx.Commands.Messaging.MessageQueueInfo
Parameter Sets: Queue
Aliases: QueueInfo
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Recoverable
Indicates whether the message is guaranteed to be delivered in the event of a computer failure or network problem
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.