Logo

Documentation home for Transend tools

New-SampleFiles

SYNOPSIS

Generates sample files of specified size and count.

SYNTAX

New-SampleFiles [-Path] <String> [-Bytes] <Int64> [-Count] <Int64>
 [<CommonParameters>]

DESCRIPTION

Use the New-SampleFiles cmdlet to generate sample files of a specified size and count.

EXAMPLES

Example 1

New-SampleFiles -Path 'C:\Temp' -Bytes 1000 -Count 100

Creates 100 sample files in C:\Temp, each having a length of 1,000 bytes.

PARAMETERS

-Bytes

Specifies the size of each sample file, in bytes.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Count

Specifies the number of sample files to create.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the location in which the sample files will be created.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
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.

INPUTS

None

OUTPUTS

System.Void

NOTES