5. Win32 app creation Microsoft Intune: Mozilla Firefox EXE installer in PowerShell Script (5/33)

Поділитися
Вставка
  • Опубліковано 23 жов 2024

КОМЕНТАРІ • 13

  • @XwolfBane18
    @XwolfBane18 2 роки тому +2

    Thank you for this video I am gonna try follow along and test couple of things . I’m a new IT technician but I am learning this to better do my job

    • @IntuneVitaDoctrina
      @IntuneVitaDoctrina  2 роки тому +1

      Happy to hear, yes if you go through these videos, and practice a bit on your side you will master Win32 app creation in Intune, thanks for your comment

    • @XwolfBane18
      @XwolfBane18 2 роки тому

      @@IntuneVitaDoctrina I have created my virtual machine with my azure company and have uploaded the hash and it’s communicated have installed company portal so far but I will install mozzila and chrome following your instructions

  • @texddiaz
    @texddiaz Рік тому +2

    thanks for share!

  • @XwolfBane18
    @XwolfBane18 2 роки тому

    Hi again the script worked amazing for the installation but I keep getting error regarding the copy-item it says the path can’t be found any advice on this ?

    • @XwolfBane18
      @XwolfBane18 2 роки тому +1

      Also the chrome also worked perfectly but it didn’t copy in the master preference :(

    • @IntuneVitaDoctrina
      @IntuneVitaDoctrina  2 роки тому

      That could be a relative path, issue, it could be normal it fails when running script manually on your machine but not through Intune. Is the file you copy in same folder as the install script and MSI file?

    • @XwolfBane18
      @XwolfBane18 2 роки тому

      @@IntuneVitaDoctrina once again I want to say I’m have a very little knowledge on cmd and powershell but I did exactly what you showed in the video and had the files copied in the same folder as well as naming it the same

  • @XwolfBane18
    @XwolfBane18 2 роки тому

    Hi there I’m having some issues is there a email you have that I can use to send you enquires ?

    • @IntuneVitaDoctrina
      @IntuneVitaDoctrina  2 роки тому +1

      Hi, I'm out for Christmas vacation so in early 2022 I don't mind answering some questions and give pointers in right direction, posting emails on public places is a bad idea since spam and other actors use these for bad purposes, but please post your question here in the comments and I reply in January 2022 when I' back to this, and who knows, maybe that can help someone else who have same issue and look at this :)

    • @XwolfBane18
      @XwolfBane18 2 роки тому

      @@IntuneVitaDoctrina I totally understand thank you again for your reply and join your Christmas

  • @karthiksuvarna2144
    @karthiksuvarna2144 Рік тому +1

    Hi Sir, i am getting the below error while trying the script root could you please help.
    PS C:\Users\Administrator> $sr = Split-Path -Path $MyInvocation.MyCommand.path
    Split-Path : Cannot bind argument to parameter 'Path' because it is null.
    At line:1 char:24
    + $sr = Split-Path -Path $MyInvocation.MyCommand.path
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCo
    mmand

    • @IntuneVitaDoctrina
      @IntuneVitaDoctrina  Рік тому

      Hi Karthik, without knowing more it is a normal error if you run it outside a PS1 file, like directly in the console or in PowerShell ISE.
      Have you saved your code in a .PS1 file and then execute the file (not the code) and it should give the directory/folder your script is located in
      you get path is null probably because it is not ran as a file and then don't know the path to the file