Skip to main content

Posts

Showing posts from 2016

Specified path was invalid (During Cluster creation for File Witness server)

Specified path was invalid (During Cluster creation for File Witness server) Hey Guys,  I just want to explain how small things can impact you while working on New cluster creation. recently we were working on cluster creation and file witness share was not accepted by Cluster, After  troubleshoot we come to know there were 2 issues one with Share permission and other is Security permission. In our case we were using comman id for creating cluster and Id was having permission to login to server.  but the same id was not part of administrator group on server where file witness share was created  and in share permission also it was not showing listed hence cluster was not accepting file Path. Please make sure id under which you are ruing cluster services should be added in the security permission along with computer account which get created as cluster name. on a side note will like to inform you, You should give cluster name (compute...

Dumpster and Mfcmapi.exe

Dumpster and Mfcmapi.exe You have been tasked to delete data from particular mailbox recoverable items (dumpster) and not sure what needs to be done. Here is script/command for the same. Search-mailbox -identity "Mailbox Name" -searchdumpsteronly -deletecontent Now that’s about deleting content from Dumpster, Let’s talk about getting things delete from mailbox and some reason you are getting some errors or you want to delete permanent in that case use MFCmapi.exe Open MFCMAPI.exe on a computer where outlook is configuring. Close actual Outlook client. On MFCMAPI Select Session - Logon which will ask for Outlook - Expand one Select Top information store (This will show you folder structure) Select Folder- Delete Folder (Hard Delete) Data will not be sent to Dumpster.

Port Info.

Today we will talk about commands which will give you more information about Ports on your machine and Server.  1) Portqry Use following syntax for the same.  Portqry – e PORT -n SERVERNAME 2) Tect-Netconnection https://technet.microsoft.com/en-us/library/dn372891(v=wps.630).aspx Test-NetConnection – I used it today to check if the HTTPS port (443) was active on a test server I was working on.  Pretty useful command! There is a parameter called ‘CommonTCPPort’ and you can use it to check if SMB,HTTP,RDP, or Ping are available. 

Blocking USB is big thing ???

Hello Fellas,  Do you really think blocking USB is big thing? If yes let me remind you in Windows World everything is registry and if something is blocked than it has same registry to unlock it.  You can block USB mass storage with Symantec End Point Protection also and it’s even more simple than Group policy few next and you are good. http://www.symantec.com/docs/TECH175220 Symantec Endpoint Protection you can block access for users to use USB Pen drives and allow usage of Keyboard and mouse.   1. In the SEPM, Under View Policies, select Application and Device Control 2. Right click the Application and Device Control Policy and select Edit. 3. Select the Device Control view. 4. Under the Blocked Devices section, click Add, select USB and click OK. (If Disk Drives isn't listed, it is already added as a Blocked Device). 5. Under Devices Excluded from Blocking, click Add. 6. Select Human Interface Devices and the devices to restrict one of ...

Avoid 21 Vianet option if possible and not having data in China. (Office 365)

21Vianet - Office 365. Friend's if you are working on O365 and while configuring you see option for 21Vianet. Please don't select it as it stores your data in China Data Centre. As per China Govt. there data should be within country and that's why Microsoft is working with 21Vianet. https://blogs.office.com/2014/04/18/office-365-operated-by-21vianet-becomes-generally-available-in-china/

PowerShell to compile report for last access date for all mailboxes in organization

Power Shell  to compile report for last access date for all mailboxes in organization. $users = Get-Mailbox -ResultSize unlimited $mailboxstats = $users | Get-MailboxStatistics $mailboxstats | select displayname,lastlogontime,lastloggedonuseraccount | Export-Csv -NoTypeInformation -Path C:\temp\*.csv –Force  If you would like to know from Mailbox server point of view and target just one server. Get-MailboxStatistics -server Mailbox Server |sort lastlogonTime -Descending >c:\Avi.txt If you would like to target database you certainly do it. Get-MailboxStatistics -Database "Mailbox Database"

Dynamic Distribution Group Member (Export to csv)

Dynamic distribution groups is calculated each time a message is sent to the group, based on the filters and conditions that you define. When an email message is sent to a dynamic distribution group, it’s delivered to all recipients in the organization that match the criteria defined for that group.  Now you are worried how to export members of these Distribution list to csv files.  PowerShell is the way...!   $FTE = Get-DynamicDistributionGroup "I-Like distlist" Get-Recipient -RecipientPreviewFilter $FTE . recipientFilter -ResultSize unlimited > C:\users\a2361ag\Desktop\ILIKE.txt

SMTP and DNS Lookup tool

Inresting sites to find SMTP address and Name server (DNS) who owns particualr domain name. http://www.whois.com/whois/ http://mxtoolbox.com/ Lets see example "Facebook.com" facebook.com registry whois Updated 3 hours ago - Refresh Domain Name: FACEBOOK.COM Registrar: MARKMONITOR INC. Sponsoring Registrar IANA ID: 292 Whois Server: whois.markmonitor.com Referral URL: http://www.markmonitor.com Name Server: A.NS.FACEBOOK.COM Name Server: B.NS.FACEBOOK.COM Status: clientDeleteProhibited https://www.icann.org/epp#clientDeleteProhibited Status: clientTransferProhibited https://www.icann.org/epp#clientTransferProhibited Status: clientUpdateProhibited https://www.icann.org/epp#clientUpdateProhibited Status: serverDeleteProhibited https://www.icann.org/epp#serverDeleteProhibited Status: serverTransferProhibited https://www.icann.org/epp#serverTransferProhibited Status: serverUpdateProhibited https://www.icann.org/epp#serverUpdateProhibited Updated Date: 25-a...