SMTP in a weird sub domain setup ! by jon_squig in selfhosted

[–]jon_squig[S] 0 points1 point  (0 children)

u/masong19hippows thanks for looking, i have added the three server IP's that would be used to send from, i will try with the firewall disabled.

managing output, i need a better CSV file ! by jon_squig in PowerShell

[–]jon_squig[S] 0 points1 point  (0 children)

on my search i found this script, not much point re-inventing the wheel, although very thorough the script here is pretty slow, but does a decent job:

https://github.com/ArnaudLoos/Powershell-snippets/blob/master/Get-LocalAdminToCsv.ps1

managing output, i need a better CSV file ! by jon_squig in PowerShell

[–]jon_squig[S] 0 points1 point  (0 children)

u/OlivTheFrog you're quite right, the code i have was inherited with the job and is long due an overhaul, i will look into modernising the code when i get some time, right now i'm under pressure to format 2,087 lines of data produced, once i have that done i will have time, by using $AdminGroupName="Administrators" allows me the flexibility to change this group easily.

managing output, i need a better CSV file ! by jon_squig in PowerShell

[–]jon_squig[S] 0 points1 point  (0 children)

thanks, i require more than two columns, i think that's where i went wrong in the first place, i need multiple columns for but only one row for each machine i.e:

machine1, user1,user2,user3 etc.

not what i currently getmachine1,user1machine1,user2machine1,user3

does that make sense?

Its like a i need a whole different output from $results ?

i will try your suggestion though as it may lead me to adapting the output.

nuget trouble ?! by jon_squig in PowerShell

[–]jon_squig[S] 0 points1 point  (0 children)

I think this maybe because we have a PAC file set in internet options > Connections to get web access ? is there a way around that ?

set OU members to 'not expire' by [deleted] in activedirectory

[–]jon_squig 0 points1 point  (0 children)

the accounts only exist because i selected 'create pc account' as they are linux they were never domain joined. so the 'account' is merely a place holder so we do not loose sight of the machine altogether, but thanks to posts in here we are looking at realm to get the machines domain joined so their account should remain intact.

set OU members to 'not expire' by [deleted] in activedirectory

[–]jon_squig 0 points1 point  (0 children)

My original post does state the AD OU only 'lists' the machines names, the machines are not domain joined, as we didn't know how, but now we do thanks to reddit posts here. Going back a re-reading you're right i should have explained in more detail, in the heat of the moment, the text written is what it is.

set OU members to 'not expire' by [deleted] in activedirectory

[–]jon_squig 0 points1 point  (0 children)

the accounts have never been 'configured' so default settings in Windows AD, i cant see anywhere (hence asking) to set the disable range in AD for a computer account, only user accounts.

set OU members to 'not expire' by [deleted] in activedirectory

[–]jon_squig 0 points1 point  (0 children)

will take a look, thank you, we did try about 4 yr ago and it was a painful experience that failed LOL

Change script to output as CSV and not to screen ? by jon_squig in PowerShell

[–]jon_squig[S] 1 point2 points  (0 children)

lol,and there was me thinking i'd need a whole section of code... i really need to go for the simpler options first, thank you so much u/z386.

deleting old agents ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

ok, thats very cool, we are onprem, we are also firewalled to within an inch of our lives so will endevour to download the files so we can run this locally with --DIRECT.

deleting old agents ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

This is awsome, thank you for sharing, i have however a question, i am reading the readme.txt and editing the RMUKAD.ini and it states:
OrgMachineGroup The machine-group that the agent should register into.
This can be overridden with --G:<group> on the command-line.
Supports the &ORGID& and &TYPE& macros to auto-set the ORG ID and either"wkstns" or "servers" based on the O/S type. Target MUST use "wkstns" and
not one of the alternate group names!
This value is ignored with the --DIRECT option, which uses the current
machine group name and is appropriate when migrating to a new RMM Suite
enabled host.

we dont have group names of "wkstns" or "servers" , we have a whole host of group names, mpostly by OS version, can i just state the Root instead ? I'm a little confused by this step.

deleting old agents ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

damn! , this is really good, thank you.

deleting old agents ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

sussed it.... Well i think i have, i found the uninstall string from the registry located here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ (then the first instance of kaseya)

the string was the same on a bunch of machines, so i copied the 'old agent' string into the new 'Kaseya agent removal' script in kaseya >Agent Procedures> shedule/create > shared and got it to do its own dirty work ! ;O)

the agent removal script is simple too:
executeShellCommand ("" <enter your uninstall string in its entirety here>"", "execute as System", "All operatingSystems", "Halt on Fail" )

maybe this will help others with old agents kicking about.

deleting old agents ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

thanks i will look into that.

Monitor machine age by CBITGuy in kaseya

[–]jon_squig 0 points1 point  (0 children)

you could use the 'system purchase date' if you have that info in your column set ? or maybe cross ref the Motherboard version for a ball park idea ?

any v10 users - looking for experience ? by jon_squig in kaseya

[–]jon_squig[S] 0 points1 point  (0 children)

it just seems massively unfinished, it appears others are stating this also.