Menu

Virtual Geek

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

Blog posts : "microsoft"

PowerShell HPE ILO4 Rest API automation examples

Using Microsoft PowerShell to consume and automate any Restful API is very easy. In my earlier article I showed how to automate VMware product to automation rest api - Powershell Using vRealize Log Insight Rest API. In this article I am using HPE ILO4 Rest API to write automation scripts and how …

Read more

Powershell Write-Eventlog The source name test does not exist on computer localhost

I was writing one GUI program on Microsoft Powershell, One of the requirement was logs (Information, Warnings and Errors) must be written under Event Log - Event Viewer, So troubleshooting or information viewing for program operations is easy and everything is logged properly. To fulfill the task th…

Read more

PowerShell Invoke-WebRequest The underlying connection was closed: Could not establish trust relationship for the SSL TLS secure channel.

I face below error frequently whenever try to automate a website running self signed or invalid certificate, Here is my lab vCenter server for demo which is using self signed SSL certificate. This causes my script to fail whenever using Invoke-WebRequest to automate website. You can trust the cer…

Read more

PowerShell Invoke-WebRequest The request was aborted Could not create SSL TLS secure channel

I was testing automating few banking websites to check uptime, Invoke-WebRequest is use to access webiste, using this command I wrote a script to access bank website with PowerShell commands, but while executing scripts it was failing to access web site and showing below error.

Invoke-We…

Read more

Add and manage TLS SSL certificates on Azure Web App

Uploading to Azure Web Apps Using FTP

Web apps works as very good hosting plan, you can host your website apps on line with Azure very easily. This is 3rd article in the series how to upload files to web app. Once Azure Web Apps is configured, next step is to upload custom web application built with php + html codes on it. Go to the Res…

Read more

Azure azcopy login error Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '579a7132-0e58-4d80-b1e1-7a1e2d337859'

While working with new version 10 of azcopy.exe I was facing error while login. After logging in the browser it was not accepting my username and password to login to Azure.What it says is I am not able to login to '579a7132-0e58-4d80-b1e1-7a1e2d337859', and my user account doesn't exist for login.…

Read more

AzCopy copy transfer fails with 403 This request is not authorized to perform this operation using this permission

Azcopy is a great command-line tool for automating Azure storage, it is a simple yet powerful command line interface that allows you to copy files to and from Azure storage and between Azure storage accounts. I was doing POC of the latest version of azcopy.exe, (There 2 different flavors available f…

Read more

Configure a custom domain in Azure Web Apps

Create and deploy a website with Microsoft Azure web app service plan

I was testing Microsoft Azure web app resource service for one of a incoming project, it allows you to publish and manage your website easily without having to work with the the underlying servers, storage, or network assets, basically it is a PAAS (Platform as a service), it is helps you to focus o…

Read more

Powershell Azure Az module Install-Package cannot convert value 2.0.0-preview to type system.version

While installing/upgrading Azure PowerShell az module I faced below error. I was using Powershell Desktop Version 5.1 and it by default comes with Windows 10 OS. I cannot install PowerShell Core (another application) due to restrictions. So thought of using whatever I have on my received laptop.

Read more

Passed Architecting Microsoft Azure Solutions 70-535 Exam and Preparation guide

I passed Architecting Microsoft Azure Solutions 70-535 Exam recently. Earlier 70-534 Architecting Microsoft Azure Solutions exam was no longer exist and it was been withdrawn by Microsoft. In my first attempt I had failed exam, and understood my weaker areas and where I need to work upon. Below is t…

Read more

Powershell GUI format text on TextBox and RichTextBox

I was preparing some auditing and reporting tools for some of newly received projects and wanted a way to formatting representation of data on my GUI form in nice way. To show this nice formatting you can use tags inside TextBlock and RichTextBox inside xaml code and binding can be used.These tags a…

Read more

Part 3: Powershell wpf MahApps.Metro theme step by step

Part 1: Basic Powershell WPF Themes guide step by step
Part 2: Powershell WPF Themes guide step by step
Part 3: Powershell wpf MahApps.Metro theme step by step

As shown in my previous articles using sample xaml as style and themes, here I am using community popular MahApps.Metro wpf theme, Thi…

Read more

Powershell WPF custom Image based ProgressBar

In this article I am showing some different ProgressBars for WPF GUI, This progressbar can show your chunk of silhouette image loading instead progress nicely. Below is the demo for my new progressbars, It can be used as an animated text or image. Images should be silhouette, A silhouette is the ima…

Read more

Windows Admin Center (formerly Project Honolulu)

Windows Admin Center is an evolution of Windows Server in-box management tools; it’s a single pane of glass that consolidates all aspects of local and remote server management. Windows Admin Center proposals "elastic, locally-deployed, browser-based management platform and tools". The impression beh…

Read more

Microsoft Powershell: Download a whole folder of files/subfolders from the web directory

One of my friend was seeking my help creating a script to download bulk files and folder from internal office training web portal, just newly created. Folders and files web structure was looking like below. The first url link shows what are the different training material was available, downloading …

Read more

ESXi HP Blade start issue Enclosure power event detected, System Halted until power condition is corrected

Sometimes I receive below error on the HP Prolient Bladesystem ILO after server reboot, it refuses to complete post, shows message, 
Enclouse Power Even Detected
System Halted until Power Condition is Corrected

In most of the case to resolve it I reseat the blade in chassis enclosure (Remove …

Read more

Microsoft Powershell: Export remote registry information to excel

Reset HP ILO Administrator password from Microsoft Windows

In this second part of my article I will be showing how to reset ILO password on Windows server. For Esxi server check my earlier article Reset HP ILO password from Esxi server. First requirement to this is install HP Lights-out online Configuration utility, which can be downloaded from below links.…

Read more

20 Blog Posts

Blog Search

Page Views

3863853

Follow me on Blogarama