The call operator is used to execute a string or script block. For example, the call operator may be used to execute the ipconfig command using a variable:
$command = 'ipconfig' & $command
Or, it may be used to execute a scriptBlock:
$scriptBlock = { Write-Host 'Hello world' } & $scriptBlock
The call operator accepts a list of arguments that can be passed to the command. For example, the displaydns parameter can be passed into the ipconfig command:
& 'ipconfig' '/displaydns'
The call operator is also used when calling a script or a command with a space in the path. The list of arguments can be placed in an array.