Hi All
On unix/linux you can read json from stdin
echo ‘{“attr”:“value”}’ | chef-client -j /dev/stdin
Does anyone know of a way to achieve the same in Powershell?
Thanks
Mark
Hi All
On unix/linux you can read json from stdin
echo ‘{“attr”:“value”}’ | chef-client -j /dev/stdin
Does anyone know of a way to achieve the same in Powershell?
Thanks
Mark
The relationship between streams and files is fundamentally diferent between linux and windows so there is not an equivilent “trick” in powershell.