Tag: AutoStore
Return to GetVolumeNumber
by dwarfsoft on Sep.02, 2008, under Novell, Politics, Scripting, Study, Training, Work
Since my last post I came to the realisation that I really didn’t like the way that the Diskpart box popped up on screen during the function call, so I did what I said I should have done and created the function the other way. This also cleans up the text files after completion, which is something the previous function didn’t do.
For completeness I also made the function a little more generic, so it takes the Volume Label as the Variable, and falls back to “IMAGE” if none was passed.