mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-02 08:33:14 +00:00
Export-Excel now resolves unresolved pspaths.
This commit is contained in:
@@ -62,6 +62,8 @@ function Export-Excel {
|
||||
|
||||
Begin {
|
||||
|
||||
$Path = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Path)
|
||||
|
||||
if(Test-Path $Path) {
|
||||
if($Force) {
|
||||
Remove-Item $Path
|
||||
|
||||
Reference in New Issue
Block a user