Powershell script to search for local user accounts, then provide email address and ost modified date.

Our organisation would uses an RMM tool (Kaseya) to manage several thousand endpoints. I need a Powershell script (most likely) to gather:

1. a list of the user accounts for each Windows 10 PC,

2. provide the email address of each local user account (if there is one; otherwise output 'no email account')

3. provide the last-in-use date (and time; if available) of the email account for each user profile

4. provide a count of the Local-User and Email-Accounts on each PC

5. output data to … this is difficult for me to understand ...

Here is a script from Kaseya, to list local users and 'retrieve it in a text file .. as well as writing it in the Agent Procedure log.'

<?xml version="1.0" encoding="utf-8"?>

<ScriptExport xmlns:xsi="[login to view URL]" xmlns:xsd="[login to view URL]" xmlns="[login to view URL]">

<Procedure name="Get List of Local Users" treePres="3" id="740870575" folderId="742688354078069">

<Body description="">

<Statement description="Get list of local users to local file" name="ExecuteShellCommand" continueOnFail="false">

<Parameter xsi:type="StringParameter" name="Command" value="net users &gt;&gt; #vAgentConfiguration.agentTempDir#\[login to view URL]" />

<Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />

<Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />


<If description="Save list to variable">

<Condition name="TestFile">

<Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.agentTempDir#\[login to view URL]" />

<Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />

<Parameter xsi:type="StringParameter" name="Value" value="" />



<Statement name="GetVariable" continueOnFail="false">

<Parameter xsi:type="EnumParameter" name="VariableType" value="FileContent" />

<Parameter xsi:type="StringParameter" name="SourceContent" value="#vAgentConfiguration.agentTempDir#\[login to view URL]" />

<Parameter xsi:type="StringParameter" name="VariableName" value="userslist" />


<Statement description="Upload file to Getfile folder and write content to Agent procedure log" name="GetFile" continueOnFail="false">

<Parameter xsi:type="StringParameter" name="RemoteFileName" value="#vAgentConfiguration.agentTempDir#\[login to view URL]" />

<Parameter xsi:type="StringParameter" name="KServerFileName" value="[login to view URL]" />

<Parameter xsi:type="EnumParameter" name="Action" value="OverwriteNoAlert" />


<Statement name="WriteScriptLogEntry" continueOnFail="false">

<Parameter xsi:type="StringParameter" name="Comment" value="#userslist#" />


<Statement description="Cleanup file" name="DeleteFile" continueOnFail="false">

<Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.agentTempDir#\[login to view URL]" />




<Statement name="WriteScriptLogEntry" continueOnFail="false">

<Parameter xsi:type="StringParameter" name="Comment" value="The user list could not be retrieved from this endpoint." />






Need a freelancer with experience in this kind of work.

If you know what you are doing, please contact me. Thank you.

There will be on-going work of this nature in future projects also.

Навички: Powershell, Установка скріпту, XML, Shell Script, Робочій стіл Windows

Деталі: provide email accounts users joomla, script create user accounts file, bash script search log files send email, script create user accounts excel, powershell script add user excel file, joomla create user accounts script, powershell script create active directory user accounts excel, create local user account script multiple computers, powershell create user accounts excel, email address contact companies businesses yahoohotmaillisting net, script create local user server 2008, 2003 script create local user password, Looking for freelancer to help me search website and get the email address for company. The amount of data will be 15000-20000. , shell script to create user accounts in linux, find social media accounts with email address free, find social media accounts with email address, migrating ad mobile accounts to local user accounts, powershell script to disable inactive accounts in active directory, powershell script to get user logon information

Про роботодавця:
( 0 відгуки(-ів) ) Richmond, Australia

ID Проекту: #22188667



I am good in powershell along with automation and development, please let me know if you are good to award this project to me

$275 AUD за 5 дні(-в)
(30 відгуків(-и))

11 фрілансерів(-и) готові виконати цю роботу у середньому за $275


Hi, I don't have experience with Kaseya but I do have lots of Powershell experience. We can talk this trough and come up with a solution that will work. I'm open to new challenges and I think this project is interesti Більше

$300 AUD за 7 дні(-в)
(41 відгуків(и))

Hey there, I'm a Systems Engineer with coding skills. I had developed tons of scripts using PowerShell. I can help. Regards.

$300 AUD за 7 дні(-в)
(19 відгуків(и))

Hi, Alastair S.! I read the description of your project thoroughly. I understand your requirements initially and I have experiences of the field. I am a specialist of: * React.js, Angular for Front-end, * .NET Core Більше

$140 AUD за 2 дні(-в)
(3 відгуків(и))

Hello, I am pleasure with your job as detailed. Thank you for the job posting. It’s a pleasure to meet you. I’d really like to work with you on this one if possible! I do have a couple of questions, but first I’d like Більше

$30 AUD за 1 день
(4 відгуків(и))

With respect to this project I would like to present myself as a candidate for your consideration. I have more than 10 years of IT experience. I have successfully completed few projects which involved Programming, scri Більше

$200 AUD за 7 дні(-в)
(2 відгуків(и))

Hello there, Hope you are doing great. We are a small but excellent team of SharePoint developers and designers. We having expertise in every domain of SharePoint like SharePoint customization, custom development, mig Більше

$277 AUD за 3 дні(-в)
(1 відгук)

Hello, I'm Manuel, I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more ple Більше

$140 AUD за 7 дні(-в)
(0 відгуків(и))
$200 AUD за 5 дні(-в)
(0 відгуків(и))

"DALLAS, TX based & AVAILABLE 24X7 TO TALK OVER CALL/CHAT" <<8+ Years of experience in Web technologies >> Hi, I have been through your project description and believe me we have sufficient amount skills to Більше

$1000 AUD за 7 дні(-в)
(0 відгуків(и))

I have experience in powershell scripting for task automation in windows machines. We can use the wmi command to retrieve user accounts and output it in to txt file.. Relevant Skills and Experience 3 years experience Більше

$166 AUD за 7 дні(-в)
(0 відгуків(и))