PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

New-AzureRmDisk is not recognizeed cmdlet or function

Open kapoorh opened this issue 7 years ago • 0 comments

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

kapoorh avatar Nov 09 '18 10:11 kapoorh