PowerShell
PowerShell copied to clipboard
New-AzureRmDisk is not recognizeed cmdlet or function
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