Merge pull request #4 from josheinstein/master

Export-Excel now resolves unresolved pspaths.
This commit is contained in:
Doug Finke
2015-04-08 17:25:31 -04:00

View File

@@ -62,6 +62,8 @@ function Export-Excel {
Begin {
$Path = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Path)
if(Test-Path $Path) {
if($Force) {
Remove-Item $Path