˜
˜”*°• Dream Hack •°*”˜
Guest
Unregistered / Unconfirmed
minute:
Begin Rest 60; Restart-PC - Power - ComputerName TARGETMACHINE
22. Add a printer:
(New-Article - ComObject WScript.Network).AddWindowsPrinterConnection("\\printerserver\hplaser3")
23. Eliminate a printer:
(New-Article - ComObject WScript.Network).RemovePrinterConnection("\\printerserver\hplaser3 ")
24. Go into a far off PowerShell meeting - - you should have distant administration empowered:
enter-pssession TARGETMACHINE
25. Utilize the PowerShell summon order to run a content on a distant servers:
summon order - computername machine1, machine2 - filepath c:\Script\script.ps1
Reward order
To excuse an interaction you can utilize the cycle ID or the cycle name. The - processnameswitch permits the utilization of special cases. This is the way to stop the number cruncher:
Stop-Cycle - processname calc*
Begin Rest 60; Restart-PC - Power - ComputerName TARGETMACHINE
22. Add a printer:
(New-Article - ComObject WScript.Network).AddWindowsPrinterConnection("\\printerserver\hplaser3")
23. Eliminate a printer:
(New-Article - ComObject WScript.Network).RemovePrinterConnection("\\printerserver\hplaser3 ")
24. Go into a far off PowerShell meeting - - you should have distant administration empowered:
enter-pssession TARGETMACHINE
25. Utilize the PowerShell summon order to run a content on a distant servers:
summon order - computername machine1, machine2 - filepath c:\Script\script.ps1
Reward order
To excuse an interaction you can utilize the cycle ID or the cycle name. The - processnameswitch permits the utilization of special cases. This is the way to stop the number cruncher:
Stop-Cycle - processname calc*