# Script Requests - Itarian team will write the scripts for you :) for FREE

**URL:** <https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035>\
**Category:** Automation Scripts - Library - (ITarian will write\
**Created:** [August 29, 2016, 3:21am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035 "2016-08-29T03:21:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [August 29, 2016, 3:21am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/1 "2016-08-29T03:21:08Z")

</div>

Hi everyone,

As you know,we can run on demand or schedule any Python script over devices.

Tell us what you want to automate, and we will be more than happy to write a script for you.

These scripts will be shared, contributing to this awesome community.

Thank you all for your input in advance!

Ilker

Here is the link to see all the scripts

[https://scripts.itarian.com/](https://scripts.itarian.com/)

---

<div class="post-metadata">

**Author:** ![Ming](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.itarian.com/u/Ming)\
**Post date:** [August 31, 2016, 7:34pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/2 "2016-08-31T19:34:01Z")

</div>

How about a simple script that prints out how long it has been or when was the last time since the selected computer has restarted?

---

<div class="post-metadata">

**Author:** ![dougaust](https://forum.itarian.com/letter_avatar_proxy/v4/letter/d/c67d28/32.png) [@dougaust](https://forum.itarian.com/u/dougaust)\
**Post date:** [August 31, 2016, 10:57pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/3 "2016-08-31T22:57:24Z")

</div>

Hi Ming,

There is a System Uptime counter on the device summary page, if you go to ITSM \> Device list and click on a computer its on the right column on the first page

---

<div class="post-metadata">

**Author:** ![mkannan](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mkannan](https://forum.itarian.com/u/mkannan)\
**Post date:** [September 1, 2016, 11:05am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/4 "2016-09-01T11:05:09Z")

</div>

Hi Ming,

You can check last system restarted time using script posted in below link,

[https://forum.mspconsortium.com/forum/script-library/4520-get-system-booted-time-or-last-restarted-time](https://forum.mspconsortium.com/forum/script-library/4520-get-system-booted-time-or-last-restarted-time)

---

<div class="post-metadata">

**Author:** ![Ming](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.itarian.com/u/Ming)\
**Post date:** [September 1, 2016, 1:08pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/5 "2016-09-01T13:08:50Z")

</div>

> [@dougaust](#):
>
> Hi Ming,
> 
> There is a System Uptime counter on the device summary page, if you go to ITSM \> Device list and click on a computer its on the right column on the first page

@dougaust,  
On the device summary page, I only see Active at, Added at, and DB updated at. Where is System Uptime?

@mkannan,  
I just added the procedure. It works perfectly! Much appreciated.

Looks like I need to learn some Python…

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [September 1, 2016, 3:49pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/6 "2016-09-01T15:49:41Z")

</div>

> [@Ming](#):
>
> @dougaust,  
> On the device summary page, I only see Active at, Added at, and DB updated at. Where is System Uptime?
> 
> @mkannan,  
> I just added the procedure. It works perfectly! Much appreciated.
> 
> Looks like I need to learn some Python…

@Ming ,

You are always welcome. Please let us know if we can help with anything else.

Regarding your question to @dougaust , that information is enabled when you deploy [RMM](https://www.itarian.com/rmm.php) Plug-in agent to your devices for now. But we will also move that information to Comodo Client soon.

Ilker

---

<div class="post-metadata">

**Author:** ![Ming](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@Ming](https://forum.itarian.com/u/Ming)\
**Post date:** [September 1, 2016, 5:38pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/7 "2016-09-01T17:38:55Z")

</div>

> [@Ilker](#):
>
> @Ming ,
> 
> You are always welcome. Please let us know if we can help with anything else.
> 
> Regarding your question to @dougaust , that information is enabled when you deploy [RMM](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/6) Plug-in agent to your devices for now. But we will also move that information to Comodo Client soon.
> 
> Ilker

That makes a lot of sense. I’ll have to fix my login issue to get into [RMM](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/6). Thanks again.

---

<div class="post-metadata">

**Author:** ![rbo](https://forum.itarian.com/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@rbo](https://forum.itarian.com/u/rbo)\
**Post date:** [September 12, 2016, 8:52pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/8 "2016-09-12T20:52:24Z")

</div>

Hello,

I would like to know if you could build me a procedure to have the Bitlocker status of devices drives ?

command must be launched with high privilege account:

```auto
C:\WINDOWS\system32>manage-bde -status
BitLocker Drive Encryption: Configuration Tool version 10.0.14393
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

Disk volumes that can be protected with
BitLocker Drive Encryption:
Volume C: []
[OS Volume]

    Size: 229.23 GB
    BitLocker Version: 2.0
    Conversion Status: Fully Encrypted
    Percentage Encrypted: 100.0%
    Encryption Method: AES 256
    Protection Status: Protection On
    Lock Status: Unlocked
    Identification Field: Unknown
    Key Protectors:
        Password
        Numerical Password
        External Key

```

Maybe you will offer it also as a “compliance indicator” ? 🙂 for “PC with bitlocker (all drives, part of all drives, zero drives)” 🙂

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [September 12, 2016, 9:01pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/9 "2016-09-12T21:01:52Z")

</div>

Sure, let’s start with script…

---

<div class="post-metadata">

**Author:** ![mkannan](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mkannan](https://forum.itarian.com/u/mkannan)\
**Post date:** [September 13, 2016, 10:48am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/10 "2016-09-13T10:48:10Z")

</div>

Hi @rbo ,

Please refer script [https://forum.mspconsortium.com/forum/script-library/4682-bitlocker-status-of-disk-drives](https://forum.mspconsortium.com/forum/script-library/4682-bitlocker-status-of-disk-drives) regarding bitlocker status of disk drives.

---

<div class="post-metadata">

**Author:** ![bizonapage](https://forum.itarian.com/letter_avatar_proxy/v4/letter/b/cab0a1/32.png) [@bizonapage](https://forum.itarian.com/u/bizonapage)\
**Post date:** [September 15, 2016, 3:26am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/11 "2016-09-15T03:26:34Z")

</div>

I’m not sure if this is the right place to ask, but when monitoring sends an email indicating a device has exceeded its CPU, RAM and/or HDD limits can we get a list of the top 5 apps using the resources with the email? Doing so might give a clue of what caused the problems at the time, rather than try to locate it after the fact. Alternatively, is there a procedure for troubleshooting the cause of these warnings?

---

<div class="post-metadata">

**Author:** ![Wyatt](https://forum.itarian.com/letter_avatar_proxy/v4/letter/w/b19c9b/32.png) [@Wyatt](https://forum.itarian.com/u/Wyatt)\
**Post date:** [September 15, 2016, 3:55am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/12 "2016-09-15T03:55:48Z")

</div>

@bizonapage

Hello,

If you are searching for scripts that you can use in ITSM this is the correct place, but since the features that you requested are not available at the current time, we will contact you via e-mail to discuss more about the possible implementation of them.

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [September 15, 2016, 7:03pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/13 "2016-09-15T19:03:54Z")

</div>

> [@bizonapage](#):
>
> I’m not sure if this is the right place to ask, but when monitoring sends an email indicating a device has exceeded its CPU, RAM and/or HDD limits can we get a list of the top 5 apps using the resources with the email? Doing so might give a clue of what caused the problems at the time, rather than try to locate it after the fact. Alternatively, is there a procedure for troubleshooting the cause of these warnings?

We would provide remediation options where you can define procedures to run when there is a monitoring alert. In your use case, you can define a procedure that list top X resource consuming process to be collected and more. Coming soon…

---

<div class="post-metadata">

**Author:** ![rvargas12](https://forum.itarian.com/letter_avatar_proxy/v4/letter/r/50afbb/32.png) [@rvargas12](https://forum.itarian.com/u/rvargas12)\
**Post date:** [September 20, 2016, 8:23pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/14 "2016-09-20T20:23:32Z")

</div>

Hello,

I have tons of useful scripts written in powershell, is there a way to call them from python, I am new to python.  
Also if there is any feature coming to pass parameters when you manually trigger the Procedures, to avoid creating multiple Procedures for the same activity?

regards

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [September 21, 2016, 2:29am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/15 "2016-09-21T02:29:07Z")

</div>

> [@rvargas12](#):
>
> Hello,
> 
> I have tons of useful scripts written in powershell, is there a way to call them from python, I am new to python.  
> Also if there is any feature coming to pass parameters when you manually trigger the Procedures, to avoid creating multiple Procedures for the same activity?
> 
> regards

Sure,

Below is the template you can use. We will post it on script library as well.

```auto
import subprocess;
process=subprocess.Popen(["powershell","Get-Childitem C:\\Windows\\*.log"],stdout=subprocess.PIPE);
result=process.communicate()[0]
print (result)

```

Everyone would appreciate your help if you can also share those useful scripts under script library with forum community!

Thanks in advance,  
Ilker

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [September 21, 2016, 5:46pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/16 "2016-09-21T17:46:15Z")

</div>

Here is the link on Script library:

[https://forum.mspconsortium.com/forum/script-library/4818-execute-powershell-commands-via-python](https://forum.mspconsortium.com/forum/script-library/4818-execute-powershell-commands-via-python)

As additional info, you can also run an existing script with below sample procedure:

```auto
import subprocess;
process=subprocess.Popen(["powershell","C:\\Users\\Stephen\\Desktop\\listlogfiles.ps1"],stdout=subprocess.PIPE);
result=process.communicate()[0]
print result

```

We will also post this on library.

---

<div class="post-metadata">

**Author:** ![mkannan](https://forum.itarian.com/letter_avatar_proxy/v4/letter/m/d78d45/32.png) [@mkannan](https://forum.itarian.com/u/mkannan)\
**Post date:** [September 22, 2016, 10:37am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/17 "2016-09-22T10:37:58Z")

</div>

Hi @rvargas12

Please use below sample script to execute your powershell scripts,

[https://forum.mspconsortium.com/forum/script-library/4822-run-powershell-script-files](https://forum.mspconsortium.com/forum/script-library/4822-run-powershell-script-files)

---

<div class="post-metadata">

**Author:** ![indieserve](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/5f8ce5/32.png) [@indieserve](https://forum.itarian.com/u/indieserve)\
**Post date:** [October 4, 2016, 2:54am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/18 "2016-10-04T02:54:42Z")

</div>

How about a script to remove certain software, like Teamviewer\* or anything matching a regex string that is in Programs and Features?

---

<div class="post-metadata">

**Author:** ![John](https://forum.itarian.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John](https://forum.itarian.com/u/John)\
**Post date:** [October 4, 2016, 11:24am UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/19 "2016-10-04T11:24:02Z")

</div>

Hello @indieserve ,

Thank you for your request. We will get back to you with an update as soon as possible!

---

<div class="post-metadata">

**Author:** ![Ilker](https://forum.itarian.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@Ilker](https://forum.itarian.com/u/Ilker)\
**Post date:** [October 4, 2016, 7:23pm UTC](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035/20 "2016-10-04T19:23:54Z")

</div>

> [@indieserve](#):
>
> How about a script to remove certain software, like Teamviewer\* or anything matching a regex string that is in Programs and Features?

Here it is: [ITarian Forum - ITarian Forum](https://forum.mspconsortium.com/forum/script-library/4949-uninstall-product-using-windows-wmic-tool)

[Next page](https://forum.itarian.com/t/script-requests-itarian-team-will-write-the-scripts-for-you-for-free/46035.md?page=2)
