PowerShell
773 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
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 script 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 script 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
Today's cmdlet ‣ Split-Path
Returns the specified part of a path.

Example's Remarks:
• This command determines whether the path is relative or absolute.
• In this case, because the path is relative to the current folder, which is represented by a dot (`.`), it returns `$False`.

#tutorial
👍2
PowerShell Unplugged 2022 Edition
By: Thomas Maurer

April Edwards and I had the chance to host the PowerShell Unplugged 2022 Edition and the video is now available on YouTube! In the PowerShell Unplugged 2022 Edition we talked to the PowerShell product group at Microsoft to learn more about PowerShell 7, secret management, PowerShell Crescendo, Remoting, Predictive IntelliSense, VS Code, the roadmap, and .
Link
👍2
Today's tip ‣ Basic concepts: Error handling

”An error falls into one of two categories. Either it terminates the operation (a terminating error) or it doesn't (a non-terminating error). With a terminating error, the error is recorded and the operation stops. With a non-terminating error, the error is recorded and the operation continues.”

#tip
Today's cmdlet ‣ Set-Location
Sets the current working location to a specified location.

Example's Remarks:
• This command sets the current location to the root of the `HKLM:` drive.

#tutorial
👍1
Query Azure AD logs with KQL from Powershell
By: Stian A. Strysse

Kusto Query Language (KQL) is a powerfull tool to query Azure AD log entries from Log Anayltics in Azure. See how you can query log data using Powershell.
Link
Building PowerShell Azure Functions with VS Code [Series]
By: Adam Bertram

Running PowerShell in Azure Functions gives your scripts infinite resources and flexibility. Learn how to cloudify your PowerShell scripts with Azure Functions!
Link
Release 1.1.6 SailPoint IdentityNow PowerShell Module
By: Darren Robinson

I've just published v1.1.6 of the SailPoint IdentityNow PowerShell Module to both GitHub and the PowerShell Gallery. Release 1.1.6 of the SailPoint IdentityNow PowerShell Module is the result of updates by Sean McGovern, Yannick Beot, David Minnelli and myself.
Link
Today's cmdlet ‣ Get-ChildItem
Gets the items and child items in one or more specified locations.

Example's Remarks:
• The `Get-ChildItem` cmdlet uses the Path parameter to specify the directory `C:\Test\Logs`.
• The Exclude parameter uses the asterisk (`*`) wildcard to specify any files or directories that begin with A or a are excluded from the output.

#tutorial
Two Exchange Server vulns veer dangerously close to ProxyShell
By: Angela Gunn

A chained pair of vulnerabilities, plus PowerShell, affects the Microsoft messaging platform well in advance of Patch Tuesday; Sophos customers are protected
Link