Skip to content

Diskpart hangs #3

Description

@jonny190

Do these still work?

I'm getting powerCLI hang on:

Invoke-VMScript -vm $VM -ScriptText "echo rescan > c:\diskpart.txt && echo select vol $VolumeLetter >> c:\diskpart.txt && echo extend >> c:\diskpart.txt && diskpart.exe /s c:\diskpart.txt" -ScriptType BAT

I can see the process in process explorer

cmd /s /c "echo rescan > c:\temp\diskpart.txt && echo select vol >> c:\temp\diskpart.txt && echo extend >> c:\temp\diskpart.txt && diskpart.exe /s c:\temp\diskpart.txt"

Just nothing happening

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions