# Preview Outlook account removal

Preview Outlook account removal on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSOutlookProfile

Tool to manage (to some degree) Outlook Profile in PowerShell

[View on GitHub](https://github.com/EvotecIT/PSOutlookProfile) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSOutlookProfile/releases) [Changelog](#) [Get package](#)

Stars**11**

Forks**7**

Open issues**2**

NuGet downloads

Release

Language: PowerShell Updated: 2019-09-13

Curated Examples

Use PSOutlookProfile with WhatIf before changing an Outlook profile.

This pattern is useful when an Outlook profile needs cleanup but you want to confirm the intended action first.

It is adapted from `Example/Manage-Outlook.ps1`.

## Example

```powershell
Import-Module PSOutlookProfile

Start-OutlookProfile `
    -RemoveAccount 'secondary.user@example.com' `
    -PrimaryAccount 'primary.user@example.com' `
    -WhatIf
```

## What this demonstrates

- making the primary account explicit
- previewing the profile change before applying it
- avoiding broad profile changes from an unreviewed command

## Source

- [Manage-Outlook.ps1](https://github.com/EvotecIT/PSOutlookProfile/blob/master/Example/Manage-Outlook.ps1)

<!-- PowerForge markdown artifact sha256:83404EC670FCC17E9A7F9C78E5C23F319C8E9721D98EA7DDE6C2EEE8FA69FAED -->
