Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a csv file with two columms of first names and lastname . I need to use a powershell to to go thru AD and pull into an exported csv file the results for each user  = samaaccount name, email , and display name. also there is one unique thing here , in order to get the correct name a match by last name needs to occur because I don't need to get all the , for example  smiths in the org , if the first name is joe smith in the csv I need to get joe smith and not Josephine smith
I have local exchange 2013 CU18 servers set up as a SMTP server.  I have set up a send connector to go to a smart host.  This works fine.  But I need to make sure emails coming from other systems inside of the domain are using an authoritative domain to send email via my SMTP servers.  I know I can set up another send connector using MX records, but I have to have all emails go out my smart host.  

Dear expert

I would like to improve code below. Right now if I don't write anything inside $Path and $String it will return a error message:
FindPattern : Cannot validate argument on parameter 'Path'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Now I would like to add a if statement inside like this way: if ($Path -Or $String = $null) {$response}
Simply if variable $Path or $String is empty, go to do statement below or go to variable $response. Now I don't know if Im right about the statement or the execution with $response after but i need help with: where I put this if statement at best? And how will I write?


Function FindPattern {
	[Parameter(Position=0, Mandatory=$True)][ValidateNotNullOrEmpty()]
	[Parameter(Position=1, Mandatory=$True)][ValidateNotNullOrEmpty()]
	$Script:Results = $false
	Get-ChildItem -Path $Path -Recurse -File |
		Select-String -Pattern $String |
		Select-Object -Property Path, LineNumber, @{n='LWT'; e={
			Write-Progress -Activity "Searching for '$($Path)'" -Status $_.Path
			(Get-Item -Path $_.Path).LastWriteTime
			$Script:Results = $true
	If (-not $Script:Results) {
		Write-Host "Cannot find '$($String)' under '$($Path)'"
	Write-Progress -Activity 'Done' -Status 'Done' -Completed

Do {
	$response = Read-Host 'Search again?'
} Until ($response -ne 'Yes')

Open in new window

In Outlook 2007 when I try to open an excel attachment it does not open. To get it working, i have to go to excel settings and then remove the check on " Ignore other applications that use Dynamic Data Exchange (DDE)” . Is there a way we can get rid of this option being enabled.
Microsoft Word 2013/2016 cursor/arrow down does not always go to the end of the line.  Over time, I've noticed when creating templates (more like just word documents) that when there is a form like this:
Patient Name:
Chief Complaint:
and after typing in the patient name (or using Dragon Naturally speaking) and you arrow down, it will go to the end of the line generally.  However, if the next line, like Chief Complaint: is longer, it will just move the cursor to the middle of the word and not the end of the line.  Is there a way to always have the cursor when arrow'd down to go to the end of the line without the juse of the End key afterwards?

Thank you,
When you go on to Control Panel and Windows Firewall you see three. 1) Domain Networks 2) Private Networks and 3) Guest/Public Networks

When you go in to GPEDIT=Computer Configuration=Administrative Templates=Network=NetworkConnections=Windows Firewall you only see two 1) Domain Profile and 2) Standard Profile. Obviously there is a one to one correlation on the Domain Profile but what does the "Standard Profile" control  with respect to Private Networks and Guest/Public Networks?
I'm helping a client (about 15 users)  start putting all their company data on centralized storage for file sharing and backup purposes.  They have an in-house app server (no AD) and NAS box, the latter of which has plenty of space for their data storage.   Am wondering whether to go with a mapped-drive scenario or just put them on Sharefile via Office 365?  Thanks for your input.
I am new to running vba in OutLook 2016, but was wondering if there is a way to run a vba macro on the body of an email prior to sending?

I have multiple areas within the body of a template email that have date fields in them and I would like to add Today+1 in those fields.


I would like the macro to find the text string in the body of the email and insert the date for us.  In the first example it would be Today+1 or current date+1 and in the second one Today+2

Is this possible and if so, how would I go about this?  Please advise and thanks.
How do you Switch Views within the same Child Frame?  C++ VS2018 15.5.6  I am using the MFC Doc/View Architecture.  I can create new 7 document, as programed.  I have seen several different code examples for do it within the Main Frame, however not within the Child Frame class.  I have created several different CView based classes.  I have added the #include(s) for them in the App.h file header, and this header is included in the ChildFm.cpp file.  It shows up OK as far as Intellisense is concerned.  
// ChildFrm.cpp : implementation of the CChildFrame class
#include "stdafx.h"
#include "TCPG.h"
#ifdef _DEBUG
#define new DEBUG_NEW

// CChildFrame
      ON_COMMAND(ID_VIEW_PLAYERVIEW, &CChildFrame::OnViewPlayerview)
      ON_COMMAND(ID_VIEW_QUESTIONVIEW, &CChildFrame::OnViewQuestionview)
      ON_COMMAND(ID_VIEW_LAYOUTVIEW, &CChildFrame::OnViewLayoutview)
      ON_COMMAND(ID_VIEW_YOURREADING, &CChildFrame::OnViewYourreading)
