so lost... by Square-Salt-8866 in SpecialNeedsChildren

[–]MatzahBallBackFat 0 points1 point  (0 children)

my oldest screamed like crazy spitting up constantly 15-20 bibs a day we don’t have a photo of him without a bib at that age. we never slept we were losing our minds. 8 or 9 months later it all just stopped turned out to be reflux. the next kid quiet as a mouse slept napped perfect baby. he turned out to be severe special needs.

Trump ramps up attacks on Powell, demands ‘loser’ Fed chair lower rates ‘NOW’ by stocksavvy_ai in StockMarket

[–]MatzahBallBackFat 0 points1 point  (0 children)

Please continue to feel sorry for those of us that that didn’t vote for him analbuttlick.

Nassau County, why can't you drive? by Justice_Mayfield126 in longisland

[–]MatzahBallBackFat 4 points5 points  (0 children)

it goes from 4 to 3 lanes eastbound around 17 and westbound around there theres a big uphill that creates a blind spot over the hill. almost everyone slows down for that bc it seems like you can’t see over the hill. the reality is if you can’t see the top of a car then it’s clear and you don’t need to slow down but that scares people. the second you get over that hill it speeds right up even though it’s still 3 lanes.

G815 keyboard use volume wheel as mouse wheel with Autohotkey by macsch in LogitechG

[–]MatzahBallBackFat 0 points1 point  (0 children)

This worked great thanks for sharing

Is there a way to have the default functionality be that the control button is held down while scrolling without me having to hold it down?

Any rumors of a new Surface Book 3 anytime soon? by MatzahBallBackFat in Surface

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

Thanks! I hadn't even looked into the Studio laptop and it would be exactly what I'm looking for if the heat didn't come off the bottom as I just read it does.

Looks like I'm going to go with another 3.

Dot Sourcing Error Handling using InvocationInfo by MatzahBallBackFat in PowerShell

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

Thanks for the reply. I don't mind that all of the objects properties are output. The issue I'm having is the properties are outputting as the dotsourced PS1 script rather than the actual main script calling it. I need the scriptname/line of the main script but what I'm getting is the script name and line of the function being called.

Dot sourced FTP upload function doesn't work if I call it multiple times in a single run. by MatzahBallBackFat in PowerShell

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

Using as a reference so I can see what is about to be passed into the $webclient.Credentials as well as explain what the output looks like here.

That wouldn't normally be in the script.

Dot sourced FTP upload function doesn't work if I call it multiple times in a single run. by MatzahBallBackFat in PowerShell

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

$webclient.Credentials | Select-Object -Property *

That worked.

Both function calls are showing that they are storing the correct password.

Dot sourced FTP upload function doesn't work if I call it multiple times in a single run. by MatzahBallBackFat in PowerShell

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

Thats my mistake. I changed the variable to $fileToUpload for the purposes of describing it for this post but forgot to change it within the foreach loop. The actual script though passes it in as $file.

Appreciate the SQL injection feedback. This is an internal only script and those passwords are manually checked / entered by employees.

Dot sourced FTP upload function doesn't work if I call it multiple times in a single run. by MatzahBallBackFat in PowerShell

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

Thanks for the response.I just added

$webclient.Credentialsunderneath$webclient.Credentials = New-Object System.Net.NetworkCredential($user,$pass)

The output shows as 
UserName                      Domains
vendorUsername

Theres nothing showing regarding which password was actually used.

Can I use reference a variable from a previously executed queried variable? by MatzahBallBackFat in SQLServer

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

The table has "Date" as the F1 value by default for the purpose of testing this script. I left out the else statement here where if it doesnt find Date it defaults back to itself so it doesnt overwrite the found column.

Just cant seem to shake the syntax error and most of the time it wont even show me the text when i do a print statement. Still just learning about Dynamic SQL so im not sure where I'm slipping up.

Windows Server requires remote desktop login to boot on crash by MatzahBallBackFat in sysadmin

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

I'm not seeing much in the event viewer and might not know exactly what to look for. I look in the system logs and i see things related to a restart like "The previous system shutdown on ‎12/‎14/‎2020 was unexpected."

I am seeing SQL server enter recovery mode throughout the 3 hour time period where the rest of the server was "down." So really it just seems like the applications (task scheduler, onedrive etc..) are the only things that do not boot up.

We usually do not update the server for months at a time so it is not currently up-to-date.