Formatting Output in PowerShell

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024

Комментарии • 3

  • @jhar3169
    @jhar3169 4 года назад

    Well done !

  • @amoltofi1
    @amoltofi1 5 лет назад

    I have one question for you, I need to fetch perticulor value from website and make report on excel based by powershell please suggest me.
    Requirements: daily login 50 printers website and take tonner status and put in excel and share with manager.

  • @bimithmaramveettill
    @bimithmaramveettill 3 года назад

    I have question Get columns header in Powershell from proc if returns 0 result
    i have collected some of code in internet the thing is am sharing this comment below
    if (-not $DataSet.Tables[0].Rows[0]) {
    ($DataSet.Tables[0].Columns | Select-Object * -ExpandProperty Audit_ID,Audit_Name,Audit_Status,Access_SourceIP,Access_SourceHost,Audit_Country,Audit_LoginTimeStamp) -join ',' |
    Set-Content -Path "D:\dba_TEMP\Proc_Report_Genarate\OMNETR_Audit_"+$starttime1+".csv"
    }
    am not getting what is $dataset.tables[0].Row[0]. we need to assign something or it will take by automatically
    please guide me