Group-Object is showing a hashtable when using calculated properties
Background From list of predefined servernames, I'm searching in config files and trying to group for each server all the files where it's found. A filename can be mapped to an application. Problem The grouping part is giving me problems. It keeps returning a hashlist where I just want the filename returned. SSCCE note: grouping is on filename in the sscce but the gist of the problem is the same This example is showing the entire line where the match is found instead of just the match @("A test", "Another test") | sls -pattern "\btest\b" | group filename | select name, group Trying to adjust f
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.