# The default Downloads path $dpath= 'C:\Users\wai484\Downloads' $mfile='PASMC_test' # Move the file to the validation folder $vpath= 'C:\Users\wai484\Documents\SinglePASMC\Validation' Copy-Item -Path $dpath\$mfile.omex -Destination $vpath\$mfile.omex # Unzip the file Rename-Item -Path $vpath\$mfile.omex -NewName $vpath\$mfile.zip #New-Item -Path $vpath\models -ItemType Directory Expand-Archive -Force -LiteralPath $vpath\$mfile.zip -DestinationPath $vpath\models