Skip to content

Commit 3e23248

Browse files
committed
Replaced had coded diskpart location with config value
1 parent e138808 commit 3e23248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/disk/New-PSDCVhdDisk.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
}
164164

165165
# Set the location where to save the diskpart command
166-
$diskpartScriptFile = "$($MyInvocation.MyCommand.Module.ModuleBase)\DiskPartCommand.txt"
166+
$diskpartScriptFile = Get-PSFConfigValue -FullName psdatabaseclone.diskpart.scriptfile -Fallback "$env:APPDATA\psdatabaseclone\diskpartcommand.txt"
167167
}
168168

169169
process {

0 commit comments

Comments
 (0)