public static void ModifyInstanceSync(CimSession cimSession, string cimNamespace, string cimClassName)
        {
            try
            {
                CimInstance modifiedInstance = ModifyInstanceCore(cimSession, cimNamespace, cimClassName);
                if (modifiedInstance == null)
                {
                    Console.WriteLine("ModifyInstance operation not performed");
                    return;
                }

                CimInstance cimInstance = cimSession.ModifyInstance(cimNamespace, modifiedInstance);
                Console.WriteLine("Instance Modified Successfully");
                PrintCimInstance(cimInstance);
            }
            catch (CimException ex)
            {
                PrintCimException(ex);
            }
            catch( Exception ex)
            {
                Console.WriteLine(ex.Message);
            }            
        }