I have a problem with an IP list for the MSG
command in PowerShell.
I have something like this:
msg (Get-Content -Path C:\Users\user\Desktop\ip_list.txt) (Get-Content -Path C:\Users\user\Desktop\text4.txt)
In ip_list.txt
there is /server:10.0.1.119
, but it doesnt seem to work, even if I put * /server:10.0.1.119
in it. The following does work, though:
msg * /server:10.0.1.119 (Get-Content -Path C:\Users\user\Desktop\text3.txt)
Any tips?
PS: AllowRemoteRPC is turned on.