Manage your datacenter over the web using PowerShell web access

Good News! Windows 2012 R2 came with hundreds of new features, few of them are real gems (then the features Windows 2016 with a lot more). I am talking about "PowerShell web access" on this post PowerShell Web Access, you can do almost any task on any remote server from any device that has a … Continue reading Manage your datacenter over the web using PowerShell web access

Advertisements

Updates not uninstalling :: An error has occurred. Not all the updates successfully uninstalled :: 0x80073712

Issue: Unable install or uninstall Windows updates on Windows 2016 (Windows 8/10/2012 operating system) It failed with "An error has occurred. Not all the updates successfully uninstalled" Event log says "Package KB4056890 failed to be changed to the Absent state. Status: 0x80073712." DISM.log has logged with below error lines 2018-02-09 09:53:45, Info                  DISM   DISM Package … Continue reading Updates not uninstalling :: An error has occurred. Not all the updates successfully uninstalled :: 0x80073712

Access Denied When Editing MSMQ Messsage Queuing Properties

Issue:  We were trying to adjust Private Message Queuing properties (specifically, message storage limits, Access Permission) via Computer Management on my machine. It fails with the following message: The properties of cannot be set. Error: Access is denied. Reason: MSMQ created private Queue by application, application was using system account to create the queue. Unable … Continue reading Access Denied When Editing MSMQ Messsage Queuing Properties

POWERSHELL SCRIPT:: DHCP BACKUP SCRIPT WITH NOTIFICATION

This script can be scheduled from a remote machine to execute across DHCP servers Below command to find list of Authorized DHCP servers, (Get-ADObject -SearchBase "cn=configuration,dc=domain,dc=net" -Filter "objectclass -eq 'dhcpclass' -AND Name -ne 'dhcproot'").name, this can be incorported instead of  [array]$lists = @(“DHCP01″,”DHCP02″,”DHCP03”). Like [array]$lists = (Get-ADObject -SearchBase "cn=configuration,dc=domain,dc=net" -Filter "objectclass -eq 'dhcpclass' -AND Name -ne 'dhcproot'").name Below … Continue reading POWERSHELL SCRIPT:: DHCP BACKUP SCRIPT WITH NOTIFICATION

POWERSHELL SCRIPT :: Request for Certifcate and Import in to Remote Machine

Below script created to achieve certain requirement of include non-production domains servers in to SCOM monitoring, where gateway servers are not available and no PKI environment to issue certificate. First part generate, import, and Export certificate (pfx) with private key and Second part import pfx certificate in to local machine. Need to create Computers.csv with … Continue reading POWERSHELL SCRIPT :: Request for Certifcate and Import in to Remote Machine

KNOWN ISSUE :: POWERPATH INSTALLATION ISSUE (WINDOWS 2016)

Issue: Powerpath Installation failing on Windows 2016 server Operating system. Installation abruptly ended with error “Powerpath detected a problem with MPIO feature” Casuse : MPIO missing Fix: MPIO feature must be enabled before proceeding with installation of powepath on servers. Install MPIO feature from Server manager, restart the server and proceed with Powerpath installation. NB: Always install … Continue reading KNOWN ISSUE :: POWERPATH INSTALLATION ISSUE (WINDOWS 2016)

Ansible playbook for change the root user password

Techworld

Ansible playbook for change the root user password

Requirements:

  • Need to create inventory files with list of hostnames
  • Need to copy encrypted password from /etc/shadow or you can use perl script to generate. Then paste the password to YAML file below.

Syntax:-

$  ansible-playbook -i <inventory_file> <filename.yml>

Filename.yml  contents


– hosts: all
become: yes
vars:
password: Copy the encrypted password values here

tasks:
– name: Change root password
user: name=root update_password=always password={{password}}

View original post

PowerCLI :: Update VM IP Addresses without runas administrator

Hello Friends, Yet another issue I have faced recently on updating the server VM IP address through powerCLI without running console or remote in to server. Situation was we were moving our existing production VMware environment from  one hardware solution another, vmotion of the VM from one vCenter to another failed for few servers due … Continue reading PowerCLI :: Update VM IP Addresses without runas administrator

Windows 2012 R2 server boot loop to Windows Recovery Console!

Issue:    Windows 2012 R2 server not loading to Desktop, server boot loop to Windows Recovery Console & Driver fault error 0xc0000099 Cause :   EMC powerpath driver corrupted, missing or not loading Fix : Initial Trouble shooting Steps: Boot the server in Safe mode and Last Known good configuration - Still going in to "Preparing to … Continue reading Windows 2012 R2 server boot loop to Windows Recovery Console!

Windows 2016 containers for portable application environment

Windows 2016 Containers are an isolated, resource controlled and portable Operating environment irrespective of the application and operating configuration that on host server Operating environment. Such containers have existed for a long time on Unix-like operating systems, but their usage for application deployment increased following the release of Docker as an open source project in … Continue reading Windows 2016 containers for portable application environment