admin

About admin

This author has not yet filled in any details.
So far admin has created 43 blog entries.

PowerShell Script to disable windows firewall or add rules to the firewall

The below PowerShell script will disable local host windows firewall. #!powershell# Disable Firewall#########################write-host " " write-host "Disabling firewall" -ForegroundColor Yellowwrite-host " "Set-NetFirewallProfile -Profile * -Enabled False If you are looking to only opening some ports, below is the script that you should consider. #!powershell# Adding Rules in the Windows Firewall#######################################write-host " " write-host [...]

2017-12-25T15:09:14-05:00December 24th, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script to disable windows firewall or add rules to the firewall

PowerShell Script to change Windows Host timezone

The below PowerShell script will help change the Windows host time zone to Eastern Standard Time. #!powershell# Change the Timezone to EST###################################write-host " " write-host "Changing Windows Host time zone to Eastern Standard Time" -ForegroundColor Yellowwrite-host " "Set-TimeZone -Name "Eastern Standard Time"

2017-12-25T15:08:34-05:00December 8th, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script to change Windows Host timezone

PowerShell Script to Add Domain Group to Remote Desktop Users Group

The below PowerShell script will Add an Active Directory Domain Group to Computer Local Remote Desktop Users Group. #!powershell# Setup Key Values###################################$GrouptoAdd = "YourGroupName"# Adding Domain Group to Remote Desktop Users Group####################################################write-host " " write-host "Adding Domain Group $GrouptoAdd to Remote Desktop Users Group" -ForegroundColor Yellowwrite-host " "$GroupObj = [ADSI]”WinNT://localhost/Remote Desktop Users”$GroupObj.Add(“WinNT://knowledgeascent.com/$GrouptoAdd”) [...]

2017-12-25T14:57:33-05:00November 30th, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script to Add Domain Group to Remote Desktop Users Group

Useful Isilon OneFS command lines – OneFs 8.x

The Below OneFS commands where tested on OneFS 8.x CLI Command Description isi stat Print the health status of the cluster isi version Print OneFS version isi license list List all licenses isi config Will take you to Isilon configuration console isi config >> shutdown Will shutdown the node you are at [...]

2017-07-25T12:23:54-04:00July 25th, 2017|Isilon|Comments Off on Useful Isilon OneFS command lines – OneFs 8.x

Powershell – Clear all event logs in Windows 2012 R2 Server

The Below Powershell command will clear all even logs from a Windows Server 2012 R2. wevtutil el | Foreach-Object {wevtutil cl "$_"}

2017-12-25T14:55:01-05:00July 24th, 2017|Microsoft, Powershell Scripts|Comments Off on Powershell – Clear all event logs in Windows 2012 R2 Server

PowerShell Script Remove Server from Domain

The Below PowerShell script can be used Remove (Unjoin) Windows Server from Active Directory Domain #!powershell# Setup Key Values###################################$AD_DEPLOYMENT_ID = "YourLogin"$AD_DEPLOYMENT_PASSWORD = "YourPassword"$AD_DOMAIN_TO_UNJOIN = "knowledgeascent.com"$HOSTNAME = $env:computername# Remove SERVER from AD Domain###################################$cred = New-Object System.Management.Automation.PsCredential("$AD_DEPLOYMENT_ID", (ConvertTo-SecureString "$AD_DEPLOYMENT_PASSWORD" -AsPlainText -Force))write-host " "write-host "unjoin Computer $HOSTNAME from domain $AD_DOMAIN_TO_UNJOIN" -ForegroundColor Yellowwrite-host " "Remove-Computer -ComputerName $HOSTNAME -UnjoinDomainCredential [...]

2017-11-30T16:58:02-05:00July 21st, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script Remove Server from Domain

PowerShell Script to Join Server to AD Domain

The below PowerShell script can be used to Join Windows Server to Active Directory Domain #!powershell# Setup Key Values###################################$AD_DEPLOYMENT_ID = "YourLogin"$AD_DEPLOYMENT_PASSWORD = "YourPassword"$AD_DOMAIN_TO_JOIN = "knowledgeascent.com"$AD_DOMAIN_OU = "OU=trainingscripts,DC=knowledgeacent,DC=com"$HOSTNAME = $env:computername# Join SERVER to AD Domain###################################$cred = New-Object System.Management.Automation.PsCredential("$AD_DEPLOYMENT_ID", (ConvertTo-SecureString "$AD_DEPLOYMENT_PASSWORD" -AsPlainText -Force))write-host " " write-host "Join Server $HOSTNAME to domain $AD_DOMAIN_TO_JOIN" -ForegroundColor Yellowwrite-host " "Add-Computer [...]

