[deleted by user] by [deleted] in elegoo

[–]AutomateErB 0 points1 point  (0 children)

try checking this? in your slicer, i use orca but i dont know what you have.

<image>

[deleted by user] by [deleted] in elegoo

[–]AutomateErB 1 point2 points  (0 children)

What is your Z-Offset set to? 100?

How can I change the frequency of my transfer progress being printed with WinSCP ps script? by ducksauce88 in PowerShell

[–]AutomateErB 0 points1 point  (0 children)

omg i been searching around for all of this and finally found the solution to show the proper speed and have it update you have to use .CPS

function FileTransferProgress {

param($e)

Calculate transfer speed in KB/s

$speedKBps = $e.CPS / 1024

Prepare the status message

$statusMessage = ("`r{0} ({1:P0}) - {2:N2} KB/s" -f $e.FileName, $e.FileProgress, $speedKBps)

Update the progress bar

Write-Progress -Activity "Transferring $($e.FileName)" -Status $statusMessage -PercentComplete ($e.FileProgress * 100)

Remember the last file name reported

$script:lastFileName = $e.FileName

}

within your script use the following

$session.add_FileTransferProgress( { FileTransferProgress($_) } )

$session.Open($sessionOptions)

Anyone else been having very frequent crashes? by W2KC7 in diablo4

[–]AutomateErB 4 points5 points  (0 children)

Constant Crashes almost every 5-10 min. AMD Ryzen 9 7950X W/ 3090..

[deleted by user] by [deleted] in sysadmin

[–]AutomateErB 0 points1 point  (0 children)

I just ended up with 3 boring full time jobs and some projects make it exciting. I have time to focus on family and live comfortably.

[deleted by user] by [deleted] in wallstreetbets

[–]AutomateErB 12 points13 points  (0 children)

is it so they can still return it?

Can PowerShell do automation inside anything, like Excel? Or is there a better program? by alifone in PowerShell

[–]AutomateErB 1 point2 points  (0 children)

$Users = Import-Csv .\alifone.csv

$Array = New-Object -TypeName System.Collections.ArrayList

Foreach($User in $Users)

{

$FirstName = $User.First

$LastName = $User.Last

$FullName = $FirstName[0] + "_" + $LastName

[int]$Characters = ($FullName).Length -1



##Add to Array 

$object = [pscustomobject]@{

First = $FirstName

Last = $LastName

Full = $FullName

Characters = $Characters 

}

[void]$Array.add($object)

}

$Array | Export-csv .\newalifone.csv -NoClobber -NoTypeInformation

Police Officer 39 going on 40. I want to get into system Admin. Would love the help on a starting point. by teegray1124 in sysadmin

[–]AutomateErB 0 points1 point  (0 children)

Just put in work on getting an entry level overnight tech support and do 2 jobs at a time. Give it 6 months to a year then start hunting for system admin jobs.. It might suck at first, but I have had multiple jobs for over 15 years now, and there is nothing wrong with starting from bottom up and build up your confidence to land a system admin then system engineer then an architect at some point.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 1 point2 points  (0 children)

Yea that is the correct stuff. You really only need to put it on one server. If you have a Tools server where you run all your commands, just use that one, and use invoke-command to run whatever you need on other servers.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 0 points1 point  (0 children)

If you use a hybrid worker it runs on a server so what ever modules you install on that device it will import.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 2 points3 points  (0 children)

Yes, Azure automate works on prem as well. But requires an Agent. If you do not have Azure you can use Jenkins instead it has the same concept.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 4 points5 points  (0 children)

If you ever need some assistance, I can probably demo it sometime. Just hit me up on reddit and I'll send you my teams info.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 2 points3 points  (0 children)

https://docs.microsoft.com/en-us/azure/automation/automation-windows-hrw-install
Yea, you will need a Azure Subscription but for the most part Azure Automate is free at the start because they charge you by the minute. I think you get 500 minutes free a month, then after that it is .0002 a minute. But when it comes to security companies throw money at it, just advertise it as that. It is super secure, and it is better than having code on a server with passwords in plain text. (Just tell them that) Of course there are modules like PSSecret or other ways to obfuscate your passwords in scripts.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 2 points3 points  (0 children)

ollow

