Jump to content

dayzd

Members
  • Posts

    488
  • Joined

  • Last visited

Reputation

519 Excellent

2 Followers

About dayzd

Personal Information

  • Location
    In front of computer
  1. So, technical people, once again I need some help. I need some more storage space for backups at my job. We can't afford to go to a named vendor for a proper SAN, so I'm looking to build a Samba/SMB-based 50+TB storage device to hold block-level VM backups (from Veeam, if anyone cares to know). I can probably afford to buy either 24x 4TB disks or 18x 6TB disks, but not 24x 6TB disks. With these I'd have 96 or 108TB of raw storage that by default, my brain wants to use in a RAID10 equivalent to get me 48/54TB-ish usable space. What I'm looking for is advice on how to set up the disks. I don't want to use Windows and ideally there'd be no hardware controller requirement - I'd prefer the array was portable if I ever need to connect it up to a different machine or change hardware. I'm relatively familiar with Linux (mostly Ubuntu) and have a little experience with ZFS, so I'm not afraid to get my hands dirty... Should I consider a different filesystem/array layout? Is ZFS a good choice for long term, backup storage? I've heard people talk about Ceph, but I know little about it. Should I look at it for this purpose? I'm not fully versed in Unraid, either. Would that make sense here? Given a pile of relatively large disks, how would you get the most out of them, when all-out speed is not your priority and reliability and longevity is? Thanks in advance or your suggestions!
  2. I've had similar sound difficulties in the past, but with files rather than folders that I can't take ownership of. If I recall, renaming and moving still works, but I can't reset permissions. With those files, I've copied them to an external USB drive or a non-domain file share then back again, and the permissions difficulties vanish. Are you able to copy the folder to a different drive?
  3. Total cost will depend how much you put in the cloud. My provider currently charges £55/TB.
  4. Hi, people who are more experienced with Exchange that I am! I'm testing out some scripts to search all my users' mailboxes and have come up wanting. I've sent myself a few emails with a few attachments in, each containing a keyword I'd later search for. Some of these have been returned correctly, but a few have not. In particular, Excel .xlsx files. To test further, I emailed myself a second spreadsheet called 'testexcelthesecond.xlsx' and it contains two words: 'helicopter' and 'discombobulate'. I've run the following search, but the ResultItemsCount is 0: Search-Mailbox -Identity dayzd -SearchQuery "(kind:contacts OR email OR journals OR meetings OR notes OR posts OR tasks) AND (attachment:testexcelthesecond.xlsx) OR (attachment:discombobulate) OR (attachment:helicopter)" -EstimateResultOnly However, if I search for this email's subject, it is found. If I search for other words I know exist in other Excel attachments I have (real data, not test), they are discovered. It's just not reading this particular Excel file. Are there any tricks I'm missing?
  5. Dear people from the future, finding this long-abandoned post through an obscure Google search, I fixed this problem by running my scripts from a machine that was not my Exchange server. I'd always run my calendar-based scheduled tasks on the Exchange server because it made sense - server with calendars + script querying calendars = run scripts here. I guess one of the security changes introduced in CU22 that affected EWS functionality was where it would accept requests from. I now have all my scripts working again, simply by installing EWS on a different server and running them there, instead.
  6. I've recently upgraded my Exchange 2013 server with CU22. Since doing so, any Powershell scripts I have that use EWS all fail with '401 Unauthorized' errors the first time the script tries to bind to a folder. I understand 401s are normally caused by credential problems, but I've checked I'm using the correct details and I can log in with OWA. EWSEditor can also connect to the mailboxes I need. I'm so confused. Nothing has changed, other than the CU update (which was a mare to install). All my scripts, user accounts, permissions and passwords have not been touched. Is there much in the way of configuration or permissions I can look at? Can anyone spot what might be set up badly in the below script? # Modified from: https://www.linkedin.com/pulse/powershell-script-ews-working-calendar-items-using-managed-chauhan Param( $EmailAddress, $cred, [system.URI]$fullEWSUrl ) $searchStart = (Get-Date).AddDays(-31) # The EWS API can only return a max range of 2 years. $searchEnd = (Get-Date).AddDays(699) # Set Start to one month ago, and end to 23 months from now $itemsView = 5000 $userName = $cred.UserName $password = $cred.GetNetworkCredential().password $dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.dll" Import-Module $dllpath $ExchangeVersion = [Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2013 $service = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService($ExchangeVersion) $service.Credentials = New-Object Microsoft.Exchange.WebServices.Data.WebCredentials -ArgumentList $userName, $password $service.url = $fullEWSUrl # Take out this impersonation line, and we can search our own mailboxes. This will work for the schedule accounts, as we use them directly with their own credentials already # $service.ImpersonatedUserId = New-Object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId ([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SMTPAddress,$EmailAddress) $Folderid = new-object Microsoft.Exchange.WebServices.Data.FolderId ([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::Calendar,$EmailAddress) $cal = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($service,$Folderid) # Define the calendar view $CalendarView = New-Object Microsoft.Exchange.WebServices.Data.CalendarView($searchStart,$searchEnd,$itemsView) $findCalItems = $service.FindAppointments($Cal.Id,$CalendarView) $findCalItems | Select Start,End,Duration,AppointmentType,Subject,Location,Organizer,DisplayTo,DisplayCC,HasAttachments,IsReminderSet,ReminderDueBy The script is run by a domain admin, but used the password for each mailbox it accesses as it is run. I've rebooted everything, reset account passwords and used known good details throughout, reset the EWS virtual directory... I'm no Exchange specialist, and I've run out of things to try! Help!?
  7. If it helps, I used version 1 of https://www.classroombookings.com/ in my old job (about 10 years ago, now) and got on well with it. If you desperately need reports from it, I daresay if you've the inclination you could write something that queries the SQL yourself...
  8. Hey there, elite squad of Windows 10 deployers who undoubtedly know a lot more than me! Does anyone know if there's a way by which Windows 10 1809's 'the user can install fonts to their own workspace' feature can be disabled? I'd like to have some of my network users able to use it so that I can get rid of a script I wrote a few years ago and streamline the process, but I don't want every user to have the functionality... I've installed and inspected the 1809 ADMX files, but can't find that this is a controllable option. Apologies if this has come up before, but the few quick searches I did before writing this came up a little short. Have I missed something, or is this not something I can restrict?
  9. That's an interesting idea. I'll keep it in mind for the next time it gets reported to me. Thanks!
  10. Thanks. Yeah, it's external queries that have been failing. The most prominent is to Adobe services - Adobe Fonts (ex Typekit) stops working and that's typically when I get reports of problems. DNS is all set up as it should be. Each of my two DNS servers have their IP4 settings point to themselves and then the other. What exactly do you mean by 'check your forwarders'? It's a bit vague to me! You mean set my machine to use each of those in turn (rather than my internal ones) and check I can resolve the domains I'm looking for? I'm not sure that will prove much - I use the same forwarders for my corporate network as I do my public wifi, and the last time I checked that, it was still working when my corporate was not. I've not had to touch DNS since I upgraded my network from Server 2003 to 2012R2 about 5 years ago. I really hate such difficult problems, where something is definitely wrong, but there are no indicators as to why!
  11. So I've been having a weird DNS problem for a few months that I can't quite figure out. What happens is, for short amounts of time, DNS queries to a very small number of domain names time out when querying my local DNS servers (2012R2). During this time, other queries will be provided with an accurate and timely response - it's just the one or two that I've been told about that cause Chrome to produce an error stating the DNS lookup failed. The only thing I've been able to do to resolve it is restart the DNS services. If I don't do this, occasionally queries to affected sites start working again after a few minutes, but often this does not happen. It isn't the internet connection or router, as the affected domains work properly directly by IP or via our public wifi which uses a different (non-Windows) DNS server, and I've been unable to find any errors being recorded anywhere that would explain this. For a time, I thought this was being caused by having turned on 'Enable DNSSEC validation for remote responses' on my DNS servers a few weeks before the first complaint, but having disabled this again not long after, it is still going on. Does anyone have a clue what this might be or what I could look at for more clues?
  12. PM sent
  13. I can upload the 10.10 installer app somewhere later today (once I've grabbed it out of my backup this morning), if you still need it.
  14. It's missing a trailing '}' $ComputerName = "name" Get-WmiObject Win32_MappedLogicalDisk -ComputerName $ComputerName | Select SystemName,Name,ProviderName,SessionID | ForEach { $disk = $_ $user = Get-WMIObject Win32_LoggedOnUser -ComputerName $ComputerName | Where {($_.Dependent.split("=")[-1] -replace '"') -eq $disk.SessionID} | ForEach {$_.Antecedent.split("=")[-1] -replace '"'} $disk | Select SystemName,@{n="MappedTo";e={$user}},Name,ProviderName }
×
×
  • Create New...