Jump to content




All Activity

This stream auto-updates     

  1. Yesterday
  2. Sounds contradicting to me, you clearly got "Prod Servers" as part of value2 in your csv, which is confirmed by the executed query. Anyways, either remove "Prod Servers" from your csv and your script will work, or leave it there and my script will work. 👍
  3. Good Morning - The CSV doesn't include the name of the collection - just the hostname and domain FQDN. The collection names are "Prod Servers: valuein2ndcolumnofcsv" with that value being the domain FQDN. That's why I added the line you mentioned above plus changed the variable used in the next line that adds the rule to use the new variable. Hope that makes sense and apologies if I explained it incorrectly earlier. Thanks
  4. Not sure why you added this line "$newcolname = “Prod Servers: $colname", since you added the Prod Servers part to your csv file already. This way you are duplicating the string which causes the error. Just get rid of this line and change back the variable used in the last line.
  5. Last week
  6. OK - So I just tried it out and having an issue... I had to make a couple of changes to values to add in $newcolname as the names of the collections is "Prod Servers: domainfqdn" plus match headers in my source file therefore the script I tested is below as well as the source CSV and finally the resulting echo when testing the script. I'm going to play with it a bit more, but if you have any suggestions or thoughts, I'd appreciate it. Thanks! Modified Script Source CSV Resulting Echo To note, yes, the collections exist and after refreshing them each are still empty. Thanks!
  7. Thanks! I'll give it a shot and reply back soon...
  8. Fixed it. Seems that following the PKI guides was the solution.
  9. Try this import-Module -Name "$(split-path $Env:SMS_ADMIN_UI_PATH)\ConfigurationManager.psd1" -ErrorAction Stop $SiteCode = Get-PSDrive -PSProvider CMSITE -ErrorAction Stop Set-Location "$($SiteCode.Name):" -ErrorAction Stop $Computers = Import-Csv "C:\source.csv" -Delimiter "," Foreach ($Computer in $Computers) { $devname = $Computer.svr_name $colname = $Computer.svc_domainfqdn $ResourceID = (Get-CMDevice -Name $devname -ErrorAction SilentlyContinue).ResourceID Add-CMDeviceCollectionDirectMembershipRule -CollectionName $colname -ResourceId $ResourceID -Verbose -ErrorAction SilentlyContinue }
  10. Can someone point me in the right direction please? I am new to sccm and I have installed the 1802 version, using the guides on this site, which are excellent and then done an in place upgrade to 1810. When i am trying to push the client to a few test machines, by selecting them individually in Devices I am getting errors. IsSslClientAuthEnabled - Determining provisioning mode state failed with 80070002. Defaulting to state of 1504. Client is not allowed to use or doesn't have PKI cert while talking to HTTPS server. Failed (0x87d00454) to send location request to 'serverfqdn'. StatusCode 200, StatusText '' Failed to send location message to 'HTTPS://serverfqdn'. Status text '' GetDPLocations failed with error 0x87d00454 Failed to get DP locations as the expected version from MP 'HTTPS://serverfqdn'. Error 0x87d00454 Failed to find DP locations from MP 'HTTPS://serverfqdn' with error 0x87d00454, status code 200. Check next MP. Have already tried all MPs. Couldn't find DP locations. IsSslClientAuthEnabled - Determining provisioning mode state failed with 80070002. Defaulting to state of 1504. Client is not allowed to use or doesn't have PKI cert while talking to HTTPS server. DownloadFileByWinHTTP failed with a non-recoverable failure, 0x87d00454 DownloadFileByWinHTTP failed with error 0x87d00454 Failed to get client version for sending state messages. Error 0x8004100e Failed to send status 308. Error (87D00215) Could not open Wmi_Bridge_Server kegistry key. Failed to connect to policy namespace. Error 0x8004100e Failed to revoke client upgrade local policy. Error 0x8004100e CcmSetup failed with error code 0x87d00454 I know there are a lot of errors here but I am very new to SCCM and would like to try and get it sorted. Thanks
  11. Hey Guys / Niall - I'm trying to script something which I've done parts of in the past, but not together at once and need some assistance, please... Overall, I'm trying to add hostnames as direct members to a different collection referenced on the same row of a CSV source. Below is an example of the CSV source which states the hostname in the first column and its domain in a 2nd column. A collection already exists per domain which is "Prod Servers: domainfqdn". For example, below is a similar CSV with headers: svr_name,svc_domainfqdn SYSTEM1,DOMAIN.5.com SYSTEM2,DOMAIN.6.com SYSTEM3,DOMAIN.4.org SYSTEM8,DOMAIN.6.local The desired result is that once the script executes, the following occurs: The hostname "SYSTEM1" is added via direct rule to the collection "Prod Servers: DOMAIN.5.com" The hostname "SYSTEM2" is added via direct rule to the collection "Prod Servers: DOMAIN.6.com" The hostname "SYSTEM3" is added via direct rule to the collection "Prod Servers: DOMAIN.4.org" The hostname "SYSTEM8" is added via direct rule to the collection "Prod Servers: DOMAIN.6.local" I've added systems to a single collection many times before using powerShell using something similar to the below, but am at a loss for how to add to multiple collections all within the same source. I've already created the collections for each domain, so no need to have the script check for them or do so. Any suggestions? Thanks!
  12. can any one help me out to solve this issue??
  13. Hi, I have attached the log, I removed everything except for yesterday and a screen shot of the drivers tab. Thanks Vince dism.log
  14. We've had a lot of interest in the latest Tranxition Migration Manager SCCM Integration Guide. It was recently updated to the latest branch. You can find it in the blog section on the Tranxition website or at the link below. Thanks everyone! https://tranxition.com/2019/01/tranxition-releases-sccm-integration-guide/
  15. can you check the drivers tab and point to the drivers you added, are you sure they are signed ? if you look at the dism log in C:\Windows\Logs\Dism it might reveal the failure, attach it here.
  16. Hi Anyweb, So I thought to myself I will redistribute the image to be sure I have distributed it after I enabled command support and it errors. I tried again this time reloading the image from ADK but it still errors. I also tried the F8 key press at the password screen and that does not work. I checked the drivers and there all listed as signed.
  17. are you sure that you distributed the boot images to the dp's after you enabled the option ? also, can you press F8 at the PXE password screen ?
  18. Hi All, SCCM 1802. I have two boot images, 32 and 64 bit. Both have Enable Command Support ticked. I have one build TS and it is booting the 64 bit boot image. The laptop is set to UEFI. At boot it displays the TS list, we select the only one there and the laptop begins running the TS. It gets to a point "Applying OS to C drive" and errors. Timeout is 14 mins and if we press F8 nothing happens. I really need to get the logs off this machine but I am remote to it. Ive tried adding some steps into the TS to collect the logs but thats failing to create anything in my share. I dont understand why the F8 key press is not working though. Does anyone have any advice they can offer?
  19. We are facing issue with content distribution on a new DP.
  20. What do you mean productions can't wait for a solution? The only way you are going to get a solution / workaround is to talk to the application owner or to MS. One of them has to fix the problem.
  21. I can do that but not sure production can wait for a solution. This is why I was asking for a solution if anyone had a way of suppressing a faulty kb
  22. Earlier
  23. I am glad to report that this is resolved on 1806 of SCCM. There was no action needed on my side. Alex
  24. I am glad to report that this is resolved on 1806 of SCCM. There was no action needed on my side. Alex
  25. Again assume a cumulative update, No as the KB would change each month. Why can't you open a support case with MS or update the software in question?
  26. can't you suppress the kb at every patching deployment with a wusa command?
  27. I guess you need proper ssl certificate on the website. Have you tried checking the iis binding on the website?
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×