Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficeProject

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Project.ProjectDocument

Creates a live project with an optional standard working calendar.

Syntax

New-OfficeProject
[-Force]
[-Name <String>]
[-NoStandardCalendar]
[[-Path] <String>]
[-StartDate <DateTime>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Live
New-OfficeProject
[-AllowLoss]
[-Content] <ScriptBlock>
[-Force]
[-Name <String>]
[-NoStandardCalendar]
[-PassThru]
[-Path] <String>
[-StartDate <DateTime>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Content

Examples

Creates a live project with an optional standard working calendar.

$project = New-OfficeProject -Name Delivery -StartDate '2026-10-20 08:00'

Parameters

-Force SwitchParameter optional
Permit replacement of the associated destination.
-Name String optional
Project name.
-NoStandardCalendar SwitchParameter optional
Do not create a Monday-to-Friday working calendar.
-Path String required in Contentposition: 0
Optional live association; required for a completed content block.
-StartDate DateTime optional
Explicit project start; omitted dates remain unspecified.
-WhatIf SwitchParameter optional
Shows what would happen if the command runs.
-Confirm SwitchParameter optional
Prompts for confirmation before running the command.
-AllowLoss SwitchParameter optionalsets: Content
Accept reductions reported by native save.
-Content ScriptBlock requiredposition: 1sets: Content
Authoring block completed before atomic publication.
-PassThru SwitchParameter optionalsets: Content
Return the saved FileInfo after the block completes.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.