• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snapin script running silent

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    1
    1
    83
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dejv
      last edited by

      I got 2 snapins (batch files) that run in the when computer is imaged using fog snapin, is there a way that they run with the window open instead of silent (in the backround)

      Script1
      ed523eff-e496-4b70-b8da-3b1f518be9fa-image.png

      @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
      
      choco feature enable -n allowGlobalConfirmation
      choco upgrade chocolatey
      
      
      choco install VLC
      choco install googlechrome
      choco install 7zip
      choco install notepadplusplus
      choco install office365business
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      178

      Online

      12.1k

      Users

      17.3k

      Topics

      155.3k

      Posts
      Copyright © 2012-2024 FOG Project