Skip to main content

Split-File

SYNOPSIS

Splits File.

SYNTAX

Split-File [-Path] <String> [[-DestinationFolder] <String>] [[-PartFileSize] <Int32>]
[<CommonParameters>]

DESCRIPTION

Splits File.

EXAMPLES

EXAMPLE 1

Split-File

Executes Split-File using the arguments shown.

PARAMETERS

-Path

Specifies the path to use.

Type: String
Parameter Sets: (All)
Aliases: Source, InputLocation, SourceFile

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

-DestinationFolder

Specifies the path to use.

Type: String
Parameter Sets: (All)
Aliases: OutputLocation, Output, DestinationPath, Destination

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

-PartFileSize

Specifies the Part File Size value.

Type: Int32
Parameter Sets: (All)
Aliases: Size, Newsize

Required: False
Position: 3
Default value: 10485760
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

OUTPUTS

System.Object

NOTES

ALIASES

None.

PLATFORM APPLICABILITY

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Split-File