Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

powershell output array as table

$table = @( @{ColumnA="Able";    ColumnB=1},
            @{ColumnA="Baker";   ColumnB=2},
            @{ColumnA="Charlie"; ColumnB=3} )

$table | ForEach {[PSCustomObject]$_} | Format-Table -AutoSize


ColumnA ColumnB
------- -------
Able          1
Baker         2
Charlie       3
Comment

PREVIOUS NEXT
Code Example
Shell :: pyenv install latest version 
Shell :: npm vs yarn command 
Shell :: powershell copy-item specify credentials 
Shell :: checking git settings 
Shell :: install docke machine 
Shell :: how to install cuda on ubuntu 20.04 
Shell :: github cli 
Shell :: bash file comment 
Shell :: linux unpack zip 
Shell :: powershell string with quotes 
Shell :: aws cli on heroku 
Shell :: error: required key missing from keyring 
Shell :: powershell import module 
Shell :: * daemon not running; starting now at tcp:5037 
Shell :: Git - delete specific branch 
Shell :: git delete stash 
Shell :: a new powershell stable release is available 
Shell :: git force add 
Shell :: git add 
Shell :: replace tab sed 
Shell :: npm install quiet 
Shell :: git squash commits 
Shell :: how to create a sh file to run terminal commands 
Shell :: get ip address linux 
Shell :: scp from local to remote 
Shell :: github refs/remotes/origin/master do not point to a valid object 
Shell :: kill app processes on port 3306 
Shell :: pacman purge 
Shell :: open /var/lib/docker/tmp/buildkit-mount140273675/Dockerfile.base: no such file or directory 
Shell :: git push empty directories 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =