Jump to content


syparon

Established Members
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by syparon

  1. Hello,

     

    We actually use SCCM 2012 R2 to manage our desktops.

    I noticed that we can do a lot of things with the configurations items and baselines.

    I would like to know if there is a way to export GPOs in order to import them as configuration baselines in SCCM and also if someone is working with configuration baselines instead of GPO.

    In general, is there any added value to use CIs instead of GPO ?

     

    Thanks in advance

  2. Use Maintenance windows to block the deployment of software. Keep in mind that this will NOT stop an administrator from manually installing software.

    Thanks for your answer. could you be more precise ?

    Do you mean that the application will be ready in software center but if an admin click on Install. It will procceed ?

  3. hello,

     

    I tried to deploy softwares on user collections but these software are not visible on software center.
    It is almost like if there was no policies associated to the user ...
    When I try to deploy softwares on device collections it works well.
    I put users in my user collection and deploy a software on it but nothing appear in the software center.
    Could you help me with this ?

     

     

  4. Hi,

    If you have advertised more than one Task Seqeunce to a Collection where the task seqeunces uses different boot images, the client will Always pick up the boot image of the task seqeunce that was advertised last. Could that be the issue you are facing?

     

    Regards,

    Jörgen

    Relevant !!!

  5. Hello gents,

     

    I would like to create a device collection which contain computers which have not been deployed already and which are in a specific IP range.

    After this I would like to deploy a task sequence on this device collection in order to install new computers located on a specific site of our company.

     

    So I created the following WQL query : (does not work)

     

    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.ResourceId in (select ResourceId from SMS_CM_RES_COLL_$ID) and SMS_R_System.IPAddresses like "10.10.10.%"

     

    $ID is the ID of the collection which contain unknow computers (using direct rules)

     

    Any idea ?

  6. Because I created a device collection which is linked with an AD security group and during the task sequence I want to put workstations on this device collection because I have some SOFT installation variables (SOFT01, SOFT02...) that I need in the next task which has as goal to install softwares based on these vars.

    I also created a script which discover the forest again and update the collection membership.

     

    Despite all of this it stills does not work so I though it was because the CM client was not correctly initialized or DDR was not well transmitted.

    But I am not a SCCM expert at all so I do not know if it is the corrrect way to do what i'm trying to achieve.

     

    I hope my explanation was clear ....

  7. Hello gents,
    I am trying to install applications with base variables through a task sequence.
    The software list is successfuly built but I still cannot install these softwares

     

     

    SMSTS :

     

    <![LOG[successfully read 68 policy assignments.]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="dautils.cpp:454">
    <![LOG[Retrieving Application Policy Mapping:]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="dautils.cpp:456">
    <![LOG[m_mapAppPolicies.find(sAppName) != m_mapAppPolicies.end(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\dautils.cpp,478)]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="dautils.cpp:478">
    <![LOG[App policy for 'Java 7 Update 51 64bit 2014-01-28' not received. Make sure the application is marked for dynamic app install]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="3" thread="2276" file="dautils.cpp:478">
    <![LOG[Policy download failed, hr=0x80004005]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="3" thread="2276" file="dautils.cpp:580">
    <![LOG[daUtil.DownloadPolicies(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\dainstaller.cpp,295)]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="dainstaller.cpp:295">
    <![LOG[successfully cleared App model names from TS env.]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="dautils.cpp:387">
    <![LOG[daInstaller.Execute(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,260)]LOG]!><time="16:17:45.421-120" date="05-23-2014" component="InstallApplication" context="" type="0" thread="2276" file="main.cpp:260">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="16:17:45.499-120" date="05-23-2014" component="TSManager" context="" type="1" thread="1752" file="commandline.cpp:1123">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="16:17:45.577-120" date="05-23-2014" component="TSManager" context="" type="1" thread="1752" file="instruction.cxx:804">
    <![LOG[Failed to run the action: Install Application.
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="16:17:45.655-120" date="05-23-2014" component="TSManager" context="" type="3" thread="1752" file="instruction.cxx:895">
    Any idea ? I am a little bit desperate ..
    (I put variables in the device collection which contain unknown computers)

    post-24977-0-07249200-1400856328_thumb.png

    post-24977-0-68480600-1400856331_thumb.png

  8. Thanks Kevlar01 I just succeed at the same time you posted ;)

     

    Param(
    [string]$Collection
    )
    #/ Session Creation /*---------------------------------------------------------------------------------------------
    Try {
    $MySession = New-PSSession $ServerHostName
    }
    Catch{
    Write-Host "Error: $($_.Exception.Message)"
    }
    #/-----------------------------------------------------------------------------------------------------------------
    #/-----------------------------------------------------------------------------------------------------------------
    #/-----------------------------------------------------------------------------------------------------------------
    Invoke-Command -session $MySession -ArgumentList $Collection -script {
    param ($Collection)
    #/ Import Module + Change Drive /*---------------------------------------------------------------------------------
    Import-Module "Path TO Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1"
    $SCCMDrv = Get-PSDrive -PSProvider CMSite
    cd "$($SCCMDrv):"
    #/-----------------------------------------------------------------------------------------------------------------
    $CollectionInfos = Get-WmiObject -Namespace "Root\SMS\Site_$SiteCode" -Class SMS_Collection -Filter "Name='$Collection'" | Select CollectionID
    $CollectionID = $CollectionInfos.CollectionID
    $MyCollection = Get-WmiObject -Namespace Root\SMS\Site_$SiteCode -Class SMS_CollectionSettings -Filter "CollectionID = '$CollectionID'"
    $MyCollection.Get()
    foreach($Value in $MyCollection.CollectionVariables) {
    $Value
    # OR $Value.Name
    }
    Exit
    }
    You can call your script by using the following command : Powershell -ExecutionPolicy Unrestricted -File ListDeviceCollectionVariables.ps1 -Collection "My Collection Name"
    • Like 2
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.