ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. cli
    Log in to post
    • All categories
    • scottalanmillerS

      List All Users on macOS from Terminal Command Line

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion macos macosx mac command line cli sam macos administration terminal system administration
      1
      2 Votes
      1 Posts
      901 Views
      No one has replied
    • scottalanmillerS

      Windows Server 2019 Need to Download and Run without AV Deleting Files

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows server windows server 2019 windows defender av antivirus cli command line
      11
      0 Votes
      11 Posts
      2k Views
      scottalanmillerS

      @black3dynamite said in Windows Server 2019 Need to Download and Run without AV Deleting Files:

      https://www.thomasmaurer.ch/2016/07/how-to-disable-and-configure-windows-defender-on-windows-server-2016-using-powershell/

      For now, just temporary disable Real-Time Protection via PowerShell
      Set-MpPreference -DisableRealtimeMonitoring $true

      Download the executable and scan it manually before you install
      Start-MpScan -ScanPath C:\datastore\file.exe -ScanType QuickScan

      Enable Real-Time Protection after the install
      Set-MpPreference -DisableRealtimeMonitoring $false

      Excellent, now THAT did it.

    • DustinB3403D

      Enabling root SSH access for OSX

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx macos system administration cli command line shell apple mac macos system administration ssh
      1
      2 Votes
      1 Posts
      2k Views
      No one has replied
    • DustinB3403D

      Using Rsync to remotely backup Apple OSX User profiles

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx terminal rsync command line cli macos macosx mac
      6
      2 Votes
      6 Posts
      1k Views
      DustinB3403D

      Worth noting that using rsync worked very well, but there were issues with the Outlook profile on the existing user workstation and the end result.

      Not a huge issue for us as everything is stored in O365, but worth being mindful of if your email was hosted locally.

      Also because of username convention changes, I had to set the ownership of the user profile to match the new shortened name.

    • scottalanmillerS

      Get Windows Version from Command Line

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion cli command line windows sam windows administration system administration windows 10 registry
      17
      1 Votes
      17 Posts
      2k Views
      scottalanmillerS

      @pmoncho said in Get Windows Version from Command Line:

      No doubt. Currently working on getting Server 2019 DC, DHCP, and RDS working in a lab. A few challenges so far. Was going to try using PS to do many tasks I normally do in GUI (force myself to learn as I go) but decided to put it on the back burner due to frustration. I will get there with PS but it has to wait.

      Unfortunately, no matter how much we want to complain about PS and how Windows has no production-level roadmap at this point and is getting worse by the day, if you are going to run Windows today, PS is how it is done. Issues with PS have only one valid purpose to discuss - to use to explain to management why Windows shouldn't be getting deployed in production workloads, or why risks with it need to be accepted. It's like the licensing issues with Windows, these things all add up to cost and risk and risk is really just cost. It's part of the "decision numbers." Beyond that, it is what it is. If the business actually knows how costly it is and still chooses it, then PS is how you manage it.

      If you deploy and start without using PS, it'll be that much harder to switch later. I know the learning curve is absurd and the whole thing is so much harder than it has any purpose being, but I would bite the bullet if at all possible and learn it now. It'll just be harder later.

    • scottalanmillerS

      Managing Windows Local Users with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows sam windows administration system administration windows administration powershell shell command line cli
      14
      2 Votes
      14 Posts
      1k Views
      scottalanmillerS

      Topic has been forked, please keep discussions of OS comparisons to a different thread.

    • JaredBuschJ

      Get active calls overtime

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion asterisk cli logging
      3
      0 Votes
      3 Posts
      508 Views
      M

      I can't think of a way aside from cron every X seconds. I'd dump it into a csv file with just the timestamp and the number of calls. E.g.

      #!/bin/sh if [ ! -f /var/log/activecalls.csv ]; then echo "Timestamp,Calls" > /var/log/activecalls.csv fi DateTime=`date "+%Y%m%d %H:%M:%S"` echo -ne "\n$DateTime," >> /var/log/activecalls.csv asterisk -x 'core show channels' | grep 'active calls' | cut -d " " -f1

      Which SHOULD create a nice csv for you...

    • DustinB3403D

      OSX Power Saving Settings

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx apple unix cli power management high sierra majove
      4
      1 Votes
      4 Posts
      809 Views
      black3dynamiteB

      @DustinB3403 said in OSX Power Saving Settings:

      @black3dynamite said in OSX Power Saving Settings:

      Does that also prevent it from sleeping when the lid is closed?

      The lid closed is powernap 🙂

      giphy.gif

    • DustinB3403D

      OSX Majove - Applications Quarantine - Fix

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion apple osx unix cli trust applications
      2
      4 Votes
      2 Posts
      658 Views
      DustinB3403D

      So with further testing, a restart is required if the user is using their system, otherwise they'll continue to get the notifications.

    • JaredBuschJ

      Upgrading Nextcloud via CLI

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion nextcloud upgrade cli fedora nextcloud upgrade
      10
      5 Votes
      10 Posts
      4k Views
      JaredBuschJ

      @bnrstnr said in Upgrading Nextcloud via CLI:

      @JaredBusch said in Upgrading Nextcloud via CLI:

      If you change the entire folder to HTTPD_RW it will work without disabling things.

      Ah yeah, probably this. SELinux is a complete mystery to me :man_shrugging:

      ls -lashZ /var/www/html Will show you the context on your Nextcloud folder. Technically, just the Z is for the context

    • DustinB3403D

      OSX is it possible to login to the App Store via the CLI

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion apple osx cli
      10
      0 Votes
      10 Posts
      866 Views
      KellyK

      You might look at the tools that Apple is pushing (and thus supporting). I don't know if Munki will fit your requirements, but it may.

      Here is a list of several projects for managing macOS: https://simplemdm.com/2018/07/19/popular-open-source-tools-for-mac-admins/. NoMAD is pretty cool if you're in a Windows-centric environment.

    • scottalanmillerS

      Get User Last Login from Windows

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows command line cli net user
      18
      1 Votes
      18 Posts
      1k Views
      PhlipElderP

      Via the ActiveDir list:

      https://github.com/CarlWebster

      There are some amazing scripts in there for ADDS but also for XenApp, NetScaler, Citrix, and others.

      Site: https://carlwebster.com/downloads/download-info/active-directory-2/

    • OksanaO

      Several reasons to backup conveniently with updated AWS CLI

      Watching Ignoring Scheduled Pinned Locked Moved Starwind cli amazon aws
      1
      2 Votes
      1 Posts
      444 Views
      No one has replied
    • DustinB3403D

      BackBlaze B2 Download Multiple files and folders at once

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion backblaze b2 download cli
      6
      0 Votes
      6 Posts
      2k Views
      JaredBuschJ

      @BackblazeNathan said in BackBlaze B2 Download Multiple files and folders at once:

      (disclaimer: I work for Backblaze)

      Welcome!

    • gjacobseG

      Check battery status in Linux

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux laptop battery cli
      5
      4 Votes
      5 Posts
      882 Views
      gjacobseG

      @ramblingbiped said in Check battery status in Linux:

      I recommend this: https://github.com/tmux-plugins/tmux-battery

      Will have to give it a look.

      Thanks

    • OksanaO

      Getting hands on Windows Containers with graphical user interfaces

      Watching Ignoring Scheduled Pinned Locked Moved Starwind docker windows gui cli microsoft kitematic portainer dockstation
      1
      3 Votes
      1 Posts
      828 Views
      No one has replied
    • OksanaO

      CLI vs. GUI: advice for VMware admins on which side to pick

      Watching Ignoring Scheduled Pinned Locked Moved Starwind gui cli vmware vsphere
      1
      1 Votes
      1 Posts
      586 Views
      No one has replied
    • DustinB3403D

      Linux Find command

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux cli education learning
      9
      0 Votes
      9 Posts
      1k Views
      DustinB3403D

      @scottalanmiller said in Linux Find command:

      @dustinb3403 said in Linux Find command:

      Hrm. . .

      One more thing, would it be possible to print the last access date to this some how?

      Possible, yes. Easy. No since the find command never shows that.

      Would there be a better approach? I'm trying to create a list of things to make people clean up their crap, and I can show them "hey this hasn't been access in X years. . . delete it or I will"

    • scottalanmillerS

      How To Download Oracle Java Directly to Server without Clicking Accept

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion cli command line wget oracle oracle java java linux
      3
      7 Votes
      3 Posts
      1k Views
      scottalanmillerS

      @coliver said in How To Download Oracle Java Directly to Server without Clicking Accept:

      This is more helpful then you realize.

      I needed it today, so I'm pretty aware how useful it is 🙂

    • EddieJenningsE

      SSH and FreePBX

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion freepbx 13 ssh security sudo cli
      10
      0 Votes
      10 Posts
      7k Views
      JaredBuschJ

      And easy enough to resolve once I look.

      @EddieJennings you should have reminded me to look more earlier..

      /etc/sudoers has it commented out.

      ## Allows people in group wheel to run all commands # %wheel ALL=(ALL) ALL ## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL
    • 1
    • 2
    • 3
    • 2 / 3