domingo, 10 de marzo de 2019

WINDOWS. PS. DFS commands for share folders

Purpose

To know some power Shell DFS commands
and examples.

Steps

Command:

 $selected_dfs = Read-Host 'Write DFS Resource (EX: "\\domain.local\RECURSOS\IT" or "\\domain.local\RECURSOS\*") :'

Get-DfsnFolder $selected_dfs



Other example: "Get-DfsnFolder -Path "\\Contoso\AccountingResources\*""

Command:

Get-DfsnFolderTarget \\dominio.local\RECURSOS\it



Command:

Get-DfsnRoot



Command:

Get-DfsnFolder -path \\dominio.local\recursos\*  | Select-Object -Property path, description




Command:

dfsutil /root:\\dominio.local\recursos /View









Check Windows 2012R2
by GoN | Published: March 10 2019 | Last Updated:

No hay comentarios: