New to PS and looking to understand what to put in my If statement to get started. Any help would be greatly appreciated.
Here’s what I got…
#My results (it reads the value correctly)#
PS U:> Get-ItemPropertyValue “HKLM:\SOFTWARE\WOW6432Node\Kofax\Condor\1.0*” -Name ‘Default Source’
Fujitsu fi-7160 with SVRS with AIPE
What I’m trying to do now is identify “Fujitsu fi-7160*” or “Fujitsu fi-7260*” in an IF statement, based on the “Get-ItemPropertyValue” result.
Can someone show me, or point me in the right direction of starting this IF statement?
The IF statement will likely be IF/ELSEIF because I’ll be copying and replacing profile files based on what it detects.
Huge thanks for your help.