Posts

Creating Multiple DNS Records

Hi Guys, Now from below command you can create multiple DNS records (A and PTR ) at same time 1.        Create a CSV file as Shown below example and Save the file on C:\ 2.        Run below command in PowerShell as administrator name ip type zone dnsserver test 10.192.10.20    A test.com FQDN of DNS Server Import-CSV -Path "c:\DNSEntries.csv" | ForEach-Object { dnscmd.exe $_ .dnsserver / RecordAdd $_ .zone $_ .name / createPTR $_ .type $_ .IP } You can save it as well in .ps1 format and just hit. This will create both host A and PTR records at same time. Cheers!!

SCCM Global Data , Site Data and File\Database Replications

SCCM Global Data and Site Data Global data . Global data refers to administrator-created objects that replicate to all sites throughout the hierarchy, although secondary sites receive only a subset of global data, as global proxy data. Global data includes software deployments, software updates, collection definitions, and role-based administration security scopes. Administrators can create global data at central administration sites and primary sites. Site data . Site data refers to operational information that Configuration Manager primary sites and the clients that report to primary sites create. Site data replicates to the central administration site but not to other primary sites. Site data includes hardware inventory data, status messages, alerts, and the results of query-based collections. Site data is only viewable at the central administration site and at the primary site where the data originates. Site data can be modified only at the primary site where it was

Powershell : Small lines and Powerful Output - 2

Image
As we discussed about Powershell and its importance in my previous post http://ankurpathakniit.blogspot.com/2018/03/powershell-small-lines-and-powerful.html Lets walk further Powershell also supports all cmd commands, Run commands as well. cool right?  Does Powershell handle multiple actions in one go ? ...Yes example : Start\Stop  multiple services on local\remote systems Copy\Delete  multiple files\folders on local\remote systems Change application configurations on local\remote systems ...and many more ... Powershell in action We'll try to stop 2 services at same time and following is command for that Net Stop  Service Name (CMD command) Stop-Service Service Name ( Powershell command) We'll try to stop Windows Installer Service alone and then  Windows time  and Installer both in one go. To find Service name select service and see properties Now open Powershell and run our cmd and powershell commands one by one, to Stop multiple services j

Powershell small lines and Powerful Output

Image
Guys , as the name says , Powershell is a very powerful command line interface\tool\software to perform all task what you can do in GUI. Just that ? No, i would say it's a language which can allow you to make your own apps\scripst to full fill your requirement. So what actions Powershell can do ? Pretty much ..everything...so what it needs ? Just logic and knowledge of Powershell commands and Syntax ... how? alright.. In Powershell :   Get is almost for fetching information\details and Set is almost for making changes to those details. Examples ... Get-command gives you all default  available commands Similarly you can find so many commands from the output and will come to know about more info with this single command. This includes commands for Set example as well. you really need to see the output. Finding more commands i will left with you guys and in next post will go for some advance info. Cheers!!!!!

Remote Desktop issue, does not work after disabling TLS 1.0\1.1.

Hi Guys, This is about Remote Desktop issue, does not work after disabling TLS 1.0\1.1. For Server 2008 R2, MS has released a patch KB3080079 (There same one more  For Server 2012 R2) to fix this issue but we have seen still some servers does not connect after installing this patch. Following actions can be taken further to resolve issue and found working. I tested it on my VDI. Download and install KB2574819 (https://support.microsoft.com/en-us/kb/2574819) (for source pc from where you are trying to take remote, in my case I downloaded for my VDI - windows 7 X64) Reboot the computer. Download and install KB2592687 (https://support.microsoft.com/en-us/kb/2592687(for source pc from where you are trying to take remote, in my case I downloaded for my VDI - windows 7 X64) Reboot the computer. And it did the trick!! Cheers!!!!

Steps To Protect Against Ransomware Attacks

Wanna cry ransomewayer virus  encrypts files and ask users to pay ransom best practices for  against ransomware keep your security software up to date to protect yourself against them. Disable  SMB 1.0 Keep your operating system and other software updated. FOR Windows based systems apply MS17-010 Email is one of the main infection methods. Be cautious  of unexpected emails especially if they contain links and  attachments. Back up important data In VMware environment, take VM snapshots of healthy systems and export them to SAN\NAS Storage as alternate recovery solution.

SCUP 2011 : Failed to Publish Software Update

Image
Hey Guys, I just recently faced an issue when I was publishing Adobe flash player update using SCUP 2011. Following was error in SCUP.log Download file: https://fpdownload.macromedia.com/pub/flashplayer/pdc/20.0.0.286/install_flash_player_20_active_x.msi failed with message "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." PublishItem: Download Content: Failed to download file 'https://fpdownload.macromedia.com/pub/flashplayer/pdc/20.0.0.286/install_flash_player_20_active_x.msi'. As error states that there is a connection and download issue…. Checked download settings….. was ok Checked Firewall settings…… was ok Checked Proxy settings…… was ok Copied update’s download URL and tried downloading manually… omg that is also working …. Now what is the issue…. Went to edit the update and removed…….S   J Yeah!!.....changed download url from https://fpdownload.macr