Skip to content

Commit

Permalink
Added Example for cleanup dfsr
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Aug 2, 2020
1 parent 0759d1c commit 97a189e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Examples/Example-33-CleanupPrivateDFSR.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force

# Cleanup based on https://techcommunity.microsoft.com/t5/ask-the-directory-services-team/manually-clearing-the-conflictanddeleted-folder-in-dfsr/ba-p/395711

# Get dfsr information
$DFSR = Get-GPOZaurrSysvolDFSR
$DFSR | Format-Table

# Cleanup DFSR Conflict Path
Clear-GPOZaurrSysvolDFSR -WhatIf

0 comments on commit 97a189e

Please sign in to comment.