Share via


GetSecureRandomCommand Class

Definition

This class implements Get-SecureRandom cmdlet.

[System.Management.Automation.Cmdlet("Get", "SecureRandom", DefaultParameterSetName="RandomNumberParameterSet", HelpUri="https://go.microsoft.com/fwlink/?LinkID=2235055", RemotingCapability=System.Management.Automation.RemotingCapability.None)]
[System.Management.Automation.OutputType(new System.Type[] { typeof(System.Int32), typeof(System.Int64), typeof(System.Double) })]
public sealed class GetSecureRandomCommand : Microsoft.PowerShell.Commands.GetRandomCommandBase
[<System.Management.Automation.Cmdlet("Get", "SecureRandom", DefaultParameterSetName="RandomNumberParameterSet", HelpUri="https://go.microsoft.com/fwlink/?LinkID=2235055", RemotingCapability=System.Management.Automation.RemotingCapability.None)>]
[<System.Management.Automation.OutputType(new System.Type[] { typeof(System.Int32), typeof(System.Int64), typeof(System.Double) })>]
type GetSecureRandomCommand = class
    inherit GetRandomCommandBase
Public NotInheritable Class GetSecureRandomCommand
Inherits GetRandomCommandBase
Inheritance
Attributes

Constructors

GetSecureRandomCommand()

Properties

CommandOrigin

This property tells you if you were being invoked inside the runspace or if it was an external request.

(Inherited from InternalCommand)
CommandRuntime

Holds the command runtime object for this command. This object controls what actually happens when a write is called.

(Inherited from Cmdlet)
Count

Gets or sets the number of items to output (number of list items or of numbers).

(Inherited from GetRandomCommandBase)
CurrentPSTransaction

Gets an object that surfaces the current PowerShell transaction. When this object is disposed, PowerShell resets the active transaction.

(Inherited from Cmdlet)
Events

Gets the event manager for the current runspace.

(Inherited from PSCmdlet)
Host

Gets the host interaction APIs.

(Inherited from PSCmdlet)
InputObject

Gets or sets the list from which random elements are chosen.

(Inherited from GetRandomCommandBase)
InvokeCommand

Provides access to utility routines for executing scripts and creating script blocks.

(Inherited from PSCmdlet)
InvokeProvider

Gets the instance of the provider interface APIs for the current runspace.

(Inherited from PSCmdlet)
JobManager

Manager for JobSourceAdapters registered.

(Inherited from PSCmdlet)
JobRepository

Repository for jobs.

(Inherited from PSCmdlet)
Maximum

Gets or sets the maximum number to generate.

(Inherited from GetRandomCommandBase)
Minimum

Gets or sets the minimum number to generate.

(Inherited from GetRandomCommandBase)
MyInvocation

Contains information about the identity of this cmdlet and how it was invoked.

(Inherited from PSCmdlet)
PagingParameters

If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise