Windows 10: Is there any way to check the output of a hidden powershell script running trough task...

Discus and support Is there any way to check the output of a hidden powershell script running trough task... in Windows 10 Ask Insider to solve the problem; So I have a bunch of scripts that run trough task scheduler, some run every minute, some every hour others every few days, the ones that run every few... Discussion in 'Windows 10 Ask Insider' started by /u/captainjawz, Jun 13, 2020.

  1. Is there any way to check the output of a hidden powershell script running trough task...


    So I have a bunch of scripts that run trough task scheduler, some run every minute, some every hour others every few days, the ones that run every few days usually take several hours to complete and thus I don't like them running often.

    Although none of them are really resource intensive.

    Because I don't want the powershell window to be ever-present on my task bar, I made the scripts run as hidden windows, but now I wonder, if there is any way to check on the script progress once it starts running? I can see the powershell process on the task manager, but no idea if there is any way to make it visible

    submitted by /u/captainjawz
    [link] [comments]

    :)
     
    /u/captainjawz, Jun 13, 2020
    #1
  2. dalchina Win User
    dalchina, Jun 13, 2020
    #2
  3. Uninstall hidden “Network Adapters” from Device Manager using PowerShell script

    Steps:

    1. Open Device Manager from Control Panel
    2. Select “Show hidden devices” from View menu
    3. Expand “Network adapters”
    4. Find hidden adapters
    Manually these hidden adapters can be uninstall by below steps

    1. Right click on hidden adapter
    2. Click on uninstall.
    3. Click on Ok button.
    How to uninstall these adapters using PowerShell script?

    I have Administrator access still, this code throws error - Remove-ItemProperty : Requested registry access is not allowed.
     
    ShridharKusurkar, Jun 13, 2020
    #3
  4. pepanee Win User

    Is there any way to check the output of a hidden powershell script running trough task...

    Run PowerShell Script As An Administrator

    Hi. So I've been searching online on a way to do this yet I cannot find a way to do it.

    _______________________________________

    I need this in specific:

    I want to double click a PowerShell script file (which will run as an administrator) from Windows Explorer that has this as the script:
    Set-MpPreference -DisableRealtimeMonitoring $true

    (that script requires that PowerShell needs to be run as an administrator)
    _______________________________________

    So those are the restrictions:
    No right-click>run PowerShell as an administrator
    No opening a shortcut to PowerShell (as an administrator) and pasting the command


    Thanks
     
    pepanee, Jun 13, 2020
    #4
Thema:

Is there any way to check the output of a hidden powershell script running trough task...

Loading...
  1. Is there any way to check the output of a hidden powershell script running trough task... - Similar Threads - check output hidden

  2. Problem getting a powershell script to run in Task Scheduler

    in Windows 10 Software and Apps
    Problem getting a powershell script to run in Task Scheduler: Hello. I am trying to get a PowerShell script to run once every half hour in the Task Scheduler utility. The platform is Windows Server 2019 Standard Edition. I configured the script to run on a schedule starting at 12:00 AM every day, and repeat every 30 minutes...
  3. Problem getting a powershell script to run in Task Scheduler

    in Windows 10 Gaming
    Problem getting a powershell script to run in Task Scheduler: Hello. I am trying to get a PowerShell script to run once every half hour in the Task Scheduler utility. The platform is Windows Server 2019 Standard Edition. I configured the script to run on a schedule starting at 12:00 AM every day, and repeat every 30 minutes...
  4. Run desktop script in PowerShell

    in Windows 10 Network and Sharing
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  5. Run desktop script in PowerShell

    in Windows 10 Gaming
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  6. Run desktop script in PowerShell

    in Windows 10 Software and Apps
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  7. Powershell script does not run via Task Scheduler

    in Windows 10 Customization
    Powershell script does not run via Task Scheduler: PowerShell script runs fine manually, but doesn't run in Task scheduler. The script: [ATTACH] I tried another command$env:COMPUTERNAME and works fine both manually and via PowerShell....
  8. PowerShell script does not run as Scheduled Task – 0xFFFD0000 error

    in Windows 10 News
    PowerShell script does not run as Scheduled Task – 0xFFFD0000 error: [ATTACH] [ATTACH]The Windows 10 Task Scheduler is a boon for a group of users who like to schedule different tasks and automate them. I use it all the time to schedule periodic execution of scripts and some programs to ensure my [...] This post PowerShell script does not run...
  9. Run PowerShell Script As An Administrator

    in Windows 10 Support
    Run PowerShell Script As An Administrator: Hi. So I've been searching online on a way to do this yet I cannot find a way to do it. _______________________________________ I need this in specific: I want to double click a PowerShell script file (which will run as an administrator) from Windows Explorer that has...
  10. Problem Getting a Powershell Script to Run in Task Scheduler

    in Windows 10 Software and Apps
    Problem Getting a Powershell Script to Run in Task Scheduler: Hope I'm in the right place! I am trying to get a Powershell script to run daily in the task scheduler. It basically purges a folder on one of my drives: Get-ChildItem –Path “D:\Dropbox\Quicken\Backup” –Recurse | Where-Object CreationTime –lt (Get-Date).AddDays(-10) |...