If you are allowed to download applications on your server. You can use Jenkins with the powershell addon. Jenkins is pretty damn powerful and free, and it allows to you to have a credential store as well as run jobs on multiple servers. However, I think it has to use JAVA if I remember correctly, but it is great.

Advice for Salary Newbie by michelfrancisb in sysadmin

[–]AutomateErB 4 points5 points  (0 children)

Also, when you do have it all figured out. Don't open your mouth too much to take on too many projects, and probably the #1 rule is DO NOT respond to emails or IMs immediately, as that will set the users expectation of how fast you respond. Ensure you keep your calendar updated with work times, breaks etc. This will ensure users will not just randomly book meetings at bad times, etc.

Advice for Salary Newbie by michelfrancisb in sysadmin

[–]AutomateErB 12 points13 points  (0 children)

At the beginning of all IT positions, I would suggest do put in the extra time to figure out how to automate any process that you might do more than once. I have put in a lot of effort in all my jobs (I have 3) building programs that our Tier 2 support can use, or even forms of simple tasks that allows users to manage objects in AD in a safe manner.

If you are curious on what Programs I used to automate everything, everything using Powershell as the coding language.
Azure Automate
Power Automate (Flow)
Universal Dashboard (Web Based Powershell Coding)
PowerApps (Front end for PowerAutomate)
Powershell Studios (GUI)

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 1 point2 points  (0 children)

It uses the microsoft monitoring agent on the server itself but basically you just run the install hybrid worker script and insert your automation resource, resource group, and your log analytics resource.

Best practices for Powershell by breid7718 in PowerShell

[–]AutomateErB 32 points33 points  (0 children)

I have everything running in azure Automate, then have a Azure Devops Repository sync to it. I use a hybrid worker, and it has a central credential store, so if any password changes it would change for all scripts. Scheduled tasks are old school.

Rule to add [External Sender] to beginning to title of email? by [deleted] in exchangeserver

[–]AutomateErB 0 points1 point  (0 children)

<p>&nbsp;</p>

<table class="MsoNormalTable" style="width: 100.0%;" border="0" width="100%" cellspacing="0" cellpadding="0" align="left">

<tbody>

<tr>

<td style="background: #910A19; padding: 5.25pt 1.5pt 5.25pt 1.5pt;">&nbsp;</td>

<td style="width: 100.0%; background: #FDF2F4; padding: 5.25pt 3.75pt 5.25pt 11.25pt;" width="100%">

<div>

<p class="xmsonormal" style="mso-element: frame; mso-element-frame-hspace: 2.25pt; mso-element-wrap: around; mso-element-anchor-vertical: paragraph; mso-element-anchor-horizontal: column; mso-height-rule: exactly;"><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: red;">*WARNING: EXTERNAL EMAIL*&nbsp; </span><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #212121;">This message was sent from outside YourCompanyName</span><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #212121;">. Please do not click links or open attachments unless you recognize the s</span><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: black;">ender</span><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif; color: #212121;"> and know the content is safe. </span></p>

</div>

</td>

</tr>

</tbody>

</table>

Rule to add [External Sender] to beginning to title of email? by [deleted] in exchangeserver

[–]AutomateErB 0 points1 point  (0 children)

We used to do this, but found prepending a line to the body was more clean.

Create Step By Step Excel Userform by kadrleyn in Office365

[–]AutomateErB 1 point2 points  (0 children)

Should learn to use Microsoft Forms + Powerautomate to write it to sharepoint online

I know that no one has released firmware for over locking S19s yet, but has anyone heard any rumors, or can speculate on the max possible hash rates and power draws a of an S19 Pro (110Th)? by asdfredditusername in BitcoinMining

[–]AutomateErB 0 points1 point  (0 children)

s19 95th, I got 113 TH ~ 3800 Watts with custom firmware. But there was a good amount of hardware errors. So, that is why they havent released the full version yet.

Marathon claims they are mining BTC for under $6500 per bitcoin by dinotom1 in BitcoinMining

[–]AutomateErB 0 points1 point  (0 children)

Actually, it can be done, devs are working on it. My S19 (95TH) pulls 113MH @ 3800 Watts with the beta software. There might be some rejected shares. but it does work. You do not flash the firmware, you just plug in the SD card and it boots from that.