Advertisement
Guest User

Untitled

a guest
May 5th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. PS C:UsersDocuments> New-PsSession -Credential $mycreds -Computername x.x.x.x
  2.  
  3. Id Name ComputerName State ConfigurationName Availability
  4. -- ---- ------------ ----- ----------------- ------------
  5. 228 Session228 x.x.x.x Opened Microsoft.PowerShell Available
  6.  
  7.  
  8. PS C:UsersDocuments> Get-PSSession | Remove-PSSession
  9. PS C:UsersDocuments> $session = New-PsSession -Credential $mycreds -Computername x.x.x.x
  10.  
  11. PS C:UsersDocuments> enter-pssession $session
  12. enter-pssession : The method or operation is not implemented.
  13. At line:1 char:1
  14. + enter-pssession $session
  15. + ~~~~~~~~~~~~~~~~~~~~~~~~
  16. + CategoryInfo : NotImplemented: (:) [Enter-PSSession], PSNotImplementedException
  17. + FullyQualifiedErrorId : NotImplemented,Microsoft.PowerShell.Commands.EnterPSSessionCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement