Private/Remove-CachedDuneSession.ps1
|
<#
.SYNOPSIS Delete the cached Dune session file from disk. .DESCRIPTION Removes the session file at `~/.dune/session.clixml` if it exists. .EXAMPLE PS> Remove-CachedDuneSession Deletes the cached session file. #> function Remove-CachedDuneSession { $path = "$HOME\.dune\session.clixml" if (Test-Path $path) { Remove-Item $path -Force } } |