Skip to content
Get-NewPublicFolders
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Get-NewPublicFolders.ps1
LICENSE.md
README.md

README.md

Get-NewPublicFolders.ps1

Get all public folders created during the last X days

Description

This script gathers all public folders created during the last X days and exportes the gathered data to a CSV file.

Parameters

Days

Number of last X days to filter newly created public folders. Default: 14

Legacy

Switch to define that you want to query legacy public folders

ServerName

Name of Exchange server hostingl egacy public folders

Examples

.\Get-NewPublicFolders.ps1 -Days 31 -ServerName MYPFSERVER01 -Legacy

Query legacy public folder server MYPFSERVER01 for all public folders created during the last 31 days

.\Get-NewPublicFolders.ps1 -Days 31

Query modern public folders for all public folders created during the last 31 days

Note

THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

TechNet Gallery

Download and vote at TechNet Gallery

Credits

Written by: Thomas Stensitzki

Stay connected:

For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos

You can’t perform that action at this time.