Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

powreshell function cleanup

function  CleanUp {
   # Delete directory content
   Get-ChildItem -Path ($PSScriptRoot + "Files") -Recurse | ForEach-Object { $_.Delete()}
   Get-ChildItem -Path ($PSScriptRoot + "Temp") -Recurse | ForEach-Object { $_.Delete()}
   Get-ChildItem -Path ($PSScriptRoot + "Out") -Recurse | ForEach-Object { $_.Delete()}
}
Comment

PREVIOUS NEXT
Code Example
Shell :: pop shell ubuntu 
Shell :: install stacer ubuntu or linux 
Shell :: bash replace substring 
Shell :: git origin master some file 
Shell :: how to remove all files except one in linux 
Shell :: how to clear log files linux debian 
Shell :: get connected wifi password 
Shell :: php runing using aphp.ini 
Shell :: ubuntu delete from ssh known hosts 
Shell :: git delete changes 
Shell :: ssh to a docker container 
Shell :: tmux how to scroll in history 
Shell :: docker restart 
Shell :: how to install intellij on manjaro 
Shell :: make git project mine 
Shell :: git reset origin branch 
Shell :: extract tar.xz ubuntu 
Shell :: ubuntu 20 stop apache 
Shell :: spec false not working 
Shell :: how to install frida 
Shell :: zsh create alias 
Shell :: install next auth 
Shell :: How to generate RSA private key and public key with openssl 
Shell :: linux install deb file 
Shell :: yarn archlinux 
Shell :: command not found kube 
Shell :: alternative to installonair 
Shell :: install iptables ubuntu 
Shell :: notepad++ linux 
Shell :: kubectl set context not working 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =