Jump to content


anyweb

Root Admin
  • Posts

    9203
  • Joined

  • Last visited

  • Days Won

    367

Everything posted by anyweb

  1. It's still in progress, these guides take time to write, please be patient... i'll update here when it's done, thanks !
  2. try updating your boot wim(s) to the distribution points again, to make sure they get injected with all the new binaries from the SCCM 1902 upgrade.
  3. it seems like you have PXE booted and SCCM detects three USB drives and no local drive, is that correct, can you tell me a bit more about how you are testing here ? why are you not trying to test this with virtual machines ? also, if you are indeed testing on real hardware that is not detecting the hdd, then have you added any storage drivers for the chipset to your boot wim ? cheers niall
  4. it's not enough to go on, please copy the smsts.log file from x to your usb drive and attach it here.
  5. enable diagnostic support in your boot wim, then press f8 at the pxe password screen, in the cmd prompt use cmtrace x:\windows\temp\smstslog\smsts.log and review the failures in red to see why it's having issues, if you can attach the smsts.log file here that would help or if you cannot, then attach screenshots of the errors highlighted in SMSTS.log
  6. I'm checking with Microsoft, in my lab at least there were no BitLocker keys in AD but perhaps we need to configure something in order for this to happen, let's see if i get a reply... The replies I got simply reminded us that this feature in SCCM is still in preview, i.e. work in progress. Also, storing the keys in AD is not MBAM specific but via GPO's. Watch this space to learn more about when the feature goes public in the Current Branch releases.
  7. it can be confusing in the beginning, thing of https://portal.azure.com as the place where all cloud services are stored including Microsoft Intune and AzureAD which are both services in Azure. you can use https://devicemanagement.microsoft.com/ for Intune and Office365 related activities or you can manage Intune directly as a service in portal.azure.com, to manage/admin stuff directly in Office365 use https://admin.microsoft.com/ you'll find it starting to make sense as soon as you dig into to, in that the multiple portals can all be used to manage users/devices/licenses/subscriptions.. cheers niall
  8. ok just tried it, it worked fine. also i don't have any 1802 in my script, so please double check what you've downloaded, it should be dated April 2019.
  9. well they are all intertwined to be honest, but I'd start by learning Microsoft Intune, it can encompass Azure, AzureAd and optionally Office 365.
  10. If you use vSphere on a daily basis, this a webinar you simply cannot miss! vSphere Automation Masterclass Automation is key to maximizing the potential of vSphere, especially if you’re managing multiple systems and want to achieve as much with your time as possible. Did you know that most tasks in vSphere can be performed using automation? Did you know that the cloud can be used to conduct configuration changes for an on-premises cluster? Automation is an essential aspect of the modern-day vSphere administrator, and even if you are currently automating vSphere tasks, you might be unaware of the full possibilities it can deliver. In this webinar, presenters Andy Syrewicze (VMware vExpert) and Luke Orellana (VMware vExpert) demonstrate powerful automation techniques that will enable “turbo-mode” for your datacenter. This webinar will feature several live demos covering: ● The basics of PowerCLI ● Deployment Automation ● Desired State Configuration for vSphere ● Cloud Integrations ● And more! vSphere Automation Masterclass will be held on June 20th and as always the webinar will be presented live twice - at 2pm CEST/8am EDT/5am PDT and at 7pm CEST/1pm EDT /10am PDT. The reason they go through it all twice is to try and cater for live audiences on both sides of the Atlantic. Both sessions have the same content so it’s just a way of enabling as many people as possible to attend live and have the opportunity to ask questions live! I’ll be attending the event and if you vSphere on a daily basis then this is a must-attend event for you too! Join me and save your seat today Webinar Title: vSphere Automation Masterclass presenters Andy Syrewicze (VMware vExpert) and Luke Orellana (VMware vExpert) Date: Thursday, June 20, 2019 Session 1: 2pm CEST / 8am EDT / 5am PDT Session 2: 7pm CEST / 1pm EDT / 10am PDT Save your seat now!
  11. hmm maybe use bits out of my DisplayMessageInIntune.ps1 script shown below <# # niall brady 2018/1/26 # simple script to display a popup message in Microsoft Intune # Customize the message by editing the variables # $Option can be any of the following values "OK" "OKCancel" "AbortRetryIgnore" "YesNoCancel" "YesNo" "RetryCancel" $Type can be any of the following values "Asterisk" "Error" "Exclamation" "Hand" "Information" "None" "Question" "Stop" "Warning " $WhichButtonHasFocus indicates the default button (that initially has focus). This is required if the DefaultDesktopOnly parameter is used. DefaultDesktopOny forces the message box on top. #> param ( [string]$title = "www.windows-noob.com (c) 2018", [string]$Message = "This is a popup message in Microsoft Intune !", [string]$Option = "OK", [string]$Type = "Information", [string]$WhichButtonHasFocus = "Button1", [string]$OnTop="DefaultDesktopOnly", [string]$ReturnCode = 0 ) Function LogWrite { Param ([string]$logstring) $a = Get-Date $logstring = $a,$logstring Try { Add-content $Logfile -value $logstring -ErrorAction silentlycontinue } Catch { $logstring="Invalid data encountered" Add-content $Logfile -value $logstring } write-host $logstring } # script starts here $Logfile = "C:\Windows\temp\DisplayMessageInIntune.log" LogWrite "Starting DisplayMessageInIntune script..." [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”) [Windows.Forms.MessageBox]::Show(“$message”, “$title”, [Windows.Forms.MessageBoxButtons]::$Option, [Windows.Forms.MessageBoxIcon]::$Type,$WhichButtonHasFocus,$OnTop) #[Windows.Forms.MessageBox]::Show(“$message”, “$title”, [Windows.Forms.MessageBoxButtons]::$Option, [Windows.Forms.MessageBoxIcon]::$Type,$WhichButtonHasFocus) LogWrite "Ending DisplayMessageInIntune script... with returncode $ReturnCode" Exit $ReturnCode or going back to your edits, i notice you have a 'write host' to display the value do you ever see that ? i doubt it, therefore i'd add logging, you can use the LogWrite function I have in my Intune powershell script as it logs everything and then modify it to capture the results of the click (and value) ok ?
  12. <![LOG[Expand a string: equals]LOG]!><time="14:23:44.440+180" date="06-07-2019" component="TSManager" context="" type="0" thread="9592" file="utility.cpp:790"> <![LOG[Expand a string: ReturnCode]LOG]!><time="14:23:44.440+180" date="06-07-2019" component="TSManager" context="" type="0" thread="9592" file="utility.cpp:790"> <![LOG[Expand a string: 1]LOG]!><time="14:23:44.440+180" date="06-07-2019" component="TSManager" context="" type="0" thread="9592" file="utility.cpp:790"> <![LOG[The action (Cancel = erreur) has been skipped because the condition is evaluated to be false]LOG]!><time="14:23:44.440+180" date="06-07-2019" component="TSManager" context="" type="1" thread="9592" file="instruction.cxx:696"> <![LOG[Not in SSL]LOG]!><time="14:23:44.483+180" date="06-07-2019" component="TSManager" context="" type="1" thread="9592" file="libsmsmessaging.cpp:10091"> <![LOG[Clear local default environment]LOG]!><time="14:23:44.509+180" date="06-07-2019" component="TSManager" context="" type="0" thread="9592" file="executionenv.cxx:809"> <![LOG[Execution of the instruction (Cancel = erreur) has been skipped]LOG] you are only checking for ReturnCode=1 not zero from what I can see..
  13. I've seen errors configuring the SQL Server memory when you are logged on as the wrong user, make sure you are logged on as the domain\user specified in the script, look at line 20... I think the user must be a SA to do the sql server memory change, but can't remember, please verify what user you are running this as... and i don't think domain\administrator is a SA....
  14. hi Kevin, you could set a variable in the PowerShell script and use that to hold the value, something like this $tsenv.Value('WhatValue') = $ReturnCode then check for the value of that variable in your task sequence by checking for %WhatValue% (create an option on a step) so it seems you are already doing something like that (but have it remmed out)
  15. ah my bad, thanks for the heads up. I mixed up some old/new scripts... i've re-uploded them for parts 4-6, should be fine now, please check.
  16. it will wait until the user presses ok or until the step timesout, you can adjust the timeout on the step
×
×
  • 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.