Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1007 Bytes

powershell.md

File metadata and controls

22 lines (16 loc) · 1007 Bytes
  • repadmin /syncall /AdeP = Force domain controllers to sync.
Unix equivalent PowerShell command
netstat -plant netstat -np
tail -f file.txt get-content file.txt -Tail 1 -Wait
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online
Add-WindowsCapability -Name Rsat.CertificateServices.Tools~~~~0.0.1.0 -Online
Remove-WindowsCapability -Name Rsat.CertificateServices.Tools~~~~0.0.1.0 -Online

Robocopy

NET USE \\<SHARE IP>\<SHARE PATH> /u:server\<USERNAME> <PASSWORD> = Mount network drive for Robocopy to use.