createnew
Belirtilen büyüklükte dosya oluşturur
Örnek
Şöyle yaparız
fsutil file createnew <filename> <length>
fsutil file createnew <filename> <length>
ipconfig /all > output.txtipconfig /flushdns
ipconfig /registerdns registers the main A and PTR records for a server;
ipconfig /release
Get-WinEvent | ?{$_.id -eq 307} | Export-Clixml 307Events.xml net start W32Time
w32tm /resyncnet stop W32Time
net start W32Time
w32tm /resync /forceAçıklaması şöylesfc /scannow
The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache. The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.
$date = get-date -format "dd-MM-yyyy hh:mm:ss"$name = "Graeme"$clipboard = $date + " " + $name$clipboard | Set-Clipboard
CMD Example: ren c:\exampledirectory\examplefileold.txt
c:\exampledirectory\examplefilenew.txtPowershell Example: rename-item -path "c:\exampledirectory\examplefileold.txt"
-newname "examplefilenew.txt"