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

      Windows CLI - Find long Filepaths and compress to zip

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows command line compression file path file system long file name powershell cmd
      3
      2 Votes
      3 Posts
      629 Views
      gjacobseG

      Long file names can be a serious pain... for copy and backup reasons.

      I recall a NTG client that used a long name for the directories,.. and it made updating nearly impossible Should follow the KISS method... Directory names don't need to be 120 characters long,.. and four deep.

    • DustinB3403D

      OSX Setup via Command Line - Specifically VPN network

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx command line setup configuration apple management
      4
      0 Votes
      4 Posts
      880 Views
      DustinB3403D

      I got it from here

      brew install macosvpn

      sudo macosvpn create --l2tp Atlantic --endpoint atlantic.example.com --username ' ' --password ' ' --shared-secret s3same

      You can provide ' ' for both the username and password, this allows any user to fill in as required.

    • DustinB3403D

      Dumb question - linux dd write 0s to multiples disks at once

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion linux dd command line
      38
      1 Votes
      38 Posts
      4k Views
      stacksofplatesS

      @manxam said in Dumb question - linux dd write 0s to multiples disks at once:

      @stacksofplates : Now you're just showing off πŸ™‚

      Ha I didn't mean for it to look like that, but you did make me realize I made a mistake so I'll have to fix it. Make has a lot of uses outside of jsut building software. It's a pretty awesome utility.

    • 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/

    • mlnewsM

      Starting Windows 10 Directly and the Command Prompt

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows 10 toms hardware command line
      3
      1 Votes
      3 Posts
      592 Views
      dbeatoD

      MM that is just troubleshooting but it is not loading without the recovery disc or recovery partition. Safemode is a pain as well.

    • JaredBuschJ

      Reboot a Yealink phone from the command line of a FreePBX system

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion yealink command line reboot
      17
      3 Votes
      17 Posts
      8k Views
      bbigfordB

      @scottalanmiller said in Reboot a Yealink phone from the command line of a FreePBX system:

      @dbeato said in Reboot a Yealink phone from the command line of a FreePBX system:

      @jaredbusch said in Reboot a Yealink phone from the command line of a FreePBX system:

      @dbeato said in Reboot a Yealink phone from the command line of a FreePBX system:

      some changes to the configuration of the phone.

      This is one reason I want it done, but rarely do i need to do it from the PBX itself.

      Because I create my own config files, I do not get the magic "rebuild config and reboot" button that the paid EPM has in FreePBX.

      Generally I only need this when things happen like today when an internal FreePBX system went unexpectedly offline and was rebooted along with the entire Hyper-V server.

      BLF subscriptions seem to not update real well to events like that.

      Understood, talking about the Paid EPM, Do you see a reason to use it in the Small Business World?

      Loads. Even for internal staff, why walk to a phone if you can reboot from your desk?

      I like the exercise. πŸ™‚

    • DustinB3403D

      watch du -sh and highlight changes

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux command line putty file storage
      17
      1 Votes
      17 Posts
      2k Views
      scottalanmillerS

      Like this...

      watch "echo Old Size Was: 38M; du -shx /tmp"
    • 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 πŸ™‚

    • scottalanmillerS

      Creating an Active Directory Group with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell windows administration windows command line active directory new-adgroup get-adgroup
      4
      1 Votes
      4 Posts
      2k Views
      scottalanmillerS

      @travisdh1 said in Creating an Active Directory Group with PowerShell:

      Gah, I'm having bad memories of OpenVMS with the different programs for every single little thing.

      It does make for a nice looking and short command-line structure tho.

      Oh yeah, SO much different than UNIX.

    • scottalanmillerS

      Using cd to Change Drive Letters on Windows

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows administration command line
      3
      2 Votes
      3 Posts
      963 Views
      scottalanmillerS

      Yeah, but this was explaining why cd does not work as expected.

    • scottalanmillerS

      Set Office 365 Passwords to Never Expire

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows azure windows administration powershell office 365 o365 command line
      1
      2 Votes
      1 Posts
      860 Views
      No one has replied
    • scottalanmillerS

      Add Whitelist Entries in Office 365

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion office 365 o365 azure windows windows administration powershell command line
      3
      1 Votes
      3 Posts
      1k Views
      scottalanmillerS

      @momurda said in Add Whitelist Entries in Office 365:

      If you run this command again with different addresses/domains, doesnt it overwrite the previous items in the list, unwhitelisting your previous whitelist addresses?

      Correct, this is setting the list. You'd have to append the new ones to the command.

    • scottalanmillerS

      Change a User’s DisplayName on Office 365 with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows administration office 365 o365 powershell command line
      1
      1 Votes
      1 Posts
      12k Views
      No one has replied
    • scottalanmillerS

      Change an Office 365 Mailbox Timezone with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion office 365 powershell command line windows administration office 365 administration
      1
      1 Votes
      1 Posts
      763 Views
      No one has replied
    • scottalanmillerS

      Shutdown or Restart Windows from the CMD Command Line

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows command line cmd
      6
      1 Votes
      6 Posts
      2k Views
      gjacobseG
      @echo off setlocal :REQUEST set /p REQUEST="Logoff, Shutdown, Reboot or Abort? L/S/R/A " if /i %request%==l goto logoff if /i %request%==s goto timer if /i %request%==r goto timer if /i %request%==a goto abort goto REQUEST :logoff shutdown -f -l goto exit :abort shutdown -a goto exit :timer set /p TIMER="Wait how many seconds? " if /i %request%==s shutdown -f -s -t %timer% if /i %request%==r shutdown -f -r -t %timer% :exit
    • scottalanmillerS

      Join Windows to Domain from the Command Line with CMD

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows active directory netdom command line
      1
      2 Votes
      1 Posts
      728 Views
      No one has replied
    • scottalanmillerS

      Rename the Local Windows Server from the Command Line without PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows command line
      2
      3 Votes
      2 Posts
      680 Views
      scottalanmillerS

      Totally coincidence that I posted this same topic for PowerShell yesterday and today I started moving over my Windows Admin blog content and the first post over there was the same topic, but without PowerShell!

    • scottalanmillerS

      Building a First Active Directory Domain Controller on Windows 2012 R2 Core

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion active directory server core windows windows server windows server 2012 r2 windows server core powershell command line sam windows administration domain controller install-addsforest install-windowsfeature
      11
      7 Votes
      11 Posts
      3k Views
      coliverC

      @IRJ said in Building a First Active Directory Domain Controller on Windows 2012 R2 Core:

      @thwr said in Building a First Active Directory Domain Controller on Windows 2012 R2 Core:

      @coliver said in Building a First Active Directory Domain Controller on Windows 2012 R2 Core:

      @thwr said in Building a First Active Directory Domain Controller on Windows 2012 R2 Core:

      @IRJ said in Building a First Active Directory Domain Controller on Windows 2012 R2 Core:

      Good article. There is ZERO reason to have a GUI on a Domain Controller. Everything can be done through Server Manager on Windows 10/8

      You mean RSAT πŸ˜‰

      Both? You can do a lot of directory management through Server Manager as well.

      Ok, agree. Just don't like the Server Manager this much, ugly interface. I want to be sure WHICH drive on WHICH host I'm going to format for example. But that is just my personal opinion and I'm more or less a console fetishist πŸ˜‰

      But when it comes to ADSIedit or AD sites, you really want to have RSAT.

      huh?

      0_1469044083616_2016-07-20_15-47-37.png

      Those options are generally only there is RSAT is installed.

    • scottalanmillerS

      Installing ZeroTier on Windows Server 2012 R2 with Chocolatey

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion zerotier chocolatey windows windows server command line powershell windows server 2012 r2
      12
      4 Votes
      12 Posts
      6k Views
      StrongBadS

      Sweet. Thanks for getting this for us @adam-ierymenko

    • scottalanmillerS

      Renaming a Windows Computer from the Command Line

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows server windows desktop powershell command line rename-computer sam windows administration hostname netbios netbios name
      10
      5 Votes
      10 Posts
      3k Views
      IRJI

      @scottalanmiller said in Renaming a Windows Computer from the Command Line:

      @IRJ said in Renaming a Windows Computer from the Command Line:

      @scottalanmiller said in Renaming a Windows Computer from the Command Line:

      @IRJ said in Renaming a Windows Computer from the Command Line:

      I learned something new today. I have been using the shutdown command for years. I never realized you could rename a PC with it.

      shutdown doesn't do the renaming, you just have to reboot after you rename.

      I use "m" instead of c for computer name

      /c is the comment for the logs to tell them that you just "Renamed Machine", it doesn't rename it, it literally puts "Renamed Machine" into the reboot logs.

      Ok. Got ya.

    • 1
    • 2
    • 3
    • 2 / 3