Running nomad agent on windows gives an error

Running this command with Windows 11 cmd, gives an error. How should I correctly define the network-interface parameter ?

nomad agent -dev -bind 0.0.0.0 -network-interface='{{ GetDefaultInterfaces | attr "name" }}'
'attr' is not recognized as an internal or external command, operable program or batch file.