2017-11-30T17:00:31-05:00July 21st, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script to Join Server to AD Domain

Powershell Script to Add DNS Records to Server Network

The Below Powershell script will Add DNS Records to Server Network. #!powershell ##################################################### # Set DNS on Server # ##################################################### Example: $DNS1="10.220.13.10" $DNS2="10.220.13.11" Set-DnsClientServerAddress -InterfaceAlias '*' -ServerAddresses($DNS1, $DNS2)

2017-07-21T14:29:26-04:00July 20th, 2017|Microsoft, Powershell Scripts|Comments Off on Powershell Script to Add DNS Records to Server Network

PowerShell Script to Add Domain Group to Local Administrators Group

The below PowerShell script will Add an Active Directory Domain Group to Computer Local Administrators Group. #!powershell# Setup Key Values###################################$GrouptoAdd = "YourGroupName"# Adding Domain Group to Local Administrator Group##################################################write-host " " write-host "Adding Domain Group $GrouptoAdd to Local Administrator Group" -ForegroundColor Yellowwrite-host " "$GroupObj = [ADSI]”WinNT://localhost/Administrators”$GroupObj.Add(“WinNT://knowledgeascent.com/$GrouptoAdd”) 

2017-11-30T17:26:55-05:00July 20th, 2017|Microsoft, Powershell Scripts|Comments Off on PowerShell Script to Add Domain Group to Local Administrators Group

Powershell Script to silent install McAfee Agent

The Below Powershell script will download your McAfee Antivirus Agent from your local server and execute a silent install for the agent. #!powershell# Setup Key Values###################################$URL="http://yourmcafeeserver//PROD_WIN_ePO_Agent_FramePkg.exe"$downloadtargetpath= "C:\temp\PROD_WIN_ePO_Agent_FramePkg.exe"# Forece TLS 1.2 ###################################[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12write-host " " write-host "Download McAfee Binaries from: $URL" -ForegroundColor Yellowwrite-host " "try {   Invoke-WebRequest -UseBasicParsing $URL -OutFile $downloadtargetpath -ErrorAction [...]

2017-12-01T20:47:15-05:00July 20th, 2017|Microsoft, Powershell Scripts|Comments Off on Powershell Script to silent install McAfee Agent

About me

I have more than 15 years hands-on experience in the IT field. The majority of my work is in networking, operating systems and applications and storage. I carry industry certifications in Redhat, Microsoft, EMC, VMWare, VCE and ITIL.

I find it hard to find procedures or documents on how to implement specific technology and this is how the decision to create a place to share my knowledge and ideas for anyone interested in the same subject.

If you have the same vision and you are interested to publish on this website please contact me and I will create an account for you.

Certifications:
RHCSA

Certifications:
MCSE Security
MCSA Massaging

Certifications:
EMCIE- Isilon
EMCTA- Isilon
EMCIE- VNX

Certifications:
VCP-DCV

Certifications:
VCE-CIA

Certifications:
TITL

This site is targeting Solution Architects, Implementation Engineers and Systems Administrators. It is not targeting sales or intending to promote any specific technology or vendor.

The focus is on hands-on work, technical documentations and architecting solutions.

The site reflects my knowledge and opinions, I do recommend that you test what you learn in the lab environment before implementing it in production.

If you have a doubt call technical support, I do not assume any liability for any errors or omissions in those articles, I also make no representations as to the accuracy or completeness of any information on this site or found by following any link on this site

Content published here is tested in my own lab and is not reviewed or approved by any vendor.

If you have any issues with your system I highly recommend you contact the technical support of the vendor.

Disclaimer

Knowledge Ascent (KA) makes information available on its web site to enhance public knowledge and promote a better understanding of the IT environment. KA attempts to provide accurate, complete, and timely information. KA, however, cannot guarantee the quality, content, accuracy, or completeness of the information, text, graphics, links, and other items contained on its web pages because the material comes from a variety of sources, collected and maintained for different purposes. KA also retains the right to change any content on its web site without prior notice.

Information provided on the KA web site should not be used as a substitute for IT or other professional advice. KA assumes no liability for any damages or loss of any kind that might arise from the use of, misuse of, or the inability to use the KA web site and/or the materials contained on the web site. KA also assumes no liability for improper or incorrect use of materials or information contained on its web site. All materials that appear on the KA web site are distributed and transmitted "as is," without warranties of any kind, either express or implied, and subject to the terms and conditions stated in this disclaimer.

Go to Top