- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Maya,
Getting error can help me out..Please
New-HardDisk : 23/06/2022 10:30:12 New-HardDisk Strings as pipeline input are not supported.
At C:\temp\win.ps1:6 char:9
+ $vm | New-HardDisk -CapacityGB 10 -DiskType PMem
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-HardDisk], VimException
+ FullyQualifiedErrorId : Core_ObnArgumentTransformationAttribute_Transform_InvalidPipelineArgument,VMware.VimAutomation.ViCore.Cmdlets.Commands.VirtualDevice.NewHardDisk
New-HardDisk : 23/06/2022 10:30:12 New-HardDisk Strings as pipeline input are not supported.
At C:\temp\win.ps1:6 char:9
+ $vm | New-HardDisk -CapacityGB 10 -DiskType PMem
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-HardDisk], VimException
+ FullyQualifiedErrorId : Core_ObnArgumentTransformationAttribute_Transform_InvalidPipelineArgument,VMware.VimAutomation.ViCore.Cmdlets.Commands.VirtualDevice.NewHardDisk