@brandon220 said in Jared - OBS:
I downloaded OBS last week but now my camera has gone missing. Hoping to dive into it soon and make a useful video.
He asked Jared, not you!
@brandon220 said in Jared - OBS:
I downloaded OBS last week but now my camera has gone missing. Hoping to dive into it soon and make a useful video.
He asked Jared, not you!
@DustinB3403 said in File Management removing unprintable characters:
So long story short I have users who use unprintable characters in file and folder paths, such as or the little floating dot.
Can anyone think of some quick way to replace all of these in every folder and sub folder and file with a normal hyphen?
There's some built-in cmdlets to do this pretty easily.
Building on @scottalanmiller's regex, I added the exclusion of punctuation characters, because in my testing, it was replacing the "dot" before the file extension. I did not go looking for a way to just exclude dots. Someone else can do that.
This line will get each item in a directory and subdirectories -Recurse
, and replace any non-"your-language"alphabet character, ignoring regular aphabet/number/punctuation characters.
Here's how I'd go about it:
# Remove the -WhatIf when you are ready to make the changes.
(Get-ChildItem -Path "C:\test" -Recurse | Rename-Item -NewName {$_.Name -replace '[^\p{L}\p{Nd}\p{P}]','-'} -WhatIf)
Using the -WhatIf
switch will allow the code to be ran while telling you exactly what will change, without actually doing it. Remove the -WhatIf
when you are ready to make the changes.
@scottalanmiller said in The Fundamental Flaw in Not Listening to the Boss:
At which point, when do we listen and when do we ignore?
You don't ignore, but IMO you inform/educate them of your expert opinion, then after, you do as told.
@black3dynamite said in Windows 10 1909 is Official:
@PhlipElder said in Windows 10 1909 is Official:
@black3dynamite said in Windows 10 1909 is Official:
Windows 10 1909 x64 is 5GB now.
Is that the Install.WIM file you are talking about?
The iso file.
They including more Angry Birds and Candy Crush type games in the ISO now?
@DustinB3403 said in inetpub\wwwroot deleted somehow. OWA, ECP tanked.:
@G-I-Jones File auditing would at least give you some insight as to what/who might have removed this directory, as for if this was malicious it seems like a small thing to attack if it was so easily recovered.
File auditing would give exact details of who did what and when. I've used this a lot for investigations on Windows servers.
Why don't you list these instead:
Job description:
<A paragraph or two about the position/role.>
Then these listed:
It's not the OS vendor's responsibility to provide drivers for all the hardware in the world. Microsoft doesn't. It's up to the hardware vendor to provide drivers for it's own hardware. If a hardware vendor doesn't provide drivers for your OS of choice, buy different hardware or choose an OS the hardware vendor supports.
Okay, as a very first step for learning, I'd create a simple function (first as a PoC) to consume what you already have... something like this:
(I don't have an sftp server to test with, but seems like it will work)
function Invoke-SFTPDance {
[cmdletbinding(SupportsShouldProcess=$true)]
param(
[object]$Credentials,
[string]$ServerName,
[int]$Port,
[string]$FilePath,
[string]$RemotePath = "/"
)
$Session = New-SFTPSession -ComputerName $ServerName -Credential $Credentials -AcceptKey -Port $Port
Set-SFTPFile -SessionId $Session.SessionId -Localfile $FilePath -RemotePath $RemotePath -Overwrite
Remove-SFTPSession -SessionId $Session.SessionId
}
Invoke-SFTPDance -Credentials $Credential1 -ServerName $SftpServer1 -Port 2222 -FilePath $FilePath1
Invoke-SFTPDance -Credentials $Credential2 -ServerName $SftpServer2 -Port 2222 -FilePath $FilePath2
Invoke-SFTPDance -Credentials $Credential3 -ServerName $SftpServer3 -Port 2222 -FilePath $FilePath3
Invoke-SFTPDance -Credentials $Credential4 -ServerName $SftpServer4 -Port 2222 -FilePath $FilePath4
Then I would start to build in more detail:
function Invoke-SFTPDance {
[cmdletbinding(SupportsShouldProcess=$true)]
param(
[Parameter(Mandatory,Position=0)]
[object]$Credentials,
[Parameter(Mandatory,Position=1)]
[string]$ServerName,
[Parameter(Mandatory,Position=2)]
[int]$Port,
[Parameter(Mandatory,Position=3)]
[string]$FilePath,
[Parameter(Position=3)]
[string]$RemotePath = "/"
)
Begin {
#### PRE-REQS ####
$sshMod = Get-Module -Name Posh-SSH
if (-not($sshMod)) {
Install-Module -Name Posh-SSH
Import-Module -Name Posh-SSH
}
##################
}
Process {
$Session = New-SFTPSession -ComputerName $ServerName -Credential $Credentials -AcceptKey -Port $Port
Set-SFTPFile -SessionId $Session.SessionId -Localfile $FilePath -RemotePath $RemotePath -Overwrite
}
End {
Remove-SFTPSession -SessionId $Session.SessionId
}
}
Invoke-SFTPDance -Credentials $Credential1 -ServerName $SftpServer1 -Port 2222 -FilePath $FilePath1
Invoke-SFTPDance -Credentials $Credential2 -ServerName $SftpServer2 -Port 2222 -FilePath $FilePath2
Invoke-SFTPDance -Credentials $Credential3 -ServerName $SftpServer3 -Port 2222 -FilePath $FilePath3
Invoke-SFTPDance -Credentials $Credential4 -ServerName $SftpServer4 -Port 2222 -FilePath $FilePath4
@DustinB3403 said in Office 365 Suite - User Licensing T&C:
And what I specifically was hoping someone had a link for was to MS's license or T&C saying that "no you can't share an account for multiple people".
It says it right here, in the name of the license, clear as day:
$x.xx PER USER
It does NOT say per device. It does NOT say per account. It says "PER USER". It doesn't matter if you have it installed on 1000 devices. What matters is that each user who uses it is licensed. It's that simple. You go by what it says, not your interpretation of what it doesn't say.
@scottalanmiller said in Zoom meeting access::
here it is needing an install for Edge.
That's odd... here's a fresh install of Win10 using default Edge:
@scottalanmiller said in Zoom meeting access::
@Obsolesce said in Zoom meeting access::
@scottalanmiller said in Zoom meeting access::
I just tried a Zoom meeting again and it absolutely does not open in a web browser. It is very clear that you have to download and install components. It gives me no other option as the person joining a meeting.
It's pretty easy for me...
https://drive.google.com/file/d/1UrkFBafwlwhgqJgyBkBe91uqKuxEc3W9/view
I'm guessing that you have stuff already installed so it doesn't prompt again?
Chrome...
I've tested this several times since Jared told me it was false that it didn't need something installed. But I keep testing, and every time, it gives no option but to install.
Fresh install of Ubuntu Workstation with default Firefox:
I literally have no idea what you are talking about scott.
@DustinB3403 said in Jared - OBS:
I haven't even posted to this until you dragged my name into it.
I didn't... I actually @OBS
and it fixed itself. The systems just knows OBS and \DustinB3403 are one in the same.
@gjacobse said in Power shell syntax: Get- Map drives:
@Obsolesce said in Power shell syntax: Get- Map drives:
Why not do it via Group Policy or other similar means?
It's the state - I don't have access to GP... or much really - and the few scripts I have made, I pulled out since they 'refuse' to use anything with logic...
Then why bother with it?
@scottalanmiller said in Engineering vs Administration - That's what makes Windows and FreeNAS so risky:
Since probably effectively never arise until products are in production, it feels natural to hold admins accountable for the mistakes of engineers. Engineers toss the match over their shoulders and get to walk away. Organizations need to spend more time validating in real time what engineers do, not allow them to take the easy was out, and not leave them out of disaster discussions later.
Maybe in SMB it's like that. But in the larger places I've seen lately the world revolves around an Agile approach and constant feedback between stakeholders, admins, and engineers. There's thorough testing, test groups, pilots, and business pilots. Nobody is playing the blame game on admins that I've seen, not even a hint. The validation of what engineers are doing is huge from what I've seen. Though, definitely not in the SMB.
Maybe in the SMB you have 2 IT dudes, Engineer 1 and Admin 1.... Engineer 1 implements FreeNAS for the company's new storage solution and it fucks up because nobody knows what they are doing. But I can tell you that shit wouldn't wouldn't even pass as a concept in the Enterprises I've seen and talked to.
@PhlipElder said in How can we recover data from Hard Drives were on RAID 10 without controller?:
@manxam said in How can we recover data from Hard Drives were on RAID 10 without controller?:
@PhlipElder : Why did you stop deploying RAID 10? It's about the most fault tolerant and performance oriented RAID config one can get for hardware RAID.
Nope.
Had a virtualization host RAID 10 drive, of six, die.
I popped by, did a hot swap of the dead drive, rebuild started, and I sat for a coffee with the on-site IT person.
About 5 minutes into that coffee we heard a BEEP, BEEP-BEEP, and then nothing. It was sitting at the RAID POST prompt indicating failed array and no POST.
It's pair had died too.
I'll stick with RAID 6 thank you very much. We'd still have had the server.
We ended up installing a fresh OS, setting things up, and recovering from backup (ShadowProtect) after flattening and setting up the array again.
You can't say that. There's way more work being done on the drives with a RAID6, maybe then 3 or 4 drives would have went out close together instead of just two. If you think a RAID10 was the cause of 2 drives dieing, then holy shit a RAID 6 woulda killed 3+.
My guesses are one or more of the folowing:
And by the way, a RAID 10 isn't really a "rebuild". It's not a very disk intensive thing like it is with a RAID 6.
Some sort of authentication is the only way if the app doesn't support built in updating of some kind.
Just because something may be supported, doesn't imply that it is support.
–highbrow
@dustinb3403 said in O365: KUDOS:
What I am against is this desire to praise people for just doing their jobs with anything better than the bear minimum of effort.
Now there's a grizzly mistake...
@vignesh said in Reactjs connection with backend.:
hi im created a llogin form in rectjs.how i store data in backend using nodejs and mysql?
please give some valid url to refer.
Here is a good place to start.