Deleted computer object from SCCM console, so why is it still appearing in SSRS reports?

We recently divested about 400 computers from our network. I got a list of these computers and deleted them from both Active Directory and in the SCCM Console. I know the deletes were successful because when I search via device name in the SCCM console
they no longer show up. Yet when I run one of our inventory reports in SSRS I still see several of the devices that I deleted listed there. I thought SSRS represented a" live view" of the SCCM database. If that's true then how can a computer object
that I deleted in the console still be present in the database? Is there something I'm missing? 

Okay you are saying to select from v_R_System_Valid instead of v_R_System in my query and that will automatically filter out items I removed in the console? Okay that sounds like what I want, the only problem is my query is selecting form v_GS_COMPUTER_SYSTEM.
Can I just add "_Valid" to the end of that and achieve the same result?
Update - Yeah no I tried that and it did not work. Clearly I have a very limited understanding of the SQL views. Interestingly enough Torsten I see you posted a linbk on your blog to a new Microsoft article that documents the SQL views in SCCM 2012. Looking
at it now...

Similar Messages

  • With my iPhone 5, when I delete a contact from my phone book, why can I still see it when I type in a name to select to text message?

    If I delete a contact from my phone book, the number is still there when I go to type in a name to send a text message to, and is listed as 'other number'.
    Can anyone please tell my why this is and how I can delete a number completely?
    Thanks.

    Th einformation is stored in cache memory on the phone.  The only way to get rid of it is to restore the phone as new and you will lose data and settings.  Eventually the cache will be overwritten so just ignore it

  • HT1692 When I delete a contact from my address book, why does their name appear when I'm scrolling through names to text?

    I have deleted several contacts from my address book. However, when I type "d" for example to select a contact for text messaging, the deleted contacts still appear in the list! How can I solve this?

    This has to do with this information being held in a separate cache in the phone. There are two choices here. You can restore the phone as a new device, which is the only true way to remove this cache; or you can wait until the information is overwritten in the cache, and no one has been able to describe how long that takes, so I would say the only way to really do it is the restore as new, and not from a backup. This will delete all of your data and you will need to sync data back individually.

  • Why I can't delete an object from Integration Directory?

    Hi!
    I want to delete one object from ID(Integration Directory) or IR
    (Integration Repository). But the delete button (either the trash can
    or the "delete" menu item) is disabled.
    I get sap_all and all wanted roles. But I still have this issue.
    Please help. Points will be given.

    Lee,
    If you want to delete a namespace you cannot delete until unless all the objects inside the namespace are deleted. If you want to delete any object in ID then right click on it and press Delete.
    Go through this weblog where it shows how to delete namespace:
    /people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
    ---Satish

  • Powser Shell Script to Purge Computer Records from SCCM

    Hello!
    I have built a collection in Configuration Manager to bring in a list of computers that have duplicate names. Here is the query that I am using.
    select R.ResourceID,R.ResourceType,R.Name,R.SMSUniqueIdentifier,R.ResourceDomainORWorkgroup,R.Client from SMS_R_System as r   full join
    SMS_R_System as s1 on s1.ResourceId = r.ResourceId   full join SMS_R_System as s2 on s2.Name = s1.Name   where s1.Name = s2.Name and s1.ResourceId != s2.ResourceId
    I am building a PowerShell Script to obtain the names of the computer resources stored in the above SCCM 2012 collection and place them in a variable. Next,
    I want to obtain the computer resources (e.g., ddr records) and store them in a 2ed variable using the first variable to pipe in the data. I am using a “ForEach” looping construct to accomplish this. Lastly, I want to purge the computers records from the Configuration
    Manager database that are stored in the second variable which came from the computers names of the specified SCCM collection. I am attempting to use this line of code within my loop to purge the computer records from SCCM:
    $compObject.psbase.syncroot | % { $_.psbase.delete()
    Here is a
    blog I found suggesting this line of code.
    What I have discovered is rather interesting. My script works as intended, but even though the correct records  ARE
    being purged. The above line of code is returning an error.
    You cannot call a method on a null-valued expression.
    At line:18 char:35 + $compObject.psbase.syncroot | % { $_.psbase.delete() }
    +                                   ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull
    I have a few questions:
    Does anyone know why this is occurring?
    Is there a different approach or code I should be using instead to purge the collected data?
    Here is my full script:
    #// required parameters
    $SCCMServer
    = "MySiteServer"
    $sitename
    = "PS1"
    $collectionID
    = "PS1009c8"
    #// Obtain collection members from $collectionID
    $SMSClients
    = Get-WmiObject
    -Query "SELECT * FROM SMS_FullCollectionMembership WHERE CollectionID='$collectionID' order by name" 
    -ComputerName $SCCMServer
    -Namespace  "ROOT\SMS\site_$sitename"
    #//looping construct to loop through all the colection members
    ForEach ($SMSclient
    in $SMSclients) {
    #// Loads computer records one at a time into $compobject variable using a ForEachloop to be deleted
    $compObject
    = get-wmiobject
    -query "select * from SMS_R_SYSTEM WHERE Name='$($smsclient.name)'"
    -computername $SCCMServer
    -namespace "ROOT\SMS\site_$sitename"
    #// Delete’s computer objects one at a time in $compObject variable from CM12 database
    $compObject.psbase.syncroot
    | % {
    $_.psbase.delete() }
    --Tony

    Daniel
    Have you ever used Orchestrator to kick off your Powershell scripts? I am using System Center 2012 R2 Orchestrator, and trying to use the "Run .Net Script" action to launch my Powershell code, but the process is failing.  When I run the code
    from within PowerShell and RunBook Tester the code executes as it should. When I run it from the RunBook I receive this error:
    Exception calling "Delete" with "0" argument(s): "Generic failure "
    Just curious if you had any thoughts why my code was blowing up in an Orchestrator RunBook when it works fine within PowerShell? My full code is below.
    #// required parameters
    $SCCMServer = "MySiteServer"
    $sitename = "PS1"
    $collectionID = "PS1009c8"
    #// Obtain collection members from $collectionID
    $SMSClients = Get-WmiObject -Query "SELECT * FROM SMS_FullCollectionMembership WHERE CollectionID='$collectionID' order by name" -ComputerName $SCCMServer -Namespace "ROOT\SMS\site_$sitename"
    #//looping construct to loop through all the colection members
    ForEach ($SMSclient in $SMSclients) {
    #// Obtains and deletes the SCCM computer records one at a time using a ForEachloop
    Get-WmiObject -query "select * from SMS_R_SYSTEM WHERE Name='$($smsclient.name)'" -computername $SCCMServer -namespace "ROOT\SMS\site_$sitename" |
    ForEach-Object { $_.Delete() }

  • Bitlocker to Go and deleted computer object

    When encrypting a USB drive using Bitlocker to Go and storing the recovery information in AD, where does it get stored?  Is it in the computer object like regular Bitlocker?  If so, if the computer is retired or the AD computer account is deleted,
    do you lose the recovery information for that drive?

    Hi,
    Backed up BitLocker recovery information is stored in a child object of the computer object. That is, the computer object is the container for a BitLocker recovery object. If you delete a computer object from AD, you will also delete the BitLocker recovery
    information, which is a child object.
    But you can use AD restore mode to retrieve the deleted object.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • Delete Computer object VS Disjoin

    Quick question on AD administration to help resolve an internal debate:
    We're running AD on Windows Server 2008 R2.  One admin states that "deleting doesn't remove all AD objects", and that you need to run a disjoin on the machine first to properly remove the Computer Object.  Can anyone confirm this? 
    Which is the correct way to remove objects in AD?
    It's my understanding that no matter what, you'll end up running a delete command, which marks the object as deleted; this gets replicated to all other DC's, and whenever the tombstone lifetime expires, then a cleanup process will finally and forever remove
    the tombstone objects.  If you don't run a "disjoin" command first, will there be any other lingering objects that need special care and consideration??
    Any info is appreciated.  Thanks much.

    Hi - This is _how_ it works:
    A domain unjoin comes down to the NetUnJoinDomain() API call documented at:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa370644(v=vs.85).aspx
    There is two scenarios that can happen, either the account get's disabled (by default) if you unjoin using the UI, or it's not disabled leaving out the misnamed flag 'NETSETUP_ACCT_DELETE' that actually means disable and not delete.
    The computer account is only disabled regardless of the flag if the user that performs the unjoin has the rights to disable the computer account in AD, e.g write to the userAccountControl attribute.
    The computer account (object) in AD is never deleted from AD during a unjoin.
    How ever the importance of clean up here is that the computer accounts password is cleared from the LSA during a unjoin, so it can't be used to authenticate against AD in case that the computer account is NOT being disabled for one of the reasons mentioned
    above.
    Deleting the computer object from AD is like deleting any other object in AD, it stays for the TSL until it's ultimately removed from the database.
    Enfo Zipper
    Christoffer Andersson – Principal Advisor
    http://blogs.chrisse.se - Directory Services Blog

  • Unable to install sccm client from SCCM console install client option

    Hi
    Unable to install client on windows 7 64 bit enterprise from sccm console. The client is discovered in sccm console with status client = NO, so we want to install sccm client from console remotely.
    We cannot enable push install. my id has full access on SCCM site server SCCM product also admin rights on workstations. I am able to access net bios path SMS_<site code> of site server then client path from client machine. machine is in domain and
    is boundry of sccm .
    Client push install in console is diabled
    Regards Sushain KApoor

    Hi!
    Examine the ccm.log located in <SCCM 2007 InstallationPath>\LOGS on the site server.
    Best regards
    Henrik

  • BDC to PFCG (Delete Authority Objects from Roles.)

    When we try to change an authority object it gives an error message saying that 'This authority object is used in roles XXX'.
    To remove Authority Ojects from roles, transaction PFCG is used. But the problem is that BDC is almost impossible to PFCG.
    Is there any way you can suggest us to change an authority object when it is assigned to a role or how we can BDC delete authority object from a role or a function/badi we can call to achieve this.
    This is a very high level question.

    Hi
    U should consider PFCG trx is enjoy trx so it's not suitable for BDC, what doesn't mean you can't do a BDC program for that trx but it won't be easy.
    Anyway you can know the users assigned to certain profile reading table AGR_USERS. I believe PFCG shows them sorted alphabetical, so you can know the position where an user should be, after u should use PAGE UP and PAGE DOWN command to scroll the table control.
    Max

  • Duplicate Computer objects in SCCM

    Hi,
    I am noticing that now and then I am seeing duplicate computer objects in SCCM 2012. We are using AD discovery and in AD there arent duplicates. Do you know what the cause of having duplicate computers in SCCM is and how to resolve this issue?
    Thank you.

    Hi,
    Please refer to the link below:
    ConfigMgr SCCM How to Resolve Duplicate or Conflict Record Issue
    http://anoopcnair.com/2011/04/08/configmgr-sccm-duplicate-record-issue/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Delete last char from a console window.

    Hey all, could be a silly question.......
    Is it possible to delete a char from a console window?
    e.g.
                     System.out.print("-");
                   System.out.print("|");
                   System.out.print("/");
                   System.out.print("\\");I'm trying to give the illusion of the line spinning, but cant delete the last printed character. I've tried adding "\b" but with no joy.
    And help would be nice, as it's the little things that always take the longest!
    T.

    @Op. You can use JCurses if you accept that your code might not execute on all platforms.
    http://sourceforge.net/projects/javacurses/

  • I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them sav

    I was organizing my photos into albums. then deleting them from my Camera roll. Then I went into MY Photo Stream and started deleting the pics I had moved to albums;Come to find out I deleted all pic from everywhere!!  Would the iCloud still have them saved

    First of all, you should always save you photos on computer like any other digital camera.
    Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
    Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
    What computer do you have?

  • TS4026 Sometimes after I have deleted received messages from my iPad they are resend so they appear again in my inbox.  Can this be prevented?

    Sometimes after I have deleted received messages from my iPad they are resend so they appear again in my inbox.  Can this be prevented?

    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not all media formats are available in all countries (see: iTunes in the Cloud and iTunes Match Availability by Country - http://support.apple.com/kb/HT5085); apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this).  Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones, audiobooks), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the iTunes Store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.
    Reading the limitations mentioned in the first paragraph I would never trust Apple to permanently keep a copy of your purchases.  Once you get them on your iPad immediately download them to your computer and then also to your backup drive.

  • I have deleted all photos from my iphone and the usage is still showing 6.6GB used. How do I fix this?

    I have deleted all photos from my iphone and the usage is still showing 6.6GB used. I have connected via my computer and no pictures are shown. I have also gone into all my photo apps and no photos are saved. How do I resolved this?

    If you deleted photos from the Camra Roll of the photos app they are not deleted immediately. Instead they are moved to the Recently Deleted album where they will remain for 30 days. This feature was added because so many people deleted photos then wanted then back.
    To completely delete those photos quickly go to the Recently Deleted album and delete them from there.

  • I'm having 10.8.3 and today 17-Apr I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same proble

    I'm having 10.8.3 and today 18-Apr Thursday I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same prob.

    Make sure that the plugin is not automatically disabled in Firefox:
    Clinton

Maybe you are looking for