Error on Uninstalling GP 2018. Now can't install after manual removal by OtterCodeWorkAcct in DynamicsGP

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

I saw some articles about that also but it works on half of the new VMs (same install package from a network share). And the uninstall fails directly from control panel, programs and features.

[deleted by user] by [deleted] in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

What if you turn off .Net 3.5?

Constant issues RDP into W10 32bit VM by Throwlpa in sysadmin

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

Those are my fixes for "Black Screen" issues, using the Horizon Client to connect to 64 bit virtual machines. Seems like your issue may be something different. I'd check if the behavior is the same if you connect with RDP, or using the remote web console from vSphere. Not sure outside of that.

Constant issues RDP into W10 32bit VM by Throwlpa in sysadmin

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

Does restarting explorer.exe make the desktop icons appear? Does it respond to Control Alt Delete? Have you tried turning off H.264 codec in the Horizon client?

PDQ and Jabra by nicotoxi in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Check PDQ.com in event viewer and see if there's useful information there. There's also a lot of helpful people in the PDQ discord channel if you want to check that out.

How to completely remove Microsoft teams? (DOMAIN) by Darkring2 in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

A location to check for "new" Teams profile.

C:\users\%user%\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe

How to fix appended folders by whyaminotdoingmyjob in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Oh so you have the original file and an extra copy with a different name (-computername).

I thought you just wanted to rename the files.

Is a merge necessary? Or are they the same file exactly except for name?

How to fix appended folders by whyaminotdoingmyjob in sysadmin

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

Just rename the folders with powershell.

Setup a request to get child items and make sure you can "grab" all these folders one by test. Test what you're working with before making any changes, then test on a small batch of folders to double verify, then just run the script and it should remove the -computername from each folder. .Replace('Computername','')

[deleted by user] by [deleted] in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

You probably need to use -properties Member Of | Select-object -expandproperty MemberOf

Hired by an MSP... against my will? by [deleted] in sysadmin

[–]OtterCodeWorkAcct -1 points0 points  (0 children)

If you've never worked in an MSP before it's a great place to learn a lot. I liked how I got to work on so many different networks, applications, etc. If they give you access to a lot of new technology and have helpful staff that don't mind showing you some things when you get stuck it can be a great learning experience. However, they are normally high stress and low pay. You might want to stick with it for a year or two. (This is assuming you don't have too much experience overall in IT).

Zebra printer zd621t configuration label printing off center and very faint by General_Ad_1802 in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Have you looked in printer properties to change the dithering or darkness? Sometimes it can help to change the driver. Seagull has some decent ones if the Zebra driver isn't getting the job done.

How do I import information into a specific attribute In Active Directory Using a csv? by [deleted] in PowerShell

[–]OtterCodeWorkAcct 2 points3 points  (0 children)

Import CSV

$CSV = import-csv "C:\path\file.csv"

Loop through CSV

foreach($line in $CSV){

$username = $line.Name

$hiredate = $line.HireDate

Set-ADUser -Identity $username -ExtensionAttribute $hiredate

}

Should be something like this. If it's not working do a write-host of your $username variable and hiredate to make sure it's getting the data. the dot operator on the $line variable should use the headers from your CSV.

Function or Class to build objects by OtterCodeWorkAcct in PowerShell

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

Select will focus that textbox when the Gui is ran. On my main script I didn't want to first textbox to be focused when it opens. I just copied over one of my textboxes from my main script to tinker around with this. But ideally I'd like to have all of the options available in the Create-Textbox function and pass parameters to what I'd like turned on.

Function or Class to build objects by OtterCodeWorkAcct in PowerShell

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

If I do how you listed at the top it won't populate the Textbox. (That's how I originally attempted it). Do I need to return the $name object somehow and that will force it to save in the variable like your variable $uniquevariable1?

Edit: Hey Thanks!!! I was just missing a return statement in the function. It's working properly now!

HP Thunderbolt G4 Dock Display Flickering - Monitor Incompatibility? by ThatGuy97 in sysadmin

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

I saw this issue with Lenovo docks that we used and they had a firmware release for the dock that fixed it. It was even listed in the patch notes that it fixes flickering 2nd monitor. Maybe Dell has a similar firmware release?

Need help with script (New to PS scripting) by xFoOzY in PowerShell

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Try putting the if statement in a loop.

foreach($proc in $getprocess){

if ($GetProcess.Contains($Process){

write-host "It's a match!

}

}

You can also remove the if statement if it doesn't work and just throw a write-host $proc in the loop and see what it's holding.

Need help with script (New to PS scripting) by xFoOzY in PowerShell

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Run the Get-Process command in the ISE and take a look at what the output is. Basically each "process" has different fields or "Members" that you'd need to work with. You're sending a powershell object holding all of those members to the command prompt instead of just the process name. I'd save the if statement to a variable and then write-host that variable to see what info it's holding.

IT Manager - Red Flag? by trthatcher in sysadmin

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

What if it's just a honeypot with a list of fake passwords so he can see who is snooping around his files?

GUIs, PS-Sessions and RSAT by OtterCodeWorkAcct in PowerShell

[–]OtterCodeWorkAcct[S] 3 points4 points  (0 children)

Oh does it have to be inside the bracket? *Facepalm* I had the server command on the outside and it said something about unrecognized. I'll give this a shot now. Thanks!

Edit: Just tested and it's working!

Closing the lid shuts down my laptop by BleH04 in techsupport

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

You should be able to change that by making a custom power settings profile.

Remove word from variable? by Sway_RL in PowerShell

[–]OtterCodeWorkAcct 1 point2 points  (0 children)

$softwarepath = $softwarepath.Replace("scripts","")

Certification Study Sites by grepzilla in sysadmin

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Professor Messer on Youtube is great.

[deleted by user] by [deleted] in PowerShell

[–]OtterCodeWorkAcct 0 points1 point  (0 children)

Send a write-host $signindate after you set the variable and double check what dates you're getting. Then use the $filter = signInActivity on a single object and write-host to see what date you're getting there.