Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:UsersDocuments> New-PsSession -Credential $mycreds -Computername x.x.x.x
- Id Name ComputerName State ConfigurationName Availability
- -- ---- ------------ ----- ----------------- ------------
- 228 Session228 x.x.x.x Opened Microsoft.PowerShell Available
- PS C:UsersDocuments> Get-PSSession | Remove-PSSession
- PS C:UsersDocuments> $session = New-PsSession -Credential $mycreds -Computername x.x.x.x
- PS C:UsersDocuments> enter-pssession $session
- enter-pssession : The method or operation is not implemented.
- At line:1 char:1
- + enter-pssession $session
- + ~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotImplemented: (:) [Enter-PSSession], PSNotImplementedException
- + FullyQualifiedErrorId : NotImplemented,Microsoft.PowerShell.Commands.EnterPSSessionCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement