Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell
By: Przemyslaw Klys
When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph API, which is a 'new' kid on the block. For some time, I've used Microsoft Graph exclusively to send emails in favor of SMTP as it's much easier to manage and generally works over HTTPS.
Link
By: Przemyslaw Klys
When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph API, which is a 'new' kid on the block. For some time, I've used Microsoft Graph exclusively to send emails in favor of SMTP as it's much easier to manage and generally works over HTTPS.
Link
Evotec
Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell
When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph API, which is a "new" kid on the block. For some time, I've used Microsoft Graph exclusively to send emails in favor of SMTP as it's much easier to manage…
Today's cmdlet ‣ ConvertFrom-Markdown
Convert the contents of a string or a file to a MarkdownInfo object.
Example's Remarks:
• The MarkdownInfo object is returned.
• The Tokens property has the AST of the converted content of the `README.md` file.
• The Html property has the HTML converted content of the `README.md` file.
#tutorial
Convert the contents of a string or a file to a MarkdownInfo object.
Example's Remarks:
• The MarkdownInfo object is returned.
• The Tokens property has the AST of the converted content of the `README.md` file.
• The Html property has the HTML converted content of the `README.md` file.
#tutorial
👍2
How to run Docker commands in CMD/PowerShell from Docker using WSL2
By: Federico Navarrete
In the last tutorial, we learned how to create Docker images without Docker Desktop in Windows. However, this can break our daily duties, especially if we have automated anything. This can be fixed in three steps:
Link
By: Federico Navarrete
In the last tutorial, we learned how to create Docker images without Docker Desktop in Windows. However, this can break our daily duties, especially if we have automated anything. This can be fixed in three steps:
Link
DEV Community
How to run Docker commands in CMD/PowerShell powered by Docker running in WSL2
In the last tutorial, we learned how to create Docker images without Docker Desktop in Windows....
Running commands in the shell
By: Sean Wheeler
PowerShell is a command-line shell and a noscripting language used for automation. Similar to other shells, like bash on Linux or the Windows Command Shell (cmd.exe), PowerShell lets you to run any command available on your system, not just PowerShell commands.
Link
By: Sean Wheeler
PowerShell is a command-line shell and a noscripting language used for automation. Similar to other shells, like bash on Linux or the Windows Command Shell (cmd.exe), PowerShell lets you to run any command available on your system, not just PowerShell commands.
Link
Docs
Running commands in the shell - PowerShell
This article shows how to run commands in PowerShell.
👍1
Jeffrey Snover is leaving Microsoft
By: Jeffrey Snover
I'm sure like many of you, I own a big part of my career to this man. He certainly will be missed, and I wish him the best of luck!
Link
By: Jeffrey Snover
I'm sure like many of you, I own a big part of my career to this man. He certainly will be missed, and I wish him the best of luck!
Link
Today's cmdlet ‣ Set-ItemProperty
Creates or changes the value of a property of an item.
Example's Remarks:
• The first command creates the registry entry.
• It uses Path to specify the path of the `HKLM:` drive and the `Software\MyCompany` key.
• The command uses Name to specify the entry name and Value to specify a value.
#tutorial
Creates or changes the value of a property of an item.
Example's Remarks:
• The first command creates the registry entry.
• It uses Path to specify the path of the `HKLM:` drive and the `Software\MyCompany` key.
• The command uses Name to specify the entry name and Value to specify a value.
#tutorial
👍2
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
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
PowerShell is fun :)
PowerShell is fun :)Create a report on local DNS lookups using PowerShell
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 …
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
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
GitHub
GitHub - thedavecarroll/PSTemperature: A simple PowerShell binary module used for conversion between Celsius, Fahrenheit, and Kelvin…
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. Thi...
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
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
By: Emanuel Palm
A module that wraps the Azure Data Tables SDK. +1 just for the name alone!
Link
Powershellgallery
AzBobbyTables 2.3.0
A module that wraps the Azure Data Tables SDK.
👍2
PowerShellGet 3.0 Preview 17
By: Sydney Smith
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
Link
By: Sydney Smith
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!
Link
PowerShell Team
PowerShellGet 3.0 Preview 17
We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a number of bug fixes as well as support for specifying the temporary path used during installation of PSResources.
👍1
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
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
GitHub
GitHub - andreasjordan/PowerShell-for-DBAs: How to use PowerShell as a database administrator.
How to use PowerShell as a database administrator. - GitHub - andreasjordan/PowerShell-for-DBAs: How to use PowerShell as a database administrator.
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
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
PowerShell is fun :)
PowerShell is fun :) Create a multiple-choice quiz using PowerShell
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 bl…
👍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
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
SID-500.COM
How to implement your PowerShell 7 Scripts in Task Scheduler
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 two ways…
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
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
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
A blog about automation and technologies in the cloud
Exchange PowerShell without basic auth?
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 …
Today's tip ‣ Lexical structure: Real literals
”A real literal may contain a numeric-multiplier (kb, mb, gb, tb, pb).”
#tip
”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
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
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
Wim Matthyssen
Azure Bastion: Upgrade Basic SKU to Standard SKU with Azure PowerShell
This blog post will show you how you can upgrade Azure Bastion from the Basic SKU to the Standard SKU (Tier) via the use of an Azure PowerShell noscript. Azure Bastion is an Azure…
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
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
Alain Assaf
Powershell: Citrix Hypervisor Count Function
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…
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
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
Office 365 for IT Pros
How to Make Teams Policy Assignments with Azure Automation
This article explains how to make Teams policy assignments using an Azure Automation runbook and the latest Teams PowerShell module (V4.9).
👍1