I have a powershell script that talks to SAM at the backend, which then talks to CMDB. PS calls SAM.exe then "Unmanage" a CI from CMDB.
# Unamanage CI in CMDB
c:\SAM\SAM.exe /BATCH /h $PCName /f UNMANAGE /c $ChangeNumber
# Remanages CI in CMDB
c:\SAM\SAM.exe /BATCH /h $PCName /f MANAGE
Is there a way that I can also update a field called "Memory" to "16GB" after it has unmanaged the PCName.
Any help would be grateful.