Horje
powreshell function cleanup Code Example
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()}
}




Shell

Related
show applications shortcut ubuntu move right Code Example show applications shortcut ubuntu move right Code Example
command line weather Code Example command line weather Code Example
ubuntu isolate workspaces Code Example ubuntu isolate workspaces Code Example
linux command if directory exists Code Example linux command if directory exists Code Example
install pylatex Code Example install pylatex Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14