Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Ciao, sto controllando se Python e' installato nel computer"
- $p = &{python -V} 2>&1
- $version = if($p -is [System.Management.Automation.ErrorRecord]) {
- $p.Exception.Message
- } else {
- $p
- }
- echo $version
- read-host "Premi invio per terminare..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement