How to find the which users have not logged in AD for 90 days?

You can do this through Powershell.

import-module activedirectory
$90Days = (get-date).adddays(-90)
Get-ADUser -properties * -filter {(lastlogondate -notlike “*” -OR lastlogondate -le $90days) -AND (passwordlastset -le $90days) -AND (enabled -eq $True) -and (PasswordNeverExpires -eq $false) -and (whencreated -le $90days)} | select-object name, SAMaccountname, passwordExpired, PasswordNeverExpires, logoncount, whenCreated, lastlogondate, PasswordLastSet, lastlogontimestamp | export-csv c:\Scirpts\90days.txt

How to connect to Linux/Debian/CentOS using Putty

This question has been asked multiple times in my career. Sometimes, I overlook the basics but in my blog, NodeSea. We try to provide the beginners with the information necessary to succeed. NodeSea will provide both Beginner and Enterprise power users! If you have anything you’d like us to document upon, please contact us!

Let’s get started. To connect to a Linux server you will want to download a free program called Putty.

Windows 64-Bit (*.exe): https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe

All other versions: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Once you have downloaded Putty, open it. It should only take 30-60 seconds to download, dependent on Internet Speed of course.

Once you open Putty , it will look like this

All Linux OS will communicate on Port 22 , Although your Systems Administrator or hosting company may change this. You will need to find the Port if you cannot connect to SSH using port 22.

Next you will want to Type in the IP address then select Open

You will then receive a security prompt, select Yes.

Putty will then ask you for your Login As: (Username) and password. Once you type your username and press Enter the password field will popup. Normally this username is root

Type in your password then press enter.

You will now be connected to your Linux Server! Once the # appears your ready to type commands. Type df -h for disk information to make sure you are connected properly.

Stay tuned for more articles on how to manage your Linux Server!

How To Fix TF30063 Error – You Are Not Authorized To Access Team Foundation Service Error

Recently I was working with Microsoft Visual Studio 2017 and got the following error with TFS, which says, “You are not authorized to access Team Foundation Service”. The error code was TF30063. This was a surprise for me because it was working earlier. I do not have any clue about this.

This error was occurring when I was going to check in, pending changes in TFS.

Team Foundation Service error

“TF30063: You are not authorized to access xyz.visualstudio.com.”
As per my analysis, there could be so many reasons and it could be different for each. We can resolve this issue, using the following ideas

Team Foundation Service error

STEP 1

We can try to connect our project again, just click to icon next to Home icon and choose your project and then right click on project and click to Connect. This will be reconnected with project and we will able to access our project.



STEP 2

As we know, TFS is directly connect with IE browser. So, just open your Internet Explorer and logout with TFS account if you logged in.

After successfully logging out, you just need to login again with your TFS account in IE. Before logginin into IE, please check the version of IE browser. It should be above IE 9. Once you have successfully logged in with TFS in IE, go to Visual Studio and check  and the error will be gone.

Team Foundation Service error

STEP 3

We can also log in with TFS internally with Visual Studio. Go to View Menu, choose Other Windows, and then select Web Browser. You can directly access this browser using “Ctrl + Alt + R”.



It will open Web Browser inside Visual Studio. You just need to log in with your TFS account here. If you are able to login successfully, this issue will be gone.

STEP 4

Sometimes if you are working with multiple TFS account in the same system then TFS caches the credentials for those TFS accounts and throws the error when you are going to login or perform any activities with TFS account. So, for this you can clear the TFS cache and reconnect the TFS.

You can clear TFS’s cache from following location, just change the user name as per your system.

C:\Users\UserName\AppData\Local\Microsoft\Team Foundation\7.0\Cache

Once cache will delete, probably TFS will ask for credential to reconnect. You need to provide valid credentials and TFS will work.

Team Foundation Service error

STEP 5

If all above steps have failed to resolve this issue, I believe you just need to remove TFS server and add again with Visual Studio.



We can manage all TFS server from Team menu in Visual Studio. To manage server, just click to Manage Connections and here you will find all the added connection. Just remove appropriate one and add again.

Free SNMP/Network/Services Uptime Monitoring (PRTG)

I have worked with PRTG for more then 6 years. This company is very reputable and is great for monitoring uptime and service level agreements for services. It also allows you to configure a Mail Server to receive alerts via email/text message/etc. It’s also FREE, you can’t beat free!

You can specify domain accounts using LDAP for automatic account provisioning.

In the upper right you can review what services are online, down sensors, paused alerts etc.

You can also specify whatever sensor you wish using SNMP.

