Lateral Movement
Invoke-Command -FilePath C:\my\power\shell\script.ps1 - ComputerName webserver.myhackingblog.local ## This will allow script1 to be executed on the webs erver assuming permissions are present. Can be used to spray a ps script but be cauutios of doing that as it may impact many production servers.
Last updated