-
Send E-Mail
To send an e-mail notification using PowerShell, you can use the Send-MailMessage cmdlet. This cmdlet allows you to specify the sender, recipient, subject, and body of the e-mail, as well as any ad...
-
Utilizing An Azure App Gateway for SSL Offloading
Create an App Gateway in Azure Configure the listener to listen on port 80 or 443 If you create a port 80 listener and change it to 443, you have to delete and re-create it and visa...
-
Querying Azure Insights
Azure Insights and Log Analytics make sifting through logs and monitoring a beautiful experience. Event | where tostring(EventID) matches regex @'4700|4701|5139' | project TimeGenerated, Source, ...
-
Replacing Citrix with Azure AVD
Citrix is indeed a powerful platform that offers virtual desktop infrastructure (VDI) and application delivery solutions to organizations. It provides a range of features and capabilities that can ...
-
If / Then / Else Statements
In PowerShell, an if statement allows you to execute a block of code based on the evaluation of a conditional expression. An elseif clause allows you to specify additional conditions that are check...
-
Securing On-Premise Resources Using Azure App Registrations and an Application Proxy
Azure Active Directory (AAD) Setup: If you don’t have an Azure AD tenant, create one in the Azure portal. Application Proxy Setup: Install and configure the Azure...
-
Using SnowFlake with the Python Data Connector
To use Python and SnowFlake you need the data connector pip install snowflake-connector-python This code block would run a basic select statement import snowflake.connector ctx = snowflake.conn...
-
Invoke-WebRequest with PowerShell
Invoke-WebRequest is a PowerShell cmdlet that retrieves data from a web page or web service. The data returned from the web request can be in various formats, including JSON. ConvertFrom-Json is a...
-
Using Azure Front Door as a Reverse Proxy for Third Party Applications
1. Create an Origin Group: Log in to the Azure portal (https://portal.azure.com/). In your Front Door resource, go to “Origin Groups” and create a new one. Add the third-party URL as a back...
-
Log Out Certain Users from Servers with PowerShell
To query a Windows computer for all logged on users and log off a specific user using PowerShell, you can use the quser command to retrieve a list of logged on users and the logoff command to log o...