PowerShell – Telegram
PowerShell
820 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Create a report on local DNS lookups using PowerShell
By: Harm Veenstra

When troubleshooting a system, you sometimes need to know what DNS lookups are being done. This will give you a good insight into traffic from the systems to the local network or internet. You can do this with DNS auditing on your Windows server or in your local Pihole server, but that's not always available
Link
PSTemperature
By: Dave Carroll

A simple PowerShell binary module used for conversion between Celsius, Fahrenheit, and Kelvin temperatures. Rankine temperature scale support is provided via PowerShell 7 Experimental Features. This module can be used as an example of a PowerShell binary/C# module and for PowerShell 7 Experimental Features.
Link
Today's cmdlet ‣ ConvertFrom-Json
Converts a JSON-formatted string to a custom object or a hash table.

Example's Remarks:
• You can also use the `Invoke-RestMethod` cmdlet, which automatically converts JSON content to objects.

#tutorial
👍2
AzBobbyTables
By: Emanuel Palm

A module that wraps the Azure Data Tables SDK. +1 just for the name alone!
Link
👍2
PowerShell for DBAs
By: Andreas Jordan

I don't want to build a product or module. I want to provide a proof of concept, a tutorial, a code example, maybe a guide or a source of ideas for your own implementation. This is about using publicly available software (like database clients or NuGet packages) and a few lines of PowerShell code to show database administrators how to work with PowerShell.
Link
Create a multiple-choice quiz using PowerShell
By: Harm Veenstra

Tomorrow I'm taking the AZ-800 (Administering Windows Server Hybrid Core Infrastructure) exam and I wanted to create a simple test exam quiz for myself with multiple-choice questions. This blog post will show you how to do that using an Excel file with questions and A, B, C, and D answers including the correct answer to check on.
Link
👍2
How to implement your PowerShell 7 Scripts in Task Scheduler
By: Patrick Gruenauer

So you're already working with the latest PowerShell version and wondering how to automate your PowerShell 7 noscripts with the task scheduler? Yes? Ok, then stay tuned I will show you
Link
Today's cmdlet ‣ New-PSDrive
Creates temporary and persistent drives that are associated with a location in an item data store.

Example's Remarks:
• To ensure that the drive is available outside of the noscript to must use the Scope parameter to create the drive in the Global scope.

#tutorial
👍1
Exchange PowerShell without basic auth?
By: Alexander Holmeset

On October 1st Microsoft states in this doc that they are starting to randomly disable Basic Auth in tenants. They even started to disable it last year for tenants that had not used it. It's a good thing they are taking this step to make our tenants more secure. The big questions though is,
Link
Today's tip ‣ Lexical structure: Real literals

”A real literal may contain a numeric-multiplier (kb, mb, gb, tb, pb).”

#tip
👍1
Today's cmdlet ‣ Push-Location
Adds the current location to the top of a location stack.

Example's Remarks:
• The first command pushes the current location onto a new stack named Stack2, and then changes the current location to the home directory, represented in the command by the tilde symbol (`~`), which when used on a FileSystem provider drives is equivalent to `$HOME` and `$env:USERPROFILE`.

#tutorial
👍1
Azure Bastion: Upgrade Basic SKU to Standard SKU with Azure PowerShell
By: wmatthyssen

This blog post will show you how you can upgrade Azure Bastion from the Basic SKU to the Standard SKU (Tier) via PowerShell
Link
Powershell: Citrix Hypervisor Count Function
By: Alain Assaf

Contents Contents Scenario Citrix Hypervisor and PowerShell? Conculsion Learning More Value for Value Scenario I've been hesitant to dive into Citrix Hypervisor PowerShell cmdlets, but there's no rational reason to not do it. Citrix continues to make great strides in expanding and updating PowerShell for its hypervisor, PVS, and XenDesktop.
Link
Upgrade of Teams Policy Cmdlets Enables Use in Azure Automation
By: Tony Redmond

This article explains how to make Teams policy assignments using an Azure Automation runbook and some of the modernized cmdlets available in the Teams PowerShell module. Not everything worked as smoothly as we'd like, but like most PowerShell scenarios, there's usually a workaround available to get the job done. It just needs to be found.
Link
👍1
Today's cmdlet ‣ Get-WinEvent
Gets events from event logs and event tracing log files on local and remote computers.

Example's Remarks:
• The `Get-WinEvent` cmdlet uses the ListLog parameter to specify the Setup log.
• The object is sent down the pipeline to the `Format-List` cmdlet.
• `Format-List` uses the Property parameter with the asterisk (`*`) wildcard to display each property.

#tutorial
👍3
Capitalizing on Opportunity with Mikey Lombardi
By: The Powershell Podcast

In the episode, Mikey Lombardi explains how his involvement in the PowerShell community has opened opportunities throughout his career. We discuss how imposter syndrome can prevent you from even trying for a fantastic opportunity and how much growth can come from being brave in those moments. We learned the reasons behind his PowerShell course, pwshop, and why he has made it free. We also cover, cross-domain learning, documentation, biggest mistakes, and more.
Link
👍1
Cross-Platform PowerShell with Daniel Silva
By: The Powershell Podcast

In this episode, Daniel shares his experience with PowerShell. We discussed his experiences with Raspberry Pi's, IOT, and how that played a role with his getting involved in the PowerShell community. Daniel shares his thoughts on learning, teaching, and accidentally defines Yak Shaving for us.
Link
Using Azure Key Vault with Microsoft 365 PowerShell
By: Tony Redmond

A previous article explains how to use an Azure Automation runbook to write information to a SharePoint Online site and Teams channel. At the time, I used a stored credential to authenticate and access SharePoint and Teams. Azure Key Vault offers another way to store secrets (bits of information) securely. This article explores how to store secrets in Azure Key Vault and retrieve and use the secrets in a runbook noscript and interactive PowerShell.
Link
Enable BitLocker with PowerShell
By: Surender Kumar

BitLocker is a volume encryption technology that was first introduced in Windows Vista and Windows Server 2008. Like other Microsoft products, it also suffers from certain glitches, but many people around the globe rely on BitLocker Drive Encryption (BDE) to protect their data at rest.
Link
👍1
Assigning Permissions for Apps to Use the Microsoft Teams PowerShell Module
By: Tony Redmond

Before an app or an Azure Automation account can use the Teams PowerShell cmdlets in a noscript or runbook, it must have the permission to act as an administrator. In this article, we cover how to assign the necessary role to a service principal.
Link