Jump to content


Established Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Always

  • Rank
  1. did some googling,....forgot to add the dp to a boundary group ...added and now it works.
  2. Hi WN I just installed my lab env and try to deploy a OS TS but get this error? where do i look ??
  3. In the gui i can see two collection under the folder but under powershell i get nothing=? anyone know how to emulate content in the folder?
  4. I want to build and capture a ref image. Have a "Microsoft .NET Framework 4.7.2" Application Have checked "Allow this application to be installed from install application task sequence action without being deployed" Deployment type: Install: "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /norestart /q /log "%windir%\Logs\Microsoft_.Net_Framework_4.7.2_Install.log" Uninstall: msiexec.exe /x {09CCBE8E-B964-30EF-AE84-6537AB4197F9} /q /l*v "%windir%\Logs\Microsoft_.Net_Framework_4.7.2_Uninstall.log" Detecion: {09CCBE8E-B964-30EF-AE84-6537AB4197F9} Above Applications wo
  5. Hi WN I created a function to connect to the CMSite and load the cmdlet for ConfigurationManager. Could the function be improved in any way or is it as good it can be? is the logic best practice or? You can download it at : https://gallery.technet.microsoft.com/Connect-ConfigMgr64-db5e9d0a function Connect-ConfigMgr64 { $initParams = @{ } if ((Get-Module ConfigurationManager) -eq $null) { try { Import-Module "$($ENV:SMS_ADMIN_UI_PATH)\..\ConfigurationManager.psd1" @initParams -Scope Global } catch { $ModulePath = (Get-ItemProperty HKLM:\SOFTWARE\Wow6432Nod
  6. Thanks for the link Got it to work with following code Function Connect-SCCM { Param ( [Parameter(Mandatory = $True)] [String]$SiteCode, [Parameter(Mandatory = $True)] [String]$Primary ) If (!(Get-Module -name ConfigurationManager)) { import-module $env:SMS_ADMIN_UI_PATH.Replace('bin\i386', 'bin\ConfigurationManager.psd1') -force if ((get-psdrive $SiteCode -erroraction SilentlyContinue | Measure-Object).Count -ne 1) { new-psdrive -Name $SiteCode -PSProvider 'AdminUI.PS.Provider\CMSite' -Root $Primary -Scope Global } $ConsoleFolder = $Env:SMS_ADMIN_UI_PATH -
  7. I will give that a try. What about cloning a global condition from a deployment to another deployment?
  8. Hi WN I trying to add a custom Global Condition to a deployment type. But cant figure out how it done. and a big error so ?? if (!(Get-CMGlobalCondition -Name "Is user is logged on")) { Remove-Item "$env:temp\Is_user_is_logged_on.ps1" -ea SilentlyContinue Add-Content -Encoding UTF8 "$env:temp\Is_user_is_logged_on.ps1" "[bool] (Get-Process explorer –ea 0)" New-CMGlobalCondition -Name "Is user is logged on" -Description "Check if an user is logged on" -DeviceType Windows -DataType Boolean -ScriptLanguage PowerShell -FilePath "$env:temp\Is_user_is_logged_on.ps1"
  9. Hi All, Is it possible to get the save path in the capture & build task sequence?
  10. dobbelt post...remove this thanks Hi All, Is it possible to get the save path in the capture & build task sequence?
  11. M910z return: 10NTS00W00 M710q retrun: 10MQS0H600 Getting this on the M910z: Installing device driver step ind the this. Running action: Lenovo ThinkCentre M910z 0x80004005 error code.
  • Create New...