Jump to content


MikhailCompo

Established Members
  • Posts

    4
  • Joined

  • Last visited

MikhailCompo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi We support many countries with many languages, however the max number of langs any device has is only 2. We have been told be MS and i read above that if only the primary UI is upgraded (because in SCCM, only the Upgrade files for the primary lang is listed as an applicable update). So how come German machines with both DE-DE installed (primary UI lang) and en-US installed still have en-US installed after the upgrade? Shouldn't en-us be removed during the upgrade? Is there an exception for en-US in which it remains on a device after the upgrade, but other secondary languages do not? Thanks for any info.
  2. I have managed to work this out. I realised that the value returned using Get-CMClientSettings was possibly an array. Hence why using Set-CMClientSettings does not accept an integer. I then re-read the MS Docs and found the function New-CMSchedule Using that function, i first set a variable and then used that with the Set-CMClientSettings function, creating the following script that will set the HW interval to 1 day $HWInvSched = New-CMSchedule -RecurCount 1 -RecurInterval Days Set-CMClientSetting -Name "Default Client Agent Settings" -HardwareInventorySettings -InventorySchedule $HWInvSched Hope this helps someone else!
  3. Thanks for responding, but i think you haven't fully read my post. I require a script which can change the Default Client Settings. This is a script to run on the server, not on clients. I dont care about a specific device sending a HW scan. I need the policy to change the Default Client Settings so that all devices send inventory every day (not every 7) forever. It is possible with powershell juding by the MS Docs, but i cannot get a command line working. I need someone with better PowerShell skills that me...
  4. I need a command line that can be run on a number of SCCM environments that changes the HW Inventory Schedule from 7 days to 1 day (Default Client Settings). This cannot be done manually (dont ask!). Get-CMClientSetting -Setting HardwareInventory Using the docs.microsoft.com pages below, I have established using Get-CMClientSetting that my current 7 day schedule the value is 000120000010038. After manually changing the schedule to 1 day, that value changes to 000120000010008 When I try to use Set-CMClientSetting it will not accept the value that is shown above. My command line is the following, is it that which is wrong? Or should I interpret the value differently? Set-CMClientSetting -Name "Default Client Settings" -HardwareInventorySettings -InventorySchedule 000120000010008 https://docs.microsoft.com/en-us/powershell/module/configurationmanager/get-cmclientsetting?view=sccm-ps https://docs.microsoft.com/en-us/powershell/module/configurationmanager/set-cmclientsettinghardwareinventory?view=sccm-ps Thanks for any help!!
×
×
  • 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.