ZeZe
-
Posts
285 -
Joined
-
Last visited
-
Days Won
6
Posts posted by ZeZe
-
-
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 $MACAdd-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 anargument 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!
-
yes you can use Set Dynamic Variables to do all sorts of magic, it's very cool actually !
Do you know if there is a document from Microsoft with all variables that we can use/edit during the TS?
-
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!
-
So "Default Gateway" is a variable that we declared in the collection, correct?
-
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.
-
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.
-
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!
-
-
Not sure why...
-
I had updates that required a restart. And I set the options to suppress reboots, but sometimes it just restarts. I can't understand why...
- 1
-
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!
-
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.
-
This is because you are using the ADK that has this issue (10.0.58610.0)... if you patch the boot image things will be ok...
-
Make sure your account is full administrator and also has privileges as admin in the sql server. I had an error (maybe like this) on my upgrade because I didn't had enough permissions on the SQL server...
-
Actually... what happen was... there was a pending reboot! so... basically... after a restart everything came to normal! bah!
-
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!
-
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.
-
Did you change the task sequence to use the new boot image that you added? Check your reference software for that task sequence and verify if everything is correct. Otherwise you might not applied correctly the patch
-
I read my steps in my UDI environment. I'm not a big expert, maybe Niall can confirm this.
You have steps for refresh and steps just imaging (no USMT). Not sure if you have to add the step where you are installing applications in your UDI.
-
Meaning that the system account needs permission in the share folder where the sources are
-
Applications - did you deploy all applications do a single collection?! You don't need any members inside of this collection, but you need to deploy all applications to a collection for what I remember.
-
Regarding the OS disk D, just disable the step where OSDPreserveDriveLetter = FALSE. You don't need this step if you built the image already with this.
-
I know that I mention that you should have the "Start /Wait" but I also read in this post that could also cause issues.
Adjust and retry!
-
I had this issue for years and yes, it was the AV that was causing my problem.
What AV do you have in your client? You should exclude the folder C:\windows\ccmcache from being scanned, or other locations in the server, which you use to create your packages.
Powershell - adding device
in Configuration Manager 2012
Posted
Thanks, I'm going to try this one!!