I just passed my CompTIA Security+ exam.
Best posts made by Grey
-
RE: Disk Errors - Would this concern you?
@MattSpeller said in Disk Errors - Would this concern you?:
@Harry-Lui said in Disk Errors - Would this concern you?:
I'd call Synology and see what they say.
I will thank you
-
RE: MangoCon 2017
@scottalanmiller said in MangoCon 2017:
@Grey said in MangoCon 2017:
@StrongBad said in MangoCon 2017:
I guess Greyhound has improved a lot over the years. I hear that they have power and WiFi now.
Fancy.
You just like the name.
-
RE: Scale HC3 cluster for sale
@mroth911 said in Scale HC3 cluster for sale:
Hc1150 3.38tb raw storage/1.74tbu 64gb ram
Support ended need to renew support contract
-
RE: Shots for Scott
@scottalanmiller said in Shots for Scott:
I lived in Romania and had moonshine for breakfast, literally. You don't scare me.
https://images-na.ssl-images-amazon.com/images/S/sgp-catalog-images/region_US/20th_century_fox-132242-Full-Image_GalleryBackground-en-US-1483993797644.RI_SX940.jpg
Time to break out the tequila, boys! -
Minecraft Groundhog Day
I'm thinking I might roll back the minecraft server every day in February until people figure out Groundhog Day.
-
RE: What Are You Doing Right Now
@wirestyle22 said in What Are You Doing Right Now:
Well, with a lot of help from @dashrender, I successfully demoted two problem Domain Controllers and fixed my add network printer list not populating. The DC's were two standalone servers and free up two servers for use as VM Hosts.
https://cdn.meme.am/cache/instances/folder655/500x/34774655.jpg
-
RE: What Are You Doing Right Now
@NerdyDad said in What Are You Doing Right Now:
Kind of lost hope and faith in Spiceworks, as a company.
It's really sad that so many people are leaving Spiceworks due to so many fixable problems. Interestingly, it's all the fault of the CEO because that's where all blame eventually lies in a company, despite the 3 envelope joke. Since we know that Jay has a marketing background, it's super obvious to see why things are failing at a company that, at it's core and slogan, was designed for IT. They've shifted to marketing their mistake, the community, and it's clearly hurting them. I predict that, unless Jay realizes that his boat is headed for Davy Jones' Locker, that ship is going to sink before anyone realizes it, if it hasn't already. People are already leaving the app and community in rafts and competitors like ManageEngine are just cheering.
At the very least, we can thank them for bringing people like Scott and most of the people in this community together. I hope that MangoCon picks up steam and is a viable event to replace SpiceWorld when it finishes circling the drain.
Should we start a deadpool on their community?
Latest posts made by Grey
-
RE: Need a tool to share tasks with client staff
Trello. You can see how the Subnautica team used it to show their development. https://trello.com/b/yxoJrFgP/subnautica-development
-
RE: IPv6 New Deadline for Adoption
@scottalanmiller said in IPv6 New Deadline for Adoption:
At this point 2148 feels a little ambitious.
Right? It's weird that March was both last month and it's also next month, so 2148 is going to be at least an eternity.
-
RE: What Are You Doing Right Now
@dafyre said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@jt1001001 said in What Are You Doing Right Now:
Troubleshooting weird switch issues; looks like we lost a VLAN power cycled switch and everything came back. Then the AP's all started having weird issues. Second power cycle and everything's settled down. Starting to see why @JaredBusch is not a fan of Netgear (this is my only Netgear switch in the company). Keeping an eye on it.
Very few people here are fans of Netgear switches I believe.
I love their dumb switches. No experience with their newer stuff.
Check out this cute little fella! Runs off PoE, too.
https://store.ui.com/collections/unifi-network-routing-switching/products/usw-flex-mini
-
RE: Pi-hole dumps on Fedora
@VoIP_n00b said in Pi-hole dumps on Fedora:
Just switch to AdGuard Home already
I seem to recall AdGuard was embroiled in something where advertisers were paying to be whitelisted. Maybe it was a different product?
-
RE: NC: Download direct from Plex
Why are you trying to share with all of North Carolina?
-
RE: UniFi Protect G3 Instant - Unboxing, review, and comparison
But it's part of 'protect' so pretty fuckin' worthless.
-
RE: Powershell to unhide all files and copy to nextcloud folder
@JaredBusch said in Powershell to unhide all files and copy to nextcloud folder:
@Grey said in Powershell to unhide all files and copy to nextcloud folder:
@JaredBusch But why robocopy?
Because it does at least skip the ones with no changes.
Why get convoluted with Powershell to do the same?
Not every system may have Robocopy.
-
Powershell for Snapshot Management
3 scripts to help you manage your snapshots:
I think I posted this one before, but I'm including it for completeness.
take-SnapsInteractively.ps1############################# # # Simple process to take a list of vm guests and take snapshots. # VM Guests lists one per line. # # -- Grey Howe Nov 5 2020 # ############################# ############################# # Variables # # Change this to your VSphere server name: $viserver = "" # Use your favorite format or leave as is: $date=get-date -format FileDate # # End Variables ############################# cls Write-Host -ForegroundColor cyan "------------------------------------------------------------`nMake snapshots based on a list in a file.`n------------------------------------------------------------" $file = "$($ENV:USERPROFILE)\desktop\systems.txt" do{Write-Host -ForegroundColor Cyan "Is your file ready?" $ready = (Read-Host -prompt "(q)uit, (Y)es, (n)o").ToLower()} while ($ready -notin @('q','y','n','')) if($ready -eq ''){$ready = 'y'} if($ready -eq 'n'){ $nptest = Test-Path 'C:\Program Files\Notepad++\notepad++.exe' if($nptest -eq $true){ Write-Host -ForegroundColor Cyan "Edit your file and rerun when ready." & "C:\Program Files\Notepad++\notepad++.exe" $file} else{ & $env:windir\system32\notepad.exe $file throw "You're not ready yet. Ending." } } if($ready -eq 'y'){ try {$vmlist = Get-VM |where {$_.guestid -like "dev" -and $_.Name -notlike "*replica*"} } catch [VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ViServerConnectionException]{ write-host -ForegroundColor yellow "Caution: No VIServer connection present. Please wait..." Connect-VIServer -Server $viserver -verbose:$false -WarningAction 0 $vmlist = Get-VM |where {$_.guestid -like "dev" -and $_.Name -notlike "*replica*"} } $systems = get-content $file # Run in test mode? do{Write-Host -ForegroundColor cyan "`nRun in test mode? " -NoNewline $test = (Read-Host -prompt "(Y/n)").ToLower()} while ($test -notin @('y','n','')) #Fix 'default' and proceed to test mode. if($test -eq ''){$test = 'y' # test mode Write-Host -ForegroundColor Green "Test mode on the following systems:" $systems|write-host -ForegroundColor Green # Name the new snaps automatically, without asking, just to show work. $name = "$($env:USERNAME)-test" foreach($guest in $systems){ get-vm -Name $guest|ft New-Snapshot -vm $guest -name $name -Verbose -whatif } # Exit Test Mode } ###### Active mode elseif($test -eq 'n'){ Write-Host -ForegroundColor Yellow "Caution: Proceeding to make real snaps." $systems|write-host -ForegroundColor Yellow # Establish what to name the new snaps. Write-Host -ForegroundColor Cyan "Enter name for snapshots.`nENTER for '$($env:USERNAME)':" -NoNewline $name = read-host Write-Host -ForegroundColor Cyan "Purpose & requestor of these snapshots: " -NoNewline $reason = Read-Host # Fix 'default' name. if($name -eq ''){$name = "$($env:USERNAME)-snap"} foreach($guest in $systems){ get-vm -Name $guest|ft New-Snapshot -vm $guest -name $name -Verbose -Description "$($env:USERNAME)-$($reason)" -RunAsync } } } # Quit if($ready -eq 'q'){ Write-Host -ForegroundColor Cyan "Quitting." }
get-SnapList.ps1
###### Variables # Change this to your VSphere server name: $viserver = "" ###### End Variables try {$vmsnaps = get-vm | Get-Snapshot| ?{$_.name -notlike "*veeam*" -and $_.name -and $_.name -notlike "*rest*" -and $_.name -notlike "*repl*"}|select vm,name,description,created,@{l='SizeInGB';e={($_.SizeGB).tostring("#.#")}} |sort created|ft -AutoSize $vmsnaps} catch [VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ViServerConnectionException]{ write-host -ForegroundColor yellow "Caution: No VIServer connection present. Please wait..." Connect-VIServer -Server $viserver -verbose:$false -WarningAction 0 $vmsnaps = get-vm | Get-Snapshot| ?{$_.name -notlike "*veeam*" -and $_.name -and $_.name -notlike "*rest*" -and $_.name -notlike "*repl*"}|select vm,name,description,created,@{l='SizeInGB';e={($_.SizeGB).tostring("#.#")}} |sort created|ft -AutoSize $vmsnaps}
remove-snapsInteractively.ps1
###### Variables # Change this to your VSphere server name: $viserver = "" ###### End Variables $l = 0 try {$vmsnaps = get-vm | Get-Snapshot| ?{$_.name -notlike "*veeam*" -and $_.name -and $_.name -notlike "*rest*" -and $_.name -notlike "*repl*"} } catch [VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ViServerConnectionException]{ write-host -ForegroundColor yellow "Caution: No VIServer connection present. Please wait..." Connect-VIServer -Server $viserver -verbose:$false -WarningAction 0 $vmsnaps = get-vm | Get-Snapshot| ?{$_.name -notlike "*veeam*" -and $_.name -and $_.name -notlike "*rest*" -and $_.name -notlike "*repl*"} } # Add 'Line' numbers to the array. $vmsnaps | %{$_ | Add-Member -NotePropertyName Line -NotePropertyValue $l -Force; $l++} # Display the list of snapshots, sorted by age. $vmsnaps |select Line,vm,name,description,created,@{l='SizeInGB';e={($_.SizeGB).tostring("#.#")}} |sort created|ft -AutoSize do { # Determine, by input, which snapshot to eliminate. $remLine = Read-Host -Prompt "Enter 'Line' number to remove" # Remove the requested snapshot. Remove-Snapshot $vmsnaps[$remLine] -runasync $quit = Read-host -prompt "Remove another?" } until ($quit -eq 'n') Write-host -ForegroundColor Cyan "`nEnd of Line."
This last one isn't as 'pretty' as the other 2, but it gets the job done. Enjoy!
-
RE: What Are You Doing Right Now
@JaredBusch said in What Are You Doing Right Now:
company meeting
Willy needs to do some dishes and take out the trash, Mike could add some tinsel to his taxidermy, and clearly Bill is deep in thought.