is there a way to see powershell commands live ?

Home Forums Scripting PowerShell is there a way to see powershell commands live ?

This topic contains 3 replies, has 3 voices, and was last updated by  oudmaster2 2 weeks, 6 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • oudmaster2
    Participant
    #608897

    Hi,

     

    while I am working on Windows GUI, is there a way to see what PowerShell commands been executed for my GUI activities ?

     

    for example, if I format a disk through GUI, I want to see what PowerShell commands related to this task, like if I have done it through PowerShell.

     

    thanks,


    Ossian
    Moderator
    #608901

    Because not all activities use PowerShell, I don’t think there is a way.   Some PowerShell based tools (the Active Directory Admin Centre, for example) do show you the actual PowerShell they are running


    wullieb1
    Moderator
    #608910

    What Ossian says is exactly true. Not all products use PowerShell to complete tasks however the list is growing.

    In your example you would need to do some investigation work and figure out the correct commands to use in powershell. This is where the extensive help comes in.

    TRIED TO GIVE AN EXAMPLE BUT THE BOARDS DON’T ALLOW IT


    oudmaster2
    Participant
    #608917

    thank you guys for your reply

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.