Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get a list of active DFS folder targets under a specific DFS root
Get-DfsnFolder -Path \\\dfsroot\* | Get-DfsnFolderTarget | ? {$_.State -eq "Online"} | Group-Object -Property Path | ForEach-Object {$[0]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.