You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also have the same issue, I am using this module to create a list of all currently logged on users for our servers.
Noticed that i got some errors on some servers but i would like to include the error in the output but it seems the message that is sent to the console is neither registered in the error stream nor the warning stream
The result of the script is exported to an excel list so i would like to include any errors in the list
When attempting to use the Get-LoggedOnUsers, I tried to use the -WarningVariable parameter to capture all servers that had WMI and RPC warnings.
When accessing the Warning Variable, the output is empty.
Example:
The text was updated successfully, but these errors were encountered: