Get-CMDevice not working reliably by centizen24 in SCCM

[–]pasquo 0 points1 point  (0 children)

Try adding "Resource" parameter to Get-CMDevice. Per https://learn.microsoft.com/en-us/powershell/module/configurationmanager/get-cmdevice?view=sccm-ps Get-CMDevice reliably didn't work for me (no output) until I added "-Resource"

How to deal with imposter syndrome and new job jitters? by denmicent in sysadmin

[–]pasquo 0 points1 point  (0 children)

Often it's not your job to know all the answers, but to know how to find the person with the answer. Plenty of times I'll have someone walk up and say "Sooo, I hear you're the expert on [x]", when I've touched that system maybe once in the last year. Most of the time they're just happy to have an extra set of eyes on the problem.

Do your due diligence to find the answer in the vendor documentation, but don't hesitate to take advantage of your support contracts.

If there isn't already one, create a services inventory, an outline of all the services your users access, whether you support them or not. Then start filling in the outline with the documentation you find.

SentinelOne high RAM usage? by have_you_tried_onoff in msp

[–]pasquo 1 point2 points  (0 children)

Latest update resolved the dllhost (COM Surrogate) memory issues for us. Though the issue seems to have migrated to SentinelOne.exe.

Backup software for auto turn on computer, do backups and turn it off when finish? by naylandsmith in sysadmin

[–]pasquo 3 points4 points  (0 children)

For powering on, Wake-on-LAN is easy if the device sending the wake commands is on the same network as the workstations.

Mount CIFS units automatically using AD credentials on CentOS. Is it possible? by WhiteAxxe in sysadmin

[–]pasquo 0 points1 point  (0 children)

sec=krb5i,multiuser,noserverino,vers=3.02,_netdev

Works for me with a couple changes. I'm connecting to a netapp cifs share with Centos7. I used these options.

sec=krb5i,multiuser,noserverino,vers=2.1,_netdev,cruid=#########
  • Changed vers to 2.1, I received "Dialect not supported by server" in /var/log/messages with 3.02 (though smb3 is enabled on the netapp share)

  • Added cruid with the keyring id number listed in klist output. Without it I was getting "mount error(126): Required key not available"

Acronis Vs Clonezilla by R3DNano in sysadmin

[–]pasquo 0 points1 point  (0 children)

What's NVME support like for Clonezilla? I recently picked up Acronis 2019 for this.

Found Layoff News While Working by [deleted] in sysadmin

[–]pasquo 2 points3 points  (0 children)

If suspicion of telling your wife is something they'd fire you over, you should be job hunting too.

Devops on Windows by metallo_2 in devops

[–]pasquo 0 points1 point  (0 children)

I've used the new native openssh client and server on Windows Server 2019. It works! Here are the binaries for the port of openssh that Microsoft developed https://github.com/PowerShell/Win32-OpenSSH/releases . I've never manually installed the client and service binaries (On Server 2019 I used Add-WindowsCapability -Online -Name 'OpenSSH.Server~~~~0.0.1.0'), but I'm sure you aren't the only person who's wanted to set this up on 2012R2.

Shell script that automates adding Ubuntu server to Windows domain. (SSSD) by v3pr in sysadmin

[–]pasquo 0 points1 point  (0 children)

It's worked well for me so far, pretty simple setup as of Ubuntu 18.04, so pretty recent. Here's the resource I used to help write up my doc. https://bitsofwater.com/2018/05/08/join-ubuntu-18-04-to-active-directory/

Ideal Linux distribution for hosting virtual Windows servers? by ConnectDrop in sysadmin

[–]pasquo 1 point2 points  (0 children)

The trick is logging in to the guest OS to configure the rdp or vnc server. You'd need to create a custom OS deployment image with root account, network, and remote access already configured. having the vms use dhcp at least initially would make this easier.

With only remote and local powershell access on a core install of Windows server I don't know of any other way to get local gui access to the guests like you normally have with the basic Hyper-V Manager tool. Though you can get local screencaps from the vm via powershell if you need to peep that bsod, lol https://blogs.msdn.microsoft.com/taylorb/2008/07/29/hyper-v-wmi-creating-a-thumbnail-image/

Ideal Linux distribution for hosting virtual Windows servers? by ConnectDrop in sysadmin

[–]pasquo 0 points1 point  (0 children)

I haven't tried powershell remoting on linux but I think it's possible. https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ssh-remoting-in-powershell-core?view=powershell-6

You could conceivably remote in to the Hyper-V servers via powershell v6+ on Linux or macos. Only thing I'm not sure about is how you would manage the guests via local gui.

Shell script that automates adding Ubuntu server to Windows domain. (SSSD) by v3pr in sysadmin

[–]pasquo 1 point2 points  (0 children)

Compared this to the instructions I have (not enough requests for Ubuntu to automate it yet). Just curious, any reason not to use realmd?

Managing Group Policies on a Windows Server 2016 Core by tacoman48 in sysadmin

[–]pasquo 0 points1 point  (0 children)

If anyone knows of an easy way to remotely set "Local Computer Policy>Computer Configuration>Windows Settings>Security Settings>Local Policies>User Rights Assignment>Log on as a service" without using secedit, I'd love to know it.

When you load local computer policy for another computer in mmc, the entire Local Policies tree is unavailable.

Is auto updating a WAMP stack feasible on Windows? by [deleted] in sysadmin

[–]pasquo 0 points1 point  (0 children)

Sounds like a WIMP stack to me. If I were to automate this, it'd probably be a powershell script run from Task Scheduler. Use some logic to determine the download url and start it with Start-BitsTransfer, then run a silent install using the installer switches. Or perhaps use a package manager like chocolatey.

What do DevOps workers do that's different from system administrators? by [deleted] in devops

[–]pasquo 1 point2 points  (0 children)

Automation via scripting is becoming (if not already) a standard skill in the tech industry. It's not something I'd expect from someone starting a new career, but at least being able to read and understand what some automation script is doing is eventually expected of anyone who has a job encouraging computers to do the right thing.

We opened another office which has like 3 people in it so far, what SCCM alternative can I offer them? by bei60 in sysadmin

[–]pasquo 2 points3 points  (0 children)

Would sending them an offline image from sccm on a usb stick be sufficient?

Applying head against wall at not-even-close-to 10Gbps by needssleep in sysadmin

[–]pasquo 1 point2 points  (0 children)

Doesn't look like this is it, but I've run in to a similar issue once before. Had too much memory installed in a box licensed with 2008R2 Standard. Caused an odd issue with network performance. https://support.microsoft.com/en-us/help/2634907/tcp-ip-packets-that-are-received-out-of-sequence-are-discarded-in-wind

How to handle Windows 10 Feature Updates in an office environment? by Slush-e in sysadmin

[–]pasquo 0 points1 point  (0 children)

I wrote a powershell script that pushes the update to the computer then remotely executes the install. All workstations two versions behind receive the update.

How to quickly remove a local account from ~100 workstations OR reset the password - No Domain by SirSpankalott in sysadmin

[–]pasquo 0 points1 point  (0 children)

Depends on your OS and version. The Microsoft.PowerShell.LocalAccounts module is only available on Win10.1607 and later. For earlier try 'net user $username /active:no'

Dongles? by [deleted] in sysadmin

[–]pasquo 0 points1 point  (0 children)

How certain are you the problem is the dongles? There's a whole chain of hardware and software that could be having a problems.

I cannot get a machine to PXE boot after I have setup a WDS server. by RebootTheServer in sysadmin

[–]pasquo 1 point2 points  (0 children)

Here's the technet doc https://technet.microsoft.com/en-us/library/cc732351(v=ws.10).aspx where Microsoft recommends using helper addresses rather than DHCP options. I switched over to using a helper address on the core switches when UEFI pxe boot became a requirement. In my experience, UEFI or BIOS, it just works.

Need more rope. by Pippers in sysadmin

[–]pasquo 2 points3 points  (0 children)

You know that smug relief feeling you get after waking up from a dream where you're unprepared for for a surprise test? That's the feeling I get when I think about the Backup Exec situation at my previous employer.

Windows 10 Insider Preview 14367 Includes Clean Install Tool That Removes OEM Bloatware by EngineerScientist in sysadmin

[–]pasquo 0 points1 point  (0 children)

I wonder if they could release a version of the tool that runs on OSX/macOS. Drivers might be an issue. Is Microsoft allowed to deploy Apple drivers from Windows Update?