Skip to content

Chen V PowerShell Blog

I Multiply Happiness by Sharing!

  • About Me
  • TechNet Wiki
Chen V PowerShell Blog

Tag: PowerShell

Azure Update Management

Retrieve non-compliant virtual machines – Azure Update Management

Posted on 22nd October 201922nd October 2019

Team showed me the pain points to pull out the azure virtual machine information which are missing the security and critical updates. I tried my best and found a way to pull the report using PowerShell. Indeed, there can be alternative – But, this solution gave us the data we need! Code param ( $SUBSCRIPTIONID, […]

AZ CLI

AZ CLI (Resource Graph) – To retrieve azure virtual machine information with power status.

Posted on 28th August 2019

I was developing a solution to fetch azure VM information as part of the update management process. Indeed, there are many ways to pull the reports. But, I thought of doing it in az cli is best options! Here is the script which pulls out the azure virtual machines information with power status. $virtualMachines = […]

PowerShell

Microsoft Security Response Center (MSRC) Query and Parse a REST API with PowerShell

Posted on 23rd July 2019

I got a requirement which is to fetch MSRC report. If you are new to Microsoft Security Center API like me refer here. Using your Microsoft ID generate an api key. The ask is very simple – Retrieve the report which should contain below information CVE Title. CVE Number. Published Date. Affected Products. (This gives […]

Polaris

Windows Subsystem For Linux and Remote Development (Remote-WSL)

Posted on 30th June 2019

June 29, 2018 – BITPro Meetup held at LinkedIn India office which helped me to understand two main things #WSL (Windows Subsystem For Linux) and #Remote-WSL (VSCode Extension) . Like many I was aware of it but never had a chance to work. So, I thought of trying it once and now I couldn’t stop.  […]

Az Function App PowerShell

Working with Azure Function App using PowerShell and PSHTML module – Part 3

Posted on 5th May 20195th May 2019

In this blog post I will show a simple method to send email to the given address (Input form with a email input field and a submit button). Yes, you can think alternate for Office365 SMTP like send grid and mail jet services. But the ASKS is to send email with HTML body to given […]

Az Function App PowerShell

Working with Azure Function App using PowerShell and PSHTML module – Part 2

Posted on 1st May 20191st May 2019

 In my previous blog post I demoed a simple example – GET and POST in Azure Function App. Here, comes the second part of it which answers the below questions (ASKS from readers) How to upload required modules in Azure Function App? How to beautify my web app with no programming skills? I am […]

Az Function App PowerShell

Working with Azure Function App using PowerShell and PSHTML module – Part 1

Posted on 2nd April 20193rd April 2019

Here is a quick demo of collecting user information and print on web browser as JSON. I know, this will not serve any purpose but give an idea of GET and POST in Azure Function App. Yes, PSTHML works great with the Azure Function App. You may ask why to use function app with PowerShell […]

Polaris

PSHTML tip to validate the input text field(s) against JSON file

Posted on 12th March 2019

I got an interesting requirement through a Facebook ping, I took some time to think through it and decided to blog after finding a nifty PSHTML tip. Here is the requirement “I need to validate the input text field against the JSON file which has huge list of names. Can I do it using switch, […]

PowerShell

How to generate bearer token value for Azure REST API headers without AzureRm.Profile?

Posted on 7th February 2019

 I was doing Azure REST API demo at my work place where a good ask popped up “Why Get-AzureRMContext cmdlet to generate bearer token?” We need to fall back with ARM module to work with REST based codes, right? Yes, if we look at this solution – ARM module is prerequisite! And REST API […]

Polaris

PowerShell Polaris Tip: To Download Static Files

Posted on 23rd January 201923rd January 2019

This blog post is to share a Polaris tip to download static files from the server to client. Yes, it’s a HTTP web server built using Polaris module which is a cross platform. Refer Polaris docs if you are new. out requirement is to download any static files. For that we use the New-PolarisStaticRoute public […]

Posts navigation

1 2 … 9 Next

Archives

  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • May 2016
  • January 2016
  • December 2015
  • November 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015

Recent Comments

  • Chen V on PSHTML tip to validate the input text field(s) against JSON file
  • Chen V on Working with Azure Function App using PowerShell and PSHTML module – Part 3
  • Maddie Trautman on Get High Priority Email Message as a Phone Call using EWS API and PowerShell
  • Konstantin Kaminskiy on Working with Azure Function App using PowerShell and PSHTML module – Part 1
  • Harikanth on PSHTML tip to validate the input text field(s) against JSON file
Proudly powered by WordPress | Theme: Sydney by aThemes.