< Back

ConvertFrom-Omnirpt

Sat Jan 18, 2020 8:45 pm

NAME ConvertFrom-Omnirpt



SYNOPSIS

Creates an array out of the omnirpt output





SYNTAX

ConvertFrom-Omnirpt [[-Lines] <String[]>] [<CommonParameters>]





DESCRIPTION

Converts the "omnirpt <...> -tab" output into a native PowerShell array for easy filtering and manipulation.





PARAMETERS

-Lines <String[]>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Object[]





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>omnirpt -report list_sessions -timeframe 24 24 -tab | ConvertFrom-Omnirpt













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>omnirpt -report used_media -timeframe 24 24 -tab | ConvertFrom-Omnirpt | Where-Object {$_.Location -like

"*HP:MSL6480*"}















RELATED LINKS

https://github.com/jorioux/PowerDP





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=ConvertFrom-UnixDate; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

ConvertFrom-UnixDate [[-UnixDate] <Object>]



ModuleName : PowerDP

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : ConvertFrom-UnixDate

Category : Function

Component :

Role :

Functionality :