blog.icewolf.ch

Let's talk about IT!
posts - 2080, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

Monday, June 20, 2022

PowerToys Release v0.59.1

Hi All,

A few days ago a new Version of PowerToys has been released that fixes some Problems

Release v0.59.1





Regards
Andres Bohren


posted @ Tuesday, June 21, 2022 7:23 AM | Filed Under [ Windows ]

MSCommerce PowerShell Module 1.8 released and some new SelfServicePurchase Products

Hi All,

A few days ago the MSCommerce 1.8 PowerShell Module in the PowerShell Gallery has been released.

PowerShell Gallery MSCommerce

Use AllowSelfServicePurchase for the MSCommerce PowerShell module

Check for installed version of the Module
Get-InstalledModule MSCommerce

Check what's available in PowerShell Gallery
Find-Module MSCommerce

Uninstall old Version and install new Version of the Module
Uninstall-Module MSCommerce
Install-Module MSCommerce


Connect to M365 and view the Details

Import-Module -Name MSCommerce
Connect-MSCommerce
Get-MSCommercePolicy -PolicyId AllowSelfServicePurchase
Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase


Disable Self Service Purchase

Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0HVZG -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LH3N -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LHWP -Enabled $False
Update-MSCommerceProductPolicy -PolicyId AllowSelfServicePurchase -ProductId CFQ7TTC0LH05 -Enabled $False


Now it looks the way i want

Get-MSCommerceProductPolicies -PolicyId AllowSelfServicePurchase



Regards
Andres Bohren


posted @ Monday, June 20, 2022 9:12 AM | Filed Under [ Microsoft365 ]

Powered by:
Powered By Subtext Powered By ASP.NET