Jump to content


ZeZe

Established Members
  • Posts

    285
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by ZeZe

  1.  

    You're right, you need to allow for the database to refresh. The following worked for me in a test.

    $MAC = "00:29:15:80:4E:4A"
    $PCName = "TESTPC"
    Import-CMComputerInformation -CollectionName "All Systems" -ComputerName $PCName -MacAddress $MAC
    while (!$ResourceID)
    {
    	$ResourceID = $(get-cmdevice -Name $PCName).ResourceID
    	Start-Sleep -Seconds 5
    }
    Add-CMDeviceCollectionDirectMembershipRule -CollectionId 00100120 -ResourceId $ResourceID
    

    Thanks, I'm going to try this one!!

  2. Hi all,

     

    I've created a simple powershell just to add a new device into ConfigMgr, plus add this same computer to more collections.

    However, when I run the script there's a strange behavior.

     

    Script:

     

    $MAC = "00:29:15:80:4E:4A"

    $PCName = "TESTPC"
    Import-CMComputerInformation -CollectionName "All Systems" -ComputerName $PCName -MacAddress $MAC
    Add-CMDeviceCollectionDirectMembershipRule -CollectionId 00100120 -ResourceId $(get-cmdevice -Name $PCName).ResourceID
    (the last part of the script contains more collections, but for the purpose of the problem this is enough).
    If I run this script as it is, I've the following error:
    Add-CMDeviceCollectionDirectMembershipRule : Cannot validate argument on parameter 'ResourceId'. The argument is null or empty. Supply an
    argument that is not null or empty and then try the command again.

     

    If I wait a couple of seconds and I run the script again, with the same variables, the script runs without any issues. If I add "Start-Sleep -Seconds 30" before the adding the computer to the collection, the script also runs without issues. I'm assuming that I need to give time to ConfigMgr to refresh the data? Question: Is it possible to force this (refresh)? Does anyone had this before?

     

    Thank you in advanced!

     

  3. no, default gateway is (for example) the value displayed when you type ipconfig,

    so computers that are booted in different vlans (Locations), will probably have different Default Gateways

     

    the set dynamic variables can check for the value of your default gateway and based on it do different things

     

    to get 'default gateway' select the Add Rule dropdown then select Location from the list of options, it will prompt you to enter a default gateway

     

    so instead declaring variables on collections, we can read the information on certain variables and apply different type of applications/packages and also language, on a larger scale, if we use this variable "default gateway", Thanks Niall, as always!

  4. Hi all,

     

    I've a couple of rules in my ConfigMgr to apply Office Updates and Windows Updates.

     

    Both are running fine but the group icons change a bit during the month. Since my rules are running every month, to retrieve the updates from last 30 days, I was wondering if makes any sense to remove the updates that expired or not. I mean, next month probably the new updates will replace the old ones in a new group I assume.

     

    THank you in advance for any comments on this.

     

  5. Hi all,

     

    Very simple question. If I create a app-v package of the Adobe Reader on Windows 7 and deploy it to workstations running Windows 10, will this work? I don't have setup on my lab nor production, therefore I was wondering if this could work or not.

     

    Thank you in advanced.

  6. It's not clear what you are asking.

     

    Creating a reference image it's a good practice if you want to include several things by default in your windows. Things I would recommend Frameworks or dependencies, or even settings.

     

    When you create the WIM file, add this image to SCCM and create a new task sequence that will use this image. Change the task sequence and add other applications that are needed.

     

    The reason not to include applications on the reference image is that you will have to recreate the image every time you have new versions. This way you only have to change a step in your task sequence. Hope it helps!

     

    Cheers!

  7. So let's go down the list...

     

    1) You can if its Windows 8/10 via the OMA-URI protocol, but why would you? The ConfigMgr agent will give a way more detailed overview of the system than the Intune MDM one. For Windows 7, this is true - it's either the Intune agent or ConfigMgr agent

     

    2) Yes - once you link Intune with ConfigMgr, all data and monitoring is shunted into the ConfigMgr console. There's a caveat here, and that's with devices that have the actual Intune agent installed. These will NOT show in the ConfigMgr console, only on the web portal. I've already raised this issue with Microsoft, we'll see if they ever do anything about it.

     

    3) Partly. It is true that once you hook Intune into ConfigMgr, you create all the policies and configuration items in the console, which will then send them to devices via Intune. As for seeing your Windows device in the portal, it depends on how you're linking it - whether by ConfigMgr agent, Intune agent, or OMA-URI protocol.

     

    4) When you link Intune with ConfigMgr, think of Intune as a secondary site in the cloud. It gathers data and hosts a database, but basically all the management is done by the primary site (aka your on-prem ConfigMgr infrastructure). So all configuration and policy management is done through the console, and ConfigMgr will automatically take care of managing clients, whether mobile or full clients.

     

    Hope that helps a bit!

     

    Thank you for your reply! It really helps me!!

     

    As for the "portal company" app that we install on the device, this app can be removed by the user? I mean, is it possible to prevent user from removing this app? Maybe a compliance policy will make sure the user cannot uninstall software from the phone?

     

    As for software to rollout to an user/device - which I did with 2 apps (Facebook app and CNN), I noticed that when the app is requested to be install it will request user credentials to install the app. This credentials are regarding user Apple Store, however if I wanna to avoid this user credential popup, I would had to have a VPP (Volume Purchase Program). And I think this is only possible if we an organization - I cannot test this. Correct?

     

    Thank you!

  8. Hi all,

     

    To anyone that has more knowledge about Intune with ConfigMgr (Hybrid Solution).

     

    I manage to install Intune and enroll my iPhone. I deploy 2 apps and it works fine. Then I tried to add my Windows 10 Enterprise (TP) client to the MDM. And here it's where I start to have some doubts.

     

    - I cannot enroll my Windows device, if it has already been added to ConfigMgr? Correct?

    - I manage to install the company portal and also to add my intune account into this device. But I can't see it in the Intune, only on ConfigMgr console. Is this normal?

    - For what I can understand, I can still create my company compliance policies and deploy these configurations to a collection of devices (using ConfigMgr console) and not the MDM. Correct? Therefore, I can't see my Windows device in the Portal company. Correct?

    - It sounds that the Hybrid solution is not very clear in terms of how it works with Intune. I understand that all the policies that we create in the ConfigMgr are used by the MDM to deploy them over our mobile devices (in my case only my phone). But if I create additional devices (workstation) and try to managed, I can create policies and deploy it to collection, however, only when the computer is in the company network, the computer will be able to load these new policies. Correct? hmm..

     

    I really appreciate any information that helps me to understand a bit more about MDM. It sounds a bit complicated and more complex than I initially anticipated.

     

    Thank you in advanced.

  9. Hi All

     

    I have the ConfigMgr 1602. After OSD Windows 10 Enterprise, the agent shows the traditional settings but the TAB where all the actions are is kinda not complete.

     

    I understand that after the Windows is installed, some apps are updated right afterwards the installation is completed, and the agent is also updated. I'll try to come up with some screenshots tomorrow but in the meantime if someone is experiencing had this issue, is there any recommendations?!

     

    p.s. I'm found a script that disables most of the standard apps that are installed on the Windows 10... but still ... I didn't test this.

     

    Thank you!

  10. Dear all..

    After a fresh installation of ConfigMgr 1602, the component "sms_database_monitor" is degraded due to several warning of maintenance tasks it didn't had time to execute.

    I opened the site maintenance config and several of these tasks are set to run on sunday's.... so.. I'm not sure why these alerts are now popping up since the installation just occurred this week... Anyone with similar issues? Reset won't work.

     

    p.s. this has no impact on the service nor the component. The degrade message is because the threshold is set to max of 5 warnings.

     

    Any help concerning this will be much appreciated!

     

×
×
  • 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.