> For the complete documentation index, see [llms.txt](https://devops-collective-inc.gitbook.io/a-unix-person-s-guide-to-powershell/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops-collective-inc.gitbook.io/a-unix-person-s-guide-to-powershell/commands-detail-r.md).

# Command Detail - R

## read -p

In \*nix:

```
read -p "Which is the only London club to win the Champions League? " team
echo $team
```

In Powershell:

```
$team = read-host "Which is the only London club to win the Champions League?"
Which is the only London club to win the Champions League? : Chelsea

$team
Chelsea
```

To *not* echo the input to screen, you would do

```
$SecretString = read-host "Whats your secret? "-assecurestring
```

This echoes out an asterisk for each character input

## rm

```
Remove-Item
```
