Skip to main content
6 events
when toggle format what by license comment
yesterday comment added mklement0 While seductively convenient, the use of script blocks ({ ... }) as -Filter arguments is conceptually problematic and can lead to misconceptions. See the linked duplicates for details.
yesterday history duplicates list edited mklement0 duplicates list edited from Replacing a string with a variable in Get-ADGroup, Powershell-- how to add a variable's value into a filter? to Get-Aduser -Filter will not accept a variable, Replacing a string with a variable in Get-ADGroup, Powershell-- how to add a variable's value into a filter?
yesterday history duplicates list edited Santiago Squarzon duplicates list edited from Powershell-- how to add a variable's value into a filter? to Replacing a string with a variable in Get-ADGroup, Powershell-- how to add a variable's value into a filter?
yesterday history closed Santiago Squarzon powershell Duplicate of Powershell-- how to add a variable's value into a filter?
yesterday comment added Santiago Squarzon -Filter {Name -like "*$substring*"} will fail, you need to use a string.
2 days ago history asked JC Nunez CC BY-SA 4.0