Skip to content

New-AzureRmDisk is not recognizeed cmdlet or function #40

@kapoorh

Description

@kapoorh

Hi,

In Invoke-Parallel i am creating a new disk with a command New-AzureRmDisk, then it gives an error: Get-RunspaceData : The term 'New-AzureRmDisk' is not recognized as the name of a cmdlet, function, or script file.......

code:
$servers = 1..2
Invoke-Parallel -InputObject $servers -ScriptBlock {
New-AzureRmDisk -Disk .................
}

Please suggest me the solution for the same.

Thanks and Regards
Harsh

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