Hello,
I’m new in powershell but i do a script that install my software to this point everything is okay, but after the install is the same script in try to get de file version i get the old version, but if i rerun my script information are update.
How can I fix this
exemple :
when i run this command i get the Bluetooth driver version installed :
gwmi win32_PnpSignedDriver | where{$_.Description -like “Wireless Bluetooth”}| Select Description
I install the lastest version
Start-Process -FilePath ".\Intel_BT_22_90.exe" -ArgumentList $Arguments -Wait -WindowStyle Hidden
when i run this command after the install get the same Bluetooth driver befor install, I open another consol and do the same command information are update :
gwmi win32_PnpSignedDriver | where{$_.Description -like “Wireless Bluetooth”}| Select Description
Can anyone help i m stuck, i don’ know what looking
I search for profile reset, relunch powershell console inside the script but i stuck
Thanks for you help