Jump to content

Mrente413

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Location
    Boston
  • Agent Count
    1000 - 1500 Agents
  1. Hello all, Im trying to write an automate script that will run the following power-shell script md c:\\HWID Set-Location c:\\HWID Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted Install-Script -Name Get-WindowsAutoPilotInfo Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv I was wondering what the best way of going about having the Prompts that appear when going through to have [y] or [a] scripted to be input to continue the power shell process This would be running as admin on multiple machines, will i need to be adding something like /a or -Force to my scripts in Automate. Any help would be appreciated as im fairly new to power shell 🙂
×
×
  • Create New...