Detailed Description

The New-SmBatch cmdlet is used to create a new Simply Migrate Batch.
For more information on Batches read the Getting Started article, Jobs and Batches Explained.


New-SmBatch [[-BatchName] <string>] [-Schedules <int[]>]  [<CommonParameters>]


-BatchName <string>
    Provide a friendly batch name

    Required? false
    Position? 0
    Accept pipeline input? true (ByValue)
    Parameter set name (All)
    Aliases None
    Dynamic? false

-Schedules <int[]>
    Associate this batch with a schedule

    Required? false
    Position? Named
    Accept pipeline input? false
    Parameter set name (All)
    Aliases None
    Dynamic? false

    This cmdlet supports the common parameters: Verbose, Debug,
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,
    OutBuffer, PipelineVariable, and OutVariable. For more information, see
    about_CommonParameters (https:/


New-Smbatch is used to name batches that are set for Migration, Discovery or Reporting.
An example how to create a new batch called “Migration 0001”;

PS C:\Program Files\Simply Migrate> New-SmBatch -BatchName 'Migration 0001'
09:40:00.9220  Info Creating new Batch with name 'Your Batch Name'
09:40:00.0314  Info Batch with name 'Migration 0001' created with Id '1'

BatchId     : 1
BatchName   : Migration 0001
CreatedDate : 9/28/2016 9:40:00 AM
Jobs        :
IsActive    : False
InProgress  :