Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Help Simplifying Code

$
0
0

I removed lines within the New-Object PsObject -Property @{ ….. the culprit was the loginName line.
I have another .ps1 that references it's own $loginName variable. Could that have been gumming up the works?
When I close and reopen the ISE. It works.


Viewing all articles
Browse latest Browse all 13067

Trending Articles