Skip to content

Powershell script to query the NTFS USN journal to determine if you have a high USN consumption rate.

Notifications You must be signed in to change notification settings

ToddMaxey/Measure-NTFS-USN-consumption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Measure NTFS USN consumption

PowerShell script to query the NTFS USN journal to determine if you have a high USN consumption rate or if the USN journal has a new identifier. Script Utility - Identify USN journal consumption issue causing USN Journal wrap. Identify changes to the USN Journal where the journal size or identifier is changed. Components or processes affected: Distributed File System Replication, File System Index, File System forensics.

PowerShell Command: Measure-UsnConsumption

Usage:

Measure-UsnConsumption [-DurationInSeconds][-UsnConsumptionThreshold][-DriveLetter][-DriveLetter]

Switches:

-DurationInSeconds Duration between the sample of NextUSN. Default is 60 seconds

-UsnConsumptionThreshold The threshold that a event log error will be generated based on the difference between the new NextUSN samples. Default is 1,000,000

-DriveLetter The volume to run the test agains. Default is the volume of the system drive.

-LogEvent Log results in System event log. Boolean. Default is $True

About

Powershell script to query the NTFS USN journal to determine if you have a high USN consumption rate.

Resources

Stars

Watchers

Forks

Packages

No packages published