A to Z commands for windows


DiskRAID commands



Dirquota quota scan in FSRM


dirquota quota scan /path:<Path> [/remote:<ComputerName>]

dirquota quota list
dirquota quota add
dirquota quota modify
dirquota quota delete
dirquota quota scan
dirquota quota freespace


Robocopy to copy only new folders and files

Compare two folder files and update only modified files

robocopy e:\Fire \\\e$\Fire\ /xo /zb /COPYALL /E  /MT:4 /R:0 /log+:c:\temp\copy.log /TEE 

Source location : e:\Fire

Destination folder \\\e$\Fire

/xo: Excludes older files – if destination file exists and is the same date or newer than the source – don’t bother to overwrite it.

/E => copy subdirectories, including Empty ones.

/ZB => use restartable mode; if access denied use Backup mode.

/COPYALL => DATSOU (D=Data, A=Attributes, T=Timestamps ,S=Security=NTFS ACLs, O=Owner info, U=aUditing info)

/R:n => number of Retries on failed copies: default 1 million.

/LOG+:file => output status to LOG file

/TEE => output to console window, as well as the log file.

/MT[:n] => Do multi-threaded copies with n threads (default 8)

DNS backup script


To generate the cluster log


generate the cluster log with specific node

Get-ClusterLog -Node SRV1, SRV3

generate with local time

Get-ClusterLog –UseLocalTime

generate the cluster log with different location

Get-ClusterLog –Destination “C:\Temp”

generate the cluster log with timespan

Get-ClusterLog –TimeSpan 3


Ex: Timespane <mins>

Find gateway IP in Linux

ip route | grep default

%d bloggers like this: