Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagevb
If bStatus Then bStatus = CMS_RemoveHardwareInventory("BIOS Information", "Socket type")
If bStatus Then bStatus = CMS_RemoveHardwareInventory("Sound Adapter", "SoundBlaster compatiple")
(blue star) PowerShell
Code Block
languagepowershell
CMS_RemoveHardwareInventory 'BIOS Information' 'Socket type'

CMS_RemoveHardwareInventory -category 'Sound Adapter' -entry 'SoundBlaster compatiple'

if (CMS_RemoveHardwareInventory( 'Sound Adapter' 'SoundBlaster compatiple') {
  $cs.Job_WriteLog("Removed", "SoundBlaster flag removed from Hardware inventory")
}

...