# New-OfficeProject

Creates a live project with an optional standard working calendar.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Project.ProjectDocument`

**Source**

[NewOfficeProjectCommand.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Project/NewOfficeProjectCommand.cs#L16) 

Creates a live project with an optional standard working calendar.

## Syntax

```
New-OfficeProject
[-Force]
[-Name <String>]
[-NoStandardCalendar]
[[-Path] <String>]
[-StartDate <DateTime>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

[#](#method-new-officeproject-switchparameter-string-switchparameter-string-datetime-switchparameter-switchparameter)

Parameter set: `Live`

```
New-OfficeProject
[-AllowLoss]
[-Content] <ScriptBlock>
[-Force]
[-Name <String>]
[-NoStandardCalendar]
[-PassThru]
[-Path] <String>
[-StartDate <DateTime>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

[#](#method-new-officeproject-switchparameter-scriptblock-switchparameter-string-switchparameter-switchparameter-string-datetime-switchparameter-switchparameter)

Parameter set: `Content`

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Project, Access, and EPUB Files](/docs/pswriteoffice/project-access-epub/) Guide
  
  Create and read Microsoft Project schedules, Access databases and EPUB books from PowerShell, without Project or Access installed.
- [Reliable Automation Patterns](/docs/pswriteoffice/automation-patterns/) Guide
  
  Structure document jobs for repeatability, diagnostics, safe mutation, and CI artifacts. Includes examples and cmdlet links.

## Examples

### Creates a live project with an optional standard working calendar.

```powershell
$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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:6F3909C042C77555FD495667F5C5ED80D618EFE30E68FA16D1690FD3AA99C532 -->
