I am using the following command, which is working great, but it is only good. per machine.
invoke-command -computer 4w68cm2 -filepath "\\server\files\temp\ToastNotificationWin10.ps1"
Is there a way to do the same command, but instead of specifying a single machine, it would "somehow" specify an entire IP block.
For example, the command is ran against machines in the 10.10.2.x network.