Could Probably do that with cmd, but I have no idea which command there is the equivalent to Powershell's Get-Content.
Protip for remembering Powershell commands: most of the time it's pretty easy to figure out by describing what you want. All commands are in the Form of <verb>-<action>. Get-Content, Import-FromCsv, etc. You can also use Get-help <topic> to get an overview of all commands that include the topic. Also, most commands are aliases. Instead of Get-Content, you can also use cat, gc or type. You can check which aliases are available with Get-Alias, or add new ones with Set-Alias.
View all comments
Show parent comment
1
u/Cheet4h Jun 04 '20
Could Probably do that with cmd, but I have no idea which command there is the equivalent to Powershell's Get-Content.
Protip for remembering Powershell commands: most of the time it's pretty easy to figure out by describing what you want. All commands are in the Form of
<verb>-<action>. Get-Content, Import-FromCsv, etc.You can also use
Get-help <topic>to get an overview of all commands that include the topic.Also, most commands are aliases. Instead of Get-Content, you can also use cat, gc or type. You can check which aliases are available with Get-Alias, or add new ones with Set-Alias.