Advertisement
Guest User

Import Error

a guest
Jan 10th, 2022
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. Import-Module : The specified module '\Add-VMGpuPartitionAdapterFiles.psm1' was not loaded because no valid module file was found in any module directory.
  2. At line:21 char:1
  3. + Import-Module $PSSCriptRoot\Add-VMGpuPartitionAdapterFiles.psm1
  4. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. + CategoryInfo : ResourceUnavailable: (\Add-VMGpuPartitionAdapterFiles.psm1:String) [Import-Module], FileNotFoundException
  6. + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
  7.  
  8. get-content : Cannot find path 'C:\autounattend.xml' because it does not exist.
  9. At line:4246 char:17
  10. + [xml]$xml = get-content -path $UnattendPath
  11. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. + CategoryInfo : ObjectNotFound: (C:\autounattend.xml:String) [Get-Content], ItemNotFoundException
  13. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
  14.  
  15. The property 'value' cannot be found on this object. Verify that the property exists and can be set.
  16. At line:4247 char:5
  17. + ($xml.unattend.settings.component | where-object {$_.autologon}). ...
  18. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  20. + FullyQualifiedErrorId : PropertyNotFound
  21.  
  22. The property 'username' cannot be found on this object. Verify that the property exists and can be set.
  23. At line:4248 char:5
  24. + ($xml.unattend.settings.component | where-object {$_.autologon}). ...
  25. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  26. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  27. + FullyQualifiedErrorId : PropertyNotFound
  28.  
  29. The property 'enabled' cannot be found on this object. Verify that the property exists and can be set.
  30. At line:4249 char:5
  31. + ($xml.unattend.settings.component | where-object {$_.autologon}). ...
  32. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  34. + FullyQualifiedErrorId : PropertyNotFound
  35.  
  36. The property 'Group' cannot be found on this object. Verify that the property exists and can be set.
  37. At line:4250 char:5
  38. + ($xml.unattend.settings.component | where-object {$_.UserAccounts ...
  39. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  41. + FullyQualifiedErrorId : PropertyNotFound
  42.  
  43. The property 'Name' cannot be found on this object. Verify that the property exists and can be set.
  44. At line:4251 char:5
  45. + ($xml.unattend.settings.component | where-object {$_.UserAccounts ...
  46. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  48. + FullyQualifiedErrorId : PropertyNotFound
  49.  
  50. The property 'DisplayName' cannot be found on this object. Verify that the property exists and can be set.
  51. At line:4252 char:5
  52. + ($xml.unattend.settings.component | where-object {$_.UserAccounts ...
  53. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  55. + FullyQualifiedErrorId : PropertyNotFound
  56.  
  57. The property 'Value' cannot be found on this object. Verify that the property exists and can be set.
  58. At line:4253 char:5
  59. + ($xml.unattend.settings.component | where-object {$_.UserAccounts ...
  60. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  62. + FullyQualifiedErrorId : PropertyNotFound
  63.  
  64. The property 'Computername' cannot be found on this object. Verify that the property exists and can be set.
  65. At line:4254 char:5
  66. + ($xml.unattend.settings.component | where-object {$_.Computername ...
  67. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  68. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  69. + FullyQualifiedErrorId : PropertyNotFound
  70.  
  71. You cannot call a method on a null-valued expression.
  72. At line:4255 char:5
  73. + $xml.Save("$UnattendPath")
  74. + ~~~~~~~~~~~~~~~~~~~~~~~~~~
  75. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  76. + FullyQualifiedErrorId : InvokeMethodOnNull
  77.  
  78. Convert-WindowsImage : Cannot validate argument on parameter 'UnattendPath'. Cannot bind argument to parameter 'Path' because it is null.
  79. At line:4315 char:146
  80. + ... $VhdPath -DiskLayout $DiskLayout -UnattendPath $UnattendPath -GPUNam ...
  81. + ~~~~~~~~~~~~~
  82. + CategoryInfo : InvalidData: (:) [Convert-WindowsImage], ParameterBindingValidationException
  83. + FullyQualifiedErrorId : ParameterArgumentValidationError,Convert-WindowsImage
  84.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement