Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Stuffs from real IT system ADMINISTRATORS world and my LAB

Azure Web App Containers Cannot perform credential operations for providers Microsoft.ContainerRegistry ad admin user is disabled, enable it

While creating a new resource Service Plan Web APP with Container, while choosing option Image Source from Azure Container Registry (ACR) and selecting docker image I was receiving error Cannot perform credential operations for /subscriptions/9e22xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/vcloud-lab.com/providers/Microsoft.ContainerRegistry/registries/testvault0007 as admin user is disable…

Read more

Adding parameters in Azure DevOps pipelines examples Part 1

This is an example of how to use parameters in Azure DevOps Pipeline YAML configurations. To start with this I have added first parameters: in the YAML file configuration. Under it I have multiple parameters, to create basic string parameter 3 properties are required name, displayName and type as shown in A section. When you don't define default value (Section A and B), from the right side you c…

Read more

PowerShell convert shared folder permissions SDDL to readable format

While working with shared folder permissions, I wanted to document access and permissions of folders in readable format in automation way with PowerShell, You can see the permissions with below command of a folder. Access and permissions are in SDDL format, not in user friendly format to read, it contents SIDs, and permissions in shortform.

The Security Descriptor Definition Language (SDDL) is…

Read more

Generate PowerShell Tree View HTML diagram of Active Directory group recursive memberships

Long back I wrote article on Powershell Active Directory: Show treeview of User or Group memberof hierarchy, where it was showing group Tree View on the PowerShell command console. In the hierarchy it was only showing Tree View of groups only. I improvised this script and included users as well. As adding users and multiple groups on the screen console was possible but not much practical to view…

Read more

Reboot remote Linux server from PHP PowerShell web server

This web portal is part of Executing a Linux programs from PHP web server. In earlier part I used only PHP to remotely execute commands on Linux server. In this it is a combination of PHP and PowerShell. Once you launch portal you will need to provide Domain username and password to authenticate and Linux server IP/Hostname to reboot Server.

To run command on Linux from windows it uses plink.e…

Read more

Executing a Linux programs from PHP web server

This is a small web automation project I created to execute remote Linux command through web server. The web language I used in this project is PHP (It is little similar to PowerShell so I was able to grasp it quickly and code the way I want). 

Using this tool users without having access to Linux server or without sharing credentials/Password, they can check information or you can enforce them…

Read more

Azure DevOps Enable creation of classic build release pipelines grayed out

While configuring new Azure DevOps pipelines in the project I found classic editor is not visible in Pipelines section also few options under Pipelines were not visible such as releases and task groups. There is s a option to enable classic editor in Project Settings. To make changes navigate to Project Settings >> Pipelines >> Settings.

I found Disable creation of classic build pipelines and…

Read more

Developing and writing custom Ansible Python module Part 2

This is a second part of Developing and writing Ansible Python custom module for VMware pyvmomi example. In this example I have extended writing python module for VMware ansible to get more information from vCenter server from one single python ansible module script. 

Download this custom ansible module for vCenter example here or it is also available github.com.

In this module it can g…

Read more

Testing domain AD credential with PowerShell one liner

This is a one liner command script to connect to Active Directory and verify user name and password credentials provided. I am using  System.DirectoryServices.DirectoryEntry .net object here to connect to LDAP server (In my case it is Active Directory). When you are connected successful with correct information you get DistinguishedName and Path information of Active directory in return.

PowerShell test ad active directory credentials username and password without login ldap domain controller one liner.png

Read more

Exploring Storage Virtualization and Data Protection Trends with BDRSuite New Release V7.0.0

We are thrilled to introduce BDRSuite version 7.0.0, now ready for production use. This release represents a significant leap in our commitment to innovation, bringing a host of exciting new features and improvements aimed at enhancing your data protection experience. Notably, this release includes groundbreaking capabilities like KVM and Azure backups, along with enhancements such as support for …

Read more

View older posts »

Page Views

11604035

Thanks for the article - pretty good but I think it's missing steps like creating persistent storage.

Please help. Javascript is not working for me. Only header is showing. I am trying from local desktop (without any web server)

How to run this on Local desktop without Web server? Powershell runs fine after doing few changes of braces in the code. But it is not reflecting on index.html

thank you, it's working

Follow me on Blogarama