If you want to get really granular you can use SNMP to notify you of hardware failures!

https://www.paessler.com/prtg

How to verify disk status in a Synology

A Synology is a Network Attached Storage device used for file shares, etc. You can also use a synology and backup your data to the cloud by using the third party apps and cloud services.

To check Disk health status on your Synology, first login to the device.

Then in the Upper Left Corner you will click the building blocks.

From the Applications Portal or Building Blocks you will want to click Storage Manager.

From the Storage Manager you will then want to click HDD/SSD

This page will show you the volume status’ and if any drives are failing.

You can also click SSD Cache which will notify you of the Read Hit Rate.

How to create/import and manage a SSL Certificate in IIS.

Open “Internet Information Services (IIS) Manager”.

Click the Server Name, in our Case SD-IT

Then select “Server Certificates”

On the far right under Actions choose Create Certificate Request…

Fill out the information based on your organization details.

I always change the Bit Length to 2048.

Specify where your CSR should be pasted, I recommend creating a new .txt document then browsing to the newly created .txt document.

Now that you have Generated your CSR it should look similar to this

These CSR’s will begin and end with “Begin” and “End”

You will then want to find a SSL provider. We recommend SSLS.com. You will want to copy, the CSR information into SSLS, Order the Certificate then verify your Postmaster emails for your domain. Once this has been done, you will then extract the .zip file in the email received containing your certificate to the server.

Then under actions you will click Complete Certificate Request…

Browse for the *.CRT file. The friendly name could be anything to help you remember.

The Personal Certificate Store is fine



Once the certificate has been issued, you will want to Right Mouse Click your Site and select Edit Bindings.

Select the HTTPS port 443 and Edit…

Choose the drop down to find your Certificate. Then press Ok.

Your SSL website should now be online and running. Try going to https://yourdomain.com

How to install Adobe Creative Cloud – Adobe Acrobat DC

You can download the Creative Cloud by going to https://www.adobe.com/creativecloud.html then clicking “Your Creative Cloud” and signing in

Drag and Drop the Creative Cloud Setup to your computer. This can be in Documents, Downloads, Desktop, etc.

Double Click and Run the Installer

User Access Control (UAC) will prompt you, select Yes.

Once the installer opens click Start Installing

The installation process and percentage will be shown. The estimated time for install is approximately 30-40 minute(s).

Once the Creative Cloud Suite has been installed, you will want to find Adobe Acrobat DC and click install

Once Adobe DC has been installed.

Search for it on your computer and open the program


You now have Adobe Acrobat DC. You can install any Adobe Creative Cloud Applications this way.

Does blogging help SEO?

For just about any question or need you have, you know Google is there. For many people, the wildly popular search engine is their first stop when trying to look for just about anything.

That means that no matter what type of website you have, if you want people to find it, you need it to show up in the search engine. And that’s hard.

One of the best things you can do to improve your chances of ranking high in the search engines is to start a blog.

Does Blogging Really Help SEO?

Yes, it does. That’s the simple answer. But having a blog isn’t in and of itself a ranking factor.

Blogging is good for SEO because it helps with a number of things that are important ranking factors. When you have a blog that’s updated regularly with blog posts that are high quality and on topics relevant to your audience, it can make a huge difference to how your overall website performs in the search engines.

There are six main reasons why.

1. Blogging keeps your website fresh and current.

If you ever happen upon a website that you realize hasn’t been updated in years, you probably immediately lose some trust in the information you’re seeing. The company it represents could have gone out of business completely or the website could be providing information that’s been completely debunked or changed since that last update.

Google doesn’t want to deliver its searchers outdated information. Websites that are regularly updated signal to them that the website is alive and offering fresh content. It also gives the search engine algorithms more reason to index your website more often, keeping it more on their radar over time.

You’re probably not going to have reason to update your homepage frequently (and it wouldn’t necessarily be a good business move to do so), so a blog is a more practical tool for adding new content to your website on a regular basis.

2. A blog keeps people on your website for longer.

Google’s number one priority is providing the people performing searches with the information they’re looking for, so they’ll keep coming back to use Google again. If someone who does a search clicks on the first link, then finds it unhelpful and immediately leaves to go back to the search page – that tells Google that the first result wasn’t as helpful as they thought. On the other hand, when someone clicks on a result and stays on the website for a while, that signals to Google that this website is actually very helpful.

While Google hasn’t said outright that dwell time, or the time that people spend on your website once they land on it, is definitely a ranking factor, they’ve made other statementsthat make it clear it’s something they pay attention to and impart value to.

