Entrada do usuário do shell slow
#!/bin/bash
read -p "Enter Your Name: " username
echo "Welcome $username!"
Blue Boar
#!/bin/bash
read -p "Enter Your Name: " username
echo "Welcome $username!"
param (
[string]$filename = $(User-Name)
)
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize > $filename"_InstalledSoftware.txt"
echo "Task Completed."
cmd /c 'pause'