These are the function declarations for switching the views.  The empty bodies are in the .cpp file.
And all of it compiles OK at this point.  Each view class is filled with all of the necessaries for that class, and works with the CDocument class.
Yet ...  when I add
// ChildFrm.h : interface of the CChildFrame class
#pragma once

class CChildFrame : public CMDIChildWndEx
Malware removal and tools.  For several years Malwarebytes, gmer, autoruns, TDSSKiller, process explorer, and HJT were my go to tools for malware removal.  As of recently, it seems like Malwarebytes isn't catching as much as it used to and I was curious what are the top tools and order of progression in using them?
I have a web site that I want to convert to an app.  www.etraxc.com and www.my-etraxc.com  How do I go about finding someone who would do that for a reasonable amount and what is the typical cost structure for something like this?
NAS gets filled up with "stuff"....

I support a small office...4 laptops win 10 in a workgroup all using a network attached NAS to save data...
It is a WD My Cloud Mirror NAS....3 Gb....it normally has about 1.2 Gb of data...leaving about 2.4 Eg of empty space...
Users get error messages....HD full...cannot write etc.etc...

On 2 occasions that NAS drive has suddenly filled up with "stuff"...As I go thru the various folders in the NAS...I don;t see
anything that looks significantly larger than "normal"...

On the first occasion...after about 2 hours...the NAS filled up...something happened and it went back to it's normal size...

3 days later the same thing happened...In this case I had  my users "aware" of what they were doing in case the NAS gets filled up again...
They were working on spreadsheets and word docs....not large complicated files...

In this case...I unplugged the network cable for about 15 minutes while I was starting to connect a 2ed NAS...
I reconnected the first NAS....disconnected the 2ed NAS and left the office for about an hour...
When I got back...the NAS was empty again...

I have NO idea what is causing this...
Going into the dashboard for the WD My CLoud Mirror...it reports that the SMART specs are good...
I'm kinda speculating that perhaps the NAS controlling software and/or the hardware is going bad...

I am going to connect the new NAS...and take this NAS offline....probably reformat it and see what happens...

Appreciate …
Greetings Experts,

I can't seem to figure out how to add the second backup tunnel for AWS on my Sonicwall.  All the directions I'm finding  just show how to create the first tunnel, which I did and the VPN is running.  
In the config file you get two sets of information with different wan IP's.  The Lan Gateways are the same.  
I went to create a second VPN on the Sonicwall with the second AWS gateway IP, but I can't due to the Lan networks being the same.  When I go to create a new network, with the same lan network it says they overlap and won't let me do it.  

I'm guessing I'm just missing something easy, but I'm new to sonicwall and this firmware is new as well.

Any help would be most appreciated.

Most of our clients with VMware infrastructure. We never heard anything going/went wrong with that infrastructure other than in-house tech ask us ,How to do ?  What to do ? etc . In my past two years, i have not seen a failure/down time. They have been running without  a single point failure.
I was asked to document for DR. I have no idea what can go wrong !. Experts out there, Can you please list me few things can go wrong with VMware and bring the infrastructure down. Of course ,core switch can bring entire network down , but it is not VMware admin job.
So we have a few users in a small business and there is an admin@..... email address.

One user uses Admin all day as their primary inbox and sends and recieves emails from this mailbox.

Then we have another user who also likes to go through the admin emails and see whats going on. So we have added the Admin mailbox to that users Outlook, but now there has been multiple issues where this user is reading unread admin emails and then not re-marking them as unread then admin user overlooks the email/doesnt reply.

I know its a very simple task to just click unread after reading the email but these users are not very computer literate and are not very receptive to change. So they have approached us for a solution and I am unsure of the best way to achieve this.

I suppose making an admin2 mailbox and creating a rule to copying all emails into it is one way. I feel like this is a bit of a messy setup and will bloat the database.

Any suggestions on how best to achieve this?

Exchange 2010 and Outlook 2016.
Hi All

I have exchange 2003 and exchange 2010 in co existence mode. We have created forwarders for all users in AD to redirect email to google cloud. Once an email is sent it hits my exchange server and then goes to cloud. i have tested with my user and individual emails work fine. they go to outlook and after that it is redirected to cloud gmail.

