Generates sample files of specified size and count.
New-SampleFiles [-Path] <String> [-Bytes] <Int64> [-Count] <Int64>
[<CommonParameters>]
Use the New-SampleFiles
cmdlet to generate sample files of a specified size
and count.
New-SampleFiles -Path 'C:\Temp' -Bytes 1000 -Count 100
Creates 100 sample files in C:\Temp
, each having a length of 1,000 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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.