Cerrado

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" />

</Statement>

<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="" />

</Condition>

<Then>

<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>

<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>

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

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

</Statement>

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

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

</Statement>

</Then>

<Else>

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

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

</Statement>

</Else>

</If>

</Body>

</Procedure>

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.

Habilidades: Powershell, Instalación de scripts, XML, Shell Script, Windows Desktop

Ver más: 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

Información del empleador:
( 0 comentarios ) Richmond, Australia

Nº del proyecto: #22188667

11 freelancers están ofertando el promedio de $275 para este trabajo

pilica

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 Más

$300 AUD en 7 días
(41 comentarios)
5.5
AhmadSameer

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

$300 AUD en 7 días
(19 comentarios)
4.8
goodwork20k

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 en 5 días
(27 comentarios)
5.0
luiswilliam

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 Más

$140 AUD en 2 días
(3 comentarios)
4.8
sodiqa32

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 Más

$30 AUD en 1 día
(4 comentarios)
3.4
narsim3128

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 Más

$200 AUD en 7 días
(2 comentarios)
2.5
bdrudra

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 Más

$277 AUD en 3 días
(1 comentario)
2.2
ManuelMoses

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 Más

$140 AUD en 7 días
(0 comentarios)
0.0
$200 AUD en 5 días
(0 comentarios)
0.0
otssols

"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 Más

$1000 AUD en 7 días
(0 comentarios)
0.0
tpsrinivasan

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 Más

$166 AUD en 7 días
(0 comentarios)
0.0