ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. DustinB3403
    3. Best
    • Profile
    • Following 21
    • Followers 20
    • Topics 938
    • Posts 25,971
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Creating Scheduled Task with Powershell - Using specific user account

      So using the SYSTEM account appears to work, at least when I manually run the task. So meh w/e. It still requires a user to be logged in, which I might see if I can change that flag as I don't want to rely on my users remaining logged in.

      But they likely never sign out either.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @dbeato said in What Are You Doing Right Now:

      Upgrading the last Cisco Firewall I have.

      For today....

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Need some help with crontab

      Ok and that is what it was.

      Simply needed to make a bash script out of it and have it scheduled to run, rather than using the commands directly in cron.

      Problem solved.

      Solution:

      pwd
      /usr/bin/local
      touch expiring-alert.sh
      vi expiring-alert.sh
           /usr/bin/php /var/www/html/snipeit/artisan snipeit:expiring-alerts
       sudo vi /etc/crontab
           35 * * * 1 <user> /usr/local/bin/expiring-alert.sh
      

      Presumably changing this to be @daily or @weekly would work as well.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @thwr said in What Are You Doing Right Now:

      Riped out another bazillion of old cables. Hope that my new switches will arrive soon, still waiting for a nearly a dozen UBNT EdgeSwitches, an ER Infinity and more stuff.

      Make sure to take before and after pictures.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Xen Orchestra - Community Edition - Installing with Yarn

      Are you being prompted to identify yourself to git?

      git config --global user.email "[email protected]"
      git config --global user.name "Your Name"
      
      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @jaredbusch said in What Are You Doing Right Now:

      Heading to St. Louis
      0_1518486130771_AC7B1617-ACBC-4074-BDD4-9E08D02FB74D.jpeg

      Is it just me or does it look like the Flash took this picture while trying to catch up to @JaredBusch . . .

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: The VAR Kickback System and How You Can Make a Good Living from Vendors

      @scottalanmiller but seeing a need to purchase something doesn't mean that he skipped the investigative stage, or that he knows the system is an aging or past end of life and needs to be replaced.

      Now I can agree he shouldn't go out and say "what do I need to buy?" The conversation should be "I need a system that does XYZ, quote it."

      But that isn't what is happening in your scenario. It is John the IT guy going out and saying "We need to use this software, what do I need to run it and check off these boxes?"

      Which I totally agree is a flawed approach.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @StorageNinja adding in the case of "The No true Scotsman" argument just adds more weight to the conversation.

      You are adding features and saying "well it doesn't do this or this or this". When in most cases those features simply aren't required. They are snowflake requirements, that a few (maybe even thousands needed) and were thus developed. But are only accessed behind a license.

      This isn't the case as we're discussing it. The op needs to choose a hypervisor, is clearly misunderstanding what Hyper-V is and has to offer, and how to manage it.

      You're derailing the thread by adding that it "doesn't do all of this". Yet none of these requirements were mentioned.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: SQL Virtulization

      You can keep the 3 VHD's even if they are all provided by a single OBR10, that isn't an issue at all and might make life easier as everything appears the same as how it was setup.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @thwr said in What Are You Doing Right Now:

      @dustinb3403 said in What Are You Doing Right Now:

      @tim_g said in What Are You Doing Right Now:

      @dustinb3403 said in What Are You Doing Right Now:

      So this message just came in:

      Dustin, we heard you work/volunteer for StarWind. This means you can never mention them again.

      Um go fuck yourself, if I did do that I would expect to be paid.

      wtf said that?

      Two guesses, name rhymes with "gave head" but starts with the letter D.

      Wait, you aren't allowed to mention StarWind anymore at 🌶 ? Because you work there? Which - like you said - isn't true?

      Apparently now I work for StarWind which @KOOLER I want all of that back pay you owe me! (obviously I'm kidding) I wish I worked for StarWind probably a great place to work for. . .

      Which of course is complete bullshit as I have never worked for or volunteered for StarWind

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: ADUC: Use Powershell to Export list of User/Groups

      I got you

      # This script will export all users of the specified domain, and their group memberships to a CSV file. The usefulness of this tool is expressed when
      # setting up new hire employees or reviewing domain membership permissions.
      
      # It's not advisable to store the user credentials required to run this script as they can be decrypted. This script is not designed to save these credentials but could be modified to do so.
      
      # Use of this script implies that you understand what it does, and will do to with regards to your Active Directory installation members and group memberships.
      # As designed there are no changes made to your installation, the script simply generates a report of members, and their group memberships. 
      # Any changes to this script are the responsibility of the person/organization which made said changes. 
      
      # We cannot be held responsible for your misuse or misunderstanding of this script as it was designed.
      #
      #
      #
      
      #
      # Imports Active Directory information 
      Import-Module Activedirectory
      $credentials = Get-Credential
      # Prompts for user credentials default user is “   ”, enter an administrator account in the form of “domain-name\administrator-account”
      Get-ADUser -Credential $credentials  -Filter * -Properties DisplayName,EmailAddress,memberof,DistinguishedName,Enabled |  %  {
        New-Object PSObject -Property  @{
      	UserName = $_.DisplayName 
      	EmailAddress = $_.EmailAddress
      	DistinguishedName = $_.DistinguishedName
      	Enabled = $_.Enabled
      # Deliminates the document for easy copy and paste using ";" as the delimiter. Incredibly useful for Copy & Paste of group memberships to new hire employees.
      	Groups = ($_.memberof | Get-ADGroup | Select -ExpandProperty Name) -join ";"
      	}
      # The export path is variable change to desired location on domain controller or end user computer. 
      } | Select UserName,EmailAddress,@{l='OU';e={$_.DistinguishedName.split(',')[1].split('=')[1]}},Groups,Enabled | Sort-Object Username | Export-Csv $ENV:UserProfile\Documents\User-Permissions.csv –NTI
      
      
      #Function Get-SaveFile($initialDirectory)
      #{ 
      #[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") |
      #Out-Null
      #
      #$SaveFileDialog = New-Object System.Windows.Forms.SaveFileDialog
      #$SaveFileDialog.initialDirectory = $initialDirectory
      #$SaveFileDialog.filter = "All files (*.*)| *.*"
      #$SaveFileDialog.ShowDialog() | Out-Null
      #$SaveFileDialog.filename
      #} 
      #
      #
      # open dialog box to select the .nessuss file. 
      #$InputFile = Get-OpenFile
      #$OutputFile = Get-SaveFile
      #
      #
      #$Contents = [io.file]::ReadAllText($inputfile)
      #$Contents = [io.file]::ReadAllText('C:\tools\wd\nessus\data\data.xml')
      #$Global:OutFile = [System.IO.StreamWriter] "c:\tools\wd\nessus\outfile.csv"
      #
      ##$InputFile
      #$OutputFile
      #
      
      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @tim_g said in What Are You Doing Right Now:

      @tech1 said in What Are You Doing Right Now:

      @dustinb3403 said in What Are You Doing Right Now:

      @tech1 said in What Are You Doing Right Now:

      Dreading about what to wear tonight.

      Usually the correct answer is nothing, or something kinky. . .

      hahah I am not about to show up to dinner with the in laws naked to a restaurant and traumatize couples.

      Are you talking about this?
      http://www.foxnews.com/food-drink/2017/11/07/paris-opens-first-nude-restaurant-for-au-naturel-diners.html

      Could I have a different chair. The skid mark is not very appetizing. Thank you.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Getting straight to work

      0_1526392327347_chrome_2018-05-15_09-51-49.png

      As for other services that need to be open immediately, you could always go to Apple, their annoying OS as this functionality at restart to "continue" everything it seems at a reboot or shutdown.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: I can't even

      Found this on the interwebz

      "I have to go to a client's site twice a week, and due to poor connectivity to WiFi in the server room I want to bring in a portable AP so that I can connect to their network. They are too cheap to purchase another AP so this is my only option"

      Why can't you simply take the same patch panel cable you'd connect to this "portable" AP, and plug this directly into your laptop?!

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Seeking an AMD AM4 MicroATX Mobo That Supports Dual HDMI Output

      @scottalanmiller said in Seeking an AMD AM4 MicroATX Mobo That Supports Dual HDMI Output:

      It's for my OWN desktop.

      So why do you care about the components? Just get something off of a shelf that meets your performance requirements.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: I can't even

      What is a hazmat phone and why are they more expensive. . . do they come with the Black Plague preinstalled?

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • Getting PowerShell to provide me the EventLog details in an email

      OK so I have a working script (mostly) it is below.

      # We first need to know which command to use
      Get-Command '*mail*'
      
      # We use the splatting technique to provide the parameters
      $Params = @{
      	SmtpServer = 'smtp.office365.com'
      	Port       = '587'
      	From       = '[email protected]'
      	To         = '[email protected]'
      	Subject    = 'Low Disk Space'
      	Body       = 'These Server Disks are Low on memory.'
      }
      
      # Get-Help explains what this CmdLet does
      #Get-Help Send-MailMessage
      
      # Get-Help can also give you examples on how to use the CmdLet
      #Get-Help Send-MailMessage -Examples
      
      # Retrieve only events of the last 24 hours and select the first one
      $Today = Get-Date
      $Past = $Today.AddDays(-1) 
      $Event = Get-EventLog -LogName System -After $Past | Where-Object {$_.EventID -eq 2013} | Select-Object -First 200
      
      # Add the event to the mail body
      $Params.Body += ' ' + $Event.Message
      
      # Send the mail
      Send-MailMessage @Params -Credential (New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "[email protected]",(Get-Content -Path C:\Windows\system32\[email protected] | ConvertTo-SecureString)) -UseSsl
      

      The issue is that the event logs that get emailed to me for EventID 2013 are blank, nothing there in the body the email I receive.

      I know this works as I can dump another EventID into that field and I get the details.

      What am I missing here?

      posted in IT Discussion powershell automation email system administration
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @scottalanmiller

      Both of them have the "it's to early for this" look on their faces.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Agent and Agentless Backups

      @scottalanmiller said in Agent and Agentless Backups:

      @dustinb3403 said in Agent and Agentless Backups:

      @scottalanmiller said in Agent and Agentless Backups:

      @obsolesce said in Agent and Agentless Backups:

      @scottalanmiller said in Agent and Agentless Backups:

      No agentless system comes close to that.

      What do you mean? Agentless means the VM can have any OS you can dream up and it'll be backed up at the host level as a whole VM, unlike agent-based backup.

      Really? Do AIX or HP-UX then?

      @scottalanmiller you have to take the outliers out of the equation. . . as they are so few and far inbetween that you might as just "build your own backup".

      Look at the 99% of the world and tell me that agentless isn't "good enough" or the best option in most cases.

      Okay. It's not good enough.

      It's not the outliers, that's why I explained carefully above. It's nearly all SMBs and enterprises. They almost all have normal, mainstream things that are not supported by agentless making you either need an agent, or need to script. At which point, any overhead of an agent is moot and we are at equal footing from that perspective. Then the flexibility benefit of the agents tends to win out.

      Show me a shop that things agentless is good enough, and most of the time I'll show you a shop that didn't consider their backup needs and has a critical workload unprotected. Is agentless at fault, no, but that's how it normally goes. They deployed agentless based on a myth, not on some intrinsic value.

      My last job went agentless with XS and XOCE for our AD environment and over 13TB live backup. It was great, nothing to install and it all just worked. Without needing to worry about updating a backup agent on top of the other things that needed to be updated.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: I can't even

      @coliver said in I can't even:

      @nerdydad said in I can't even:

      @dustinb3403 said in I can't even:

      @tech1 said in I can't even:

      @dustinb3403 said in I can't even:

      Oh in other news, I started buying stuff for my on-the-way daughter!

      ok not gonna lie, baby clothes are way adorable because they are so tiny!!!!

      Yea and then I realized I spent $100 bucks for my unborn daughter. . . lol.

      Wait until she's leaving her toys out and she's not even born yet. Yeah, that happened.

      Then you step on them...

      I hear this is a challenge that I need to master.

      cd3.jpg

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • 1
    • 2
    • 26
    • 27
    • 28
    • 29
    • 30
    • 344
    • 345
    • 28 / 345