Someone who comes to your website from a blog post that shows up in the search results is going to have more reason to stick around for a while and read the whole thing than someone who lands on a page with less text or information.

And that becomes even more the case with longer, more comprehensive posts. SEO researchers have found that longform blog posts tend to perform better than shorter ones – the average first-page result on Google is nearly 2,000 words long.

longer blog posts better for seo

3. Blogging helps you target long-tail keywords.

A lot of people start out doing SEO wanting to aim for the most relevant keywords for your business. For example, if you sell camping gear, you want to show up on page one for the term “camping gear.”

While that’s a nice goal, unless you’re the biggest camping gear brand in the country, you’re probably going to have a hard time landing a top spot for that search. SEO is really competitive. The best bet for most brands is to look for longer, more specific keywords people are searching for that are relevant to the business and try to rank for those.

These are called long-tail keywords and they’re extremely important for any SEO strategy – half of all searches are for terms that are four words or longer. But they can be awkward to try to fit into your product pages. However, they’re the perfect kind of terms to target in a blog post. A store that sells camping gear can use their blog posts to provide information on terms like “best camping gear for cold weather” or “what do you need when you go car camping?”

These searches don’t attract as much traffic as “camping gear” does, but they come from people clearly in your target audience of campers and, if you can make it onto page one, you’ll get way more traffic from these topics than you would on page five or ten for broader more popular terms.

4. A blog gives you opportunities for internal linking.

So much of SEO is about links and internal links are the easiest ones for you to get since you can create them for yourself. Failing to include internal links on your website that point users from one page on the site to another is one of the simplest SEO mistakes you can make.

While you can probably find some good internal linking possibilities on the main pages of your website, once you start publishing blog posts, the opportunities will really blossom. As you add more pages on various but related topics, you add more opportunities to naturally link those pages to each other.

Every time you do so, you can strategically use the anchor text to better tell Google what the page you’re linking to is about – strengthening its connection to your target keywords in how the algorithm sees it.

5. A quality blog gives others sites more reasons to link back to your site.

Those internal links matter, but the hardest part of SEO is earning external links. For Google to see your website as trustworthy and authoritative, other sites (and respected ones) have to link back to yours. It’s not impossible to get external links without a blog, but it’s much, much harder.

When you write a blog you fill your website with page after page of valuable information. Any time another website decides it’s valuable to their readers to point them to useful information on a different site, there’s a far higher likelihood that your website will provide that information that’s worth linking to if you’ve got a bunch of great blog posts.

Research bears this out. HubSpot has found that companies that have a blog on their website earn up to 97% more inbound links. It just makes sense that more websites will link to that really helpful post you wrote about how to find the best Mother’s Day gift for a picky mom than to your homepage.

6. A blog helps you connect with your audience.

This isn’t a direct linking factor like links are, but it is something that significantly contributes to linking factors. When your audience reads a post they love, they’re more likely to share it, drive more traffic to it, come back to your website again to see more of your content and maybe even sign up for your email list. When you get lots of traffic and repeat visitors, that shows Google that people like your website and raises your authority level in their algorithm.

And while that’s pretty great from an SEO perspective, it’s ultimately more important to the success of your website than where you are in the rankings. People in your target audience visiting your website, connecting with it, and becoming regular followers is more valuable than any #1 spot on Google (that’s the whole reason you want the spot in Google to begin with).

A blog is a good way to make those connections and start a continued relationship with the people you want to reach.

Add Another Mailbox in Outlook 2016

1. To add another mailbox, launch Microsoft Outlook 2016 then click the File tab > click Info tab > Account Settings.

Setup 1

2. In Account Settings, select your current Mailbox and click Change.

Setup 2

3. On the next screen select More Settings.

Setup 3

4. Select the Advanced tab and click the Add button.

Setup 4

5. Type in the name of the mailbox then Click OK.

Setup 5

6. Once the name of your mailbox is created, click Add and Apply.

Setup 6

7. Finish out the wizard by clicking Next, and then Finish on the Change Account screen.

Finished

8. Close out of the Account Settings screen, and then select your new mailbox in the mail pane to populate it with your messages.

Outlook mailbox

Troubleshooting:

Powershell to get a list of Folders and Child Folders.

We we’re recently looking for a list of folders to complete a migration from our on premise storage to Sharepoint online. In order to do this we needed a list of all folders in a specific SMB Share. We used this quick powershell to find each parent, child folders.

gci “D:\Share_Path” -recurse | ?{$_.psiscontainer}