View powershell history and invoke
Hi All!
When you do administration activities, you may need to work around with multiple commands in powershell. It is bit difficul to remember all the commands we tried because some of them may be fetched from internet.
Consider you tried more than 100 commands in current powershell session and may require to try the same large command. One of the way is you can press up arrow many times to see the previously tried command.
we have another easy way is to see the history and invoke it by using its order number instead of whole command typing.
Please look into the below example
Comments
Post a Comment