Categories:
Administration (10)
Adware Spyware (7)
Apache (10)
Bluetooth (125)
DOS Commands (1)
Edge (28)
General (2)
Internet Explorer (217)
Media Center (12)
Media Player (11)
Mozilla Firefox (18)
PHP (15)
Programming (8)
Security (4)
Silverlight (15)
Tips (17)
Tools (218)
Tutorials (5)
Windows 10 (166)
Windows 7 (636)
Windows 8 (1091)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (52)
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
⇑ Managing Remote Computer with Windows PowerShell
⇑⇑ Windows PowerShell Tutorials
2016-10-17, 4263👍, 0💬
Popular Posts:
How to start sc.exe command to create, delete and manage Windows services? sc.exe is a command line ...
Where to find tutorials on managing Windows 7 scheduled tasks? Here is a collection of tutorials on ...
Can I remove startup application "DLG.exe - Modem Digital Line Detection" to speedup my computer and...
This is what I do Charms bar >Settings> Change my PC settings > User > "Trust this PC" When I get my...
What is AccelerometerSt.exe process - Hp Accelerometer System Tray? Process AccelerometerSt.exe is t...