I am using a module to query a backup product and need (what I thought would be simple) the output of the commands to create the output side by side.
ie.
Node Serial
node1 12345
node2 56789
node3 10112
etc
I query the data I need using
$backupnode = GetBackupNode
$backupnode = Get-BackupNode.hostname
$backupserial = Get=BackupSerial.id
I've then outputted that with write-output and I get the nodes and serials on top of one another.
Is this a simple thing to do as I have tried foreach and while statements that have failed to provide the output.
Apologies if this is something simple.
ie.
Node Serial
node1 12345
node2 56789
node3 10112
etc
I query the data I need using
$backupnode = GetBackupNode
$backupnode = Get-BackupNode.hostname
$backupserial = Get=BackupSerial.id
I've then outputted that with write-output and I get the nodes and serials on top of one another.
Is this a simple thing to do as I have tried foreach and while statements that have failed to provide the output.
Apologies if this is something simple.