Command Logging

Welcome Forums General PowerShell Q&A Command Logging

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
1 month ago.

  • Author
    Posts
  • #171922

    Participant
    Topics: 1
    Replies: 0
    Points: -9
    Rank: Member

    Hey,

     

    i'm just starting with PowerShell and i was questioning myself wether it's possible to log the commands run in the background when you're doing stuff in the GUI.

    For example i'm making a new SMB share and i follow the GUI wizard. I know it's all powershell commands beiing run in the background. Is there a way to log or see the commands? i found following article https://blogs.technet.microsoft.com/eopfieldnotes/2015/07/10/learn-exchange-online-powershell-with-command-logging/ that describes what i wan't, it however is only for exchange online... I however would like to do this on a windows server.

     

    Thanx

  • #172018

    Participant
    Topics: 1
    Replies: 1529
    Points: 2,587
    Helping Hand
    Rank: Community Hero

    I know it's all powershell commands beiing run in the background.

    That's only valid for some tools like the Active Directory Administrative Center (ADAC) – not for all tools.

You must be logged in to reply to this topic.