Collections:
Other Resources:
"New-PSSession" Cmdlet in Windows PowerShell
How to use "New-PSSession" cmdlet in Windows PowerShell?
✍: FYIcenter.com
You can use the "New-PSSession" cmdlet to create a PSSession on a remote computer.
The New-PSSession cmdlet creates a Windows PowerShell session (PSSession) on one or more remote computers.
Once a PSSession is created on a remote computer, it will live on the remote computer independently from your local computer. And you are allowed to do the following:
Here are example commands to create PSSessions on remote computers:
PS C:\fyicenter> # Create a PSSession on "office-server" computer PS C:\fyicenter> new-pssession office-server PS C:\fyicenter> # Create an another PSSession on "office-server" computer PS C:\fyicenter> # And save the PSSession object in variable $s PS C:\fyicenter> $s = new-pssession office-server PS C:\fyicenter> # Create multiple PSSessions on multiple computers PS C:\fyicenter> new-pssession office-server,hr-server,it-server
⇒ "New-PSSession" Cmdlet Error in Windows PowerShell
⇐ Windows PowerShell Session with Remote Computers
2016-10-17, 5052🔥, 0💬
Popular Posts:
How do I know which version of Internet Explorer (IE) is on my computer? If you want to know which v...
What is service "AEADIFilters" and program "AEADISRV.EXE" on Windows Vista? "AEADIFilters" is a syst...
What happens if you entered the wrong Passkey on your cell phone? If the Passkey you entered on your...
What is smss.exe process - Windows NT Session Manager? Process smss.exe is part of Windows system. I...
What is msntb.dll - DLL file - Windows Live Toolbar for Internet Explorer? DLL msntb.dll is installe...