gangstanthony

PoshRSJob error

Apr 19th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2016/04/19 16:50:25 | C:\
  2. # ADMIN # PS> 1..5 | Start-RSJob {$_}
  3. New-Object : Cannot find type [PoshRS.PowerShell.RSRunspacePool]: verify that the assembly containing this type is
  4. loaded.
  5. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:249 char:22
  6. + ... $RSPObject = New-Object PoshRS.PowerShell.RSRunspacePool -Property @{
  7. +                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  9.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  10.  
  11. New-Object : Cannot find type [PoshRS.PowerShell.RSJob]: verify that the assembly containing this type is loaded.
  12. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:415 char:27
  13. + ...             $Object = New-Object PoshRS.PowerShell.RSJob -Property @{
  14. +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  16.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  17.  
  18. The property 'LastActivity' cannot be found on this object. Verify that the property exists and can be set.
  19. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:429 char:17
  20. +                 $RSPObject.LastActivity = Get-Date
  21. +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22.     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  23.     + FullyQualifiedErrorId : PropertyNotFound
  24.  
  25. New-Object : Cannot find type [PoshRS.PowerShell.RSJob]: verify that the assembly containing this type is loaded.
  26. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:415 char:27
  27. + ...             $Object = New-Object PoshRS.PowerShell.RSJob -Property @{
  28. +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  30.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  31.  
  32. The property 'LastActivity' cannot be found on this object. Verify that the property exists and can be set.
  33. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:429 char:17
  34. +                 $RSPObject.LastActivity = Get-Date
  35. +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36.     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  37.     + FullyQualifiedErrorId : PropertyNotFound
  38.  
  39. New-Object : Cannot find type [PoshRS.PowerShell.RSJob]: verify that the assembly containing this type is loaded.
  40. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:415 char:27
  41. + ...             $Object = New-Object PoshRS.PowerShell.RSJob -Property @{
  42. +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  44.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  45.  
  46. The property 'LastActivity' cannot be found on this object. Verify that the property exists and can be set.
  47. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:429 char:17
  48. +                 $RSPObject.LastActivity = Get-Date
  49. +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50.     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  51.     + FullyQualifiedErrorId : PropertyNotFound
  52.  
  53. New-Object : Cannot find type [PoshRS.PowerShell.RSJob]: verify that the assembly containing this type is loaded.
  54. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:415 char:27
  55. + ...             $Object = New-Object PoshRS.PowerShell.RSJob -Property @{
  56. +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  58.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  59.  
  60. The property 'LastActivity' cannot be found on this object. Verify that the property exists and can be set.
  61. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:429 char:17
  62. +                 $RSPObject.LastActivity = Get-Date
  63. +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  64.     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  65.     + FullyQualifiedErrorId : PropertyNotFound
  66.  
  67. New-Object : Cannot find type [PoshRS.PowerShell.RSJob]: verify that the assembly containing this type is loaded.
  68. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:415 char:27
  69. + ...             $Object = New-Object PoshRS.PowerShell.RSJob -Property @{
  70. +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  71.     + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
  72.     + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  73.  
  74. The property 'LastActivity' cannot be found on this object. Verify that the property exists and can be set.
  75. At C:\Users\anthony.stringer\Dropbox\Documents\PSScripts\Modules\PoshRSJob\Public\Start-RSJob.ps1:429 char:17
  76. +                 $RSPObject.LastActivity = Get-Date
  77. +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  78.     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
  79.     + FullyQualifiedErrorId : PropertyNotFound
  80.  
  81. 2016/04/19 16:50:38 | C:\
  82. # ADMIN # PS>
  83.  
  84. 2016/04/19 16:54:45 | C:\
  85. # User # PS> $PSVersionTable
  86.  
  87. Name                           Value
  88. ----                           -----
  89. PSVersion                      5.0.10586.63
  90. PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
  91. BuildVersion                   10.0.10586.63
  92. CLRVersion                     4.0.30319.42000
  93. WSManStackVersion              3.0
  94. PSRemotingProtocolVersion      2.3
  95. SerializationVersion           1.1.0.1
Advertisement
Add Comment
Please, Sign In to add comment