How to update an already existing Gridview in Powershell instead of showing a new one?
I would like to run a certain scheduled PowerShell script that shows a gridview as a result. Not a problem so far. The problem is, I don't want that every time a new GridView Window to be opened.
Does anyone have an Idea how to update the data in the grid instead of opening a new grid in a new window every time the script runs?
I've requested that this question be deleted for the following reason:
Noone has an answer
Aard Vark
I don't know if this finding out that what you want is not possible constitutes "Noone has an answer". You have an answer and also an alternative. I've presented you with a link to created your own custom out-grid script which will allow you to refresh on an interval or with a refresh button. As it stands, MS have not given the ability with the Out-GridView cmdlet to update data in Out-GridView with dynamic data without running the command again.
Noone has an answer