Suppress all output to console
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Is your feature request related to a problem? Please describe.**
I'm always frustrated when I do "az --version | Out-Null" or any version of this syntax where I'm trying to put the version information into a variable. I always get
```
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
```
**Describe the solution you'd like**
If I pipe to Out-Null there is no console output.
My goal is control if and when I need to upgrade. if something is out of date I ask the user if they want to upgrade.
My profile script checks the version information of many modules including az cli.
when I do
$v = az --version | Out-Null, most of it works but I still get that header on the console.
**Describe alternatives you've considered**
$v = az --version --output none, Gives me the same header
Even tried
$v = az --version --output none | Out-Null, Gets the same header
**Additional context**
I'd like to see the ability to check individual version numbers of modules & main az version # only
or something that just answers the question of needing an upgrade
az --needupgrade
OR
az --version --name azure-cli
PS> 2.20.0
az --version --name azure-devops
PS> 0.18.0
Contributor guide
Assessment
This issue has not been assessed yet.