Old Version

Get-Help -Full

PS C:\> Get-Help -Full New-OSDDisk

NAME
    New-OSDDisk
    
SYNOPSIS
    Creates System | OS | Recovery Partitions for MBR or UEFI Drives in WinPE
    
    
SYNTAX
    New-OSDDisk [[-Title] <String>] [[-DiskNumber] <Int32>] [[-LabelSystem] <String>] [[-LabelWindows] <String>] [[-LabelRecovery] <String>] [[-SizeSystemMbr] <UInt64>] [[-SizeSystemGpt] <UInt64>] [[-SizeMSR] 
    <UInt64>] [[-SizeRecovery] <UInt64>] [-SkipRecoveryPartition] [-Force] [<CommonParameters>]
    
    
DESCRIPTION
    Creates System | OS | Recovery Partitions for MBR or UEFI Drives in WinPE
    

PARAMETERS
    -Title <String>
        Title displayed during script execution
        Default = New-OSDDisk
        Alias = T
        
        Required?                    false
        Position?                    1
        Default value                New-OSDDisk
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -DiskNumber <Int32>
        Fixed Disk Number
        Alias = Disk, Number
        
        Required?                    false
        Position?                    2
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -LabelSystem <String>
        Drive Label of the System Partition
        Default = System
        Alias = LS, LabelS
        
        Required?                    false
        Position?                    3
        Default value                System
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -LabelWindows <String>
        Drive Label of the Windows Partition
        Default = OS
        Alias = LW, LabelW
        
        Required?                    false
        Position?                    4
        Default value                OS
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -LabelRecovery <String>
        Drive Label of the Recovery Partition
        Default = Recovery
        Alias = LR, LabelR
        
        Required?                    false
        Position?                    5
        Default value                Recovery
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SizeSystemMbr <UInt64>
        System Partition size for BIOS MBR based Computers
        Default = 260MB
        Range = 100MB - 3000MB (3GB)
        Alias = SSM, Mbr, SystemM
        
        Required?                    false
        Position?                    6
        Default value                272629760
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SizeSystemGpt <UInt64>
        System Partition size for UEFI GPT based Computers
        Default = 260MB
        Range = 100MB - 3000MB (3GB)
        Alias = SSG, Efi, SystemG
        
        Required?                    false
        Position?                    7
        Default value                272629760
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SizeMSR <UInt64>
        MSR Partition size
        Default = 16MB
        Range = 16MB - 128MB
        Alias = MSR
        
        Required?                    false
        Position?                    8
        Default value                16777216
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SizeRecovery <UInt64>
        Size of the Recovery Partition
        Default = 990MB
        Range = 350MB - 80000MB (80GB)
        Alias = SR, Recovery
        
        Required?                    false
        Position?                    9
        Default value                1038090240
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SkipRecoveryPartition [<SwitchParameter>]
        Skips the creation of the Recovery Partition
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -Force [<SwitchParameter>]
        Required for execution as a safety precaution
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). 
    
INPUTS
    
OUTPUTS
    
NOTES
    
    
        19.10.10     Created by David Segura @SeguraOSD
    
    
RELATED LINKS
    https://osd.osdeploy.com/module/functions/new-osddisk

Last updated