The issue is that when someone sends an email to a distribution Group we get the email on outlook but we do not get the email on cloud. What could be the issue and how can i solve this
if(isset($_POST['email'])) {
    $email_to = "cprabha@hotmail.com";
    $email_subject = "Enquiry from Brandsterlab";
    function died($error) {
        // your error code can go here
        echo "We are very sorry, but there were error(s) found with the form you submitted. ";
        echo "These errors appear below.<br /><br />";
        echo $error."<br /><br />";
        echo "Please go back and fix these errors.<br /><br />";
    // validation expected data exists
    if(!isset($_POST['name']) ||
        !isset($_POST['email']) ||
        !isset($_POST['webdesign']) ||
        !isset($_POST['ecommerce']) ||
            !isset($_POST['customweb']) ||
            !isset($_POST['mobile']) ||
            !isset($_POST['branding']) ||
            !isset($_POST['saab']) ||
            !isset($_POST['mercedes1']) ||
            !isset($_POST['mercedes2']) ||
            !isset($_POST['mercedes3']) ||
            !isset($_POST['mercedes4']) ||
        !isset($_POST['message'])) {
        died('We are sorry, but there appears to be a problem with the form you submitted.');      
    $name = $_POST['name']; // d
   $email_from = $_POST['email']; // d
    $webdesign = $_POST['webdesign']; // d
    $ecommerce = $_POST['ecommerce'];
      $customweb = $_POST['customweb'];
      $mobile = $_POST['mobile'];
      $branding = $_POST['branding'];
      $saab = $_POST['saab'];
      $mercedes1 = $_POST['mercede s1'];
      $mercedes2 = …
So we have 544 Linux machines
They all send their audit.log to the syslog server

Some of the logs are getting quite big and need to be tarred/compressed and stored on the backup sever to be backed up.

So I wrote a script that tells me what folders are over 1 gig
du -h --max-depth=1 /mnt/rsyslog/ | grep '[0-9]G\>' | sort -hr >/mnt/rsyslog/audit/Over1G.txt

That gives me a listing of folders that are over 1G and outputs to the text file

Currently I am having to go to each folder and tar the file to the backup server, remove the file, then remove the directory.
repeat steps for next machine

Is there a way to write a script that will do what I do via the script?

Attached is what I do.

I have a field set to send auto data ( D&R)

when I create a new record and go to the Kitchen tab the auto data dose not appear.
When I click on the check box next to it, the auto data appears.
If I take of the auto data, and I click on the check box next to it, it just places the check mark.

Not sure what I'm doing wrong...
I checked to make sure that each field has the correct values form is correct and are even spelled diff.

I have done the same in a diff tab and it works correctly, so i'm not sure why its not working on the kitchen tab.

I have an odd issue going on the Server 2016 Standard. I use external USB drives for backup. When I plug one in it doesn't show up. When I go in to Disk Management it shows up as being Offline. I need to right click on it and go "Online" at which point I can un-plug it and plug it back in at will and it will always come in as online.... until I put in a different USB drive and then I have to do the whole process over.

   I don't have the problem with 2016 Essentials. I am sure it is some type of security measure. So does anyone know what I need to set so USB drives always come in Online?
Is there a way for a Workspace or Document Library to be automatically created when a new item is added to a specific List? If this is possible, how would I go about the implementation without using code?

Thank you in advance.
We have deployed a few Office 2016 Standard installs and we are seeing some very strange issues.  If you leave Outlook open for an hour or longer it will freeze up or the screen will go black when you go to access it.  If you wait long enough it will come back, during that time a bubble will pop up in the lower right corner of Outlook telling you "trying to connect to CAS".  Also, often and hard to reproduce is if you try to access the Address book you will get an error telling you it can't access the address book.  You close the error and try again it will open or you may have to close it a couple of times.

We have an on prem exchange 2010 server and 2013 and 2016 clients, no 365.  We also use auto-discovery and it seem to me setup correctly don't get any errors about that.  I say it seem fine because when we went to Exchange 2010 Microsoft did the install and setup.

We are lost, any help or direction would be greatly appreciated.

I am looking for a method to copy the entire folder structure(only) from one network drive to another.  I do not want any files copied, just the folders and subfolders.  

If there is a program that can do this effectively, I am open to that.

Some of these folders may have subfolders levels that go 5-6 levels deep.

Thanks for any suggestions?
Not too long ago I downloaded an app called Airdroid, I had uninstalled it afterwards. It doesn't show up anywhere on my computer or under programs and features . Yet when you go to settings`personalization~taskbar~notification area on the right side of the screen ~select which icons appear on the taskbar-then I see it on the left hand side all the way on the bottom . If I turn it on it does not show up on taskbar. But I want to get rid of it. I called MS and a tech tried to remove it using windows powershell via this step
and restarted the PC with no luck.
2:17 PM Cyrus: we run the command to uninstall airdroid in powershell
2:18 PM Cyrus: Get-AppxPackage *airdroid* | Remove-AppxPackage
I Need Assistance.  We exited from long term PRI Contract back in July to a small company out of NJ.  They had tons of porting issues and outages to the point that we reached out to Verizon and engaged them as backup bidder to exit the contract with them due to breach of contract.  We send the disgruntled company an exit letter and tell them we are leaving Jan 31st - they are a small company and have a melt down and are threatening disconnect on the date we provided - Jan 31st.  

Verizon sends them a Port request for the DID's and they have not responded for days.  I also send them a request for confirmation and they also do not respond.

How do you deal with a vendor that wont respond to a DID Port Request ?   is there anyway Verizon can somehow force the porting since they actually go through them anyway ??

 Any insight you can provide would be greatly appreciated!






Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.