Issues with Web Front End app for background PS scripts with PS remoting inside
Hi, I have issues with Web Front End app (running on IIS) for background PS scripts with PS remoting inside: $session = New-PSSession -ComputerName dcName -ConfigurationName DomainAdmins Invoke-Command -Session $session -ScriptBlock {...} …
WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications.
I can't seem to update modules. I do not know why I keep getting this error. WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications. I'm trying to update Exchange…
![](https://techprofile.blob.core.windows.net/images/i5RCddKURUmr9hZ31GrmVw.png?8D8EE3)
How to deploy printer in a GPO via powershell
I'd like to add printers into a GPO via powershell because eventually I need to add 50-100 printers. This is the process. Then, I need to add printers inside "Control Panel Settings" So, I created the first part of the…
Windows 2022 server requesting activation even though it is already activated
Windows 2022 server requesting activation even though it is already activated once i sign into the server the activation disappears for the users
Display SSL certificate expiration dates via PowerShell
Hello! I'm trying to figure out how to display when SSL certificates expire. Currently, I have the following code (which was provided to me by a colleague) and I want to know how to display the certificate's expiration date. If possible I would also like…
WinGet.exe upgrade --all -Exclude
How to exclude the list of apps [third-party application, MS applications, and MS KBnumbers] while running winget upgrade -all commands. Is there any parameter to exclude any application? It will be appriciated
Can I use both Get-AzRmStorageShare and Get-AzStorageShare modules in an Azure Automation Runbook? Body:
Hi, I currently have two different PowerShell scripts running locally on my machine, where one uses the Get-AzRmStorageShare module and the other uses the Get-AzStorageShare module to retrieve usage and quota information for an Azure File Share. Both…
How to generate a report for the list of all enterprise application that is using a single sign on (SSO)
Please asking for your help on how to generate a report to view the list of all Enterprise applications using a single sign on authentication via in a powershell. Thank you in advance
"The SSL connection could not be established, see inner exception." Issue Installing Microsoft.Graph Module in PowerShell in PowerShell
Hi everyone, I'm experiencing an issue when trying to install the Microsoft.Graph module using PowerShell 7. When I run the following command: Install-Module Microsoft.Graph -Scope CurrentUser -Repository PSGallery -Force -verbose I receive the…
I'm stucked with the error 401 unauthorized when using *PnP* Commands like Get-PnPList
Connect-PnPOnline using OAuth works fine and Get-PnPContext works but all other PnP commands get the error It worked fine using Credentials until about the first days in 2025
Powershell script for Microsoft Entra to reset the password in AD account user after 14 days
Please asking for your help on how to create a script in a powershell to reset the password of the AD users (Microsoft Entra) after in the 14days. Thank you in advance
Windows Subsystem for Linux
Hi All I have installed Windows Subsystem for Linux on Windows Server 2019. The installed version is Ubuntu 22.04.1.7.0 When I click on WSL, it opens successfully. However, when other users click on WSL, nothing happens. They are local administrators on…
PowerShell Script for Accessing Sent Emails in Outlook and Exchange
I am developing a PowerShell script to retrieve sent email IDs from my Outlook sent mailbox for both the "To" and "CC" sections, from the beginning of the email account to the current date. I managed to create a script that works for…
How to fix: The user profile Service service failed the sign-in. user profile cannot be loaded
Dear Team I have an issue with users through the business and branches. The domain account fail to load with error: The user profile Service service failed the sign-in. user profile cannot be loaded. It's affecting part of the users, it's not a daily…
![](https://techprofile.blob.core.windows.net/images/DWHuLjs_b06CLOAuY2Jumg.png?8D976B)
Validating inactive user list and excluding removing inactive users from AD groups
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test…
A positional parameter cannot be found that accepts argument
Hi All I used the following syntax to grant "TempPolicy1" globally. However, I am encountering an error while trying to remove this policy "TempPolicy1" globally Please guide me. Grant-CsApplicationAccessPolicy -PolicyName…
powershell script is not working as expect
I wanted to cancel all running or pending runs in a Logic App Standard workflow(from a custome days) But I think the below script is not working as expected. Variables $ResourceGroupName = "ResourceGroupName " $LogicAppName =…
How to generate a report via powershell,list of all Enterprise applications using a single sign on authentication
Hi, Good day Please asking on your expertise in generating a list of enterprise applications in Microsoft Entra to identify who are using the Single Sign On authentication. Thank you in advance.
How to downgrade Java version default installed into Azure Portal from Java 17 to Java 11
Java Maven compatibility issues. Java version 17 and Maven version 3.6 is the default versions in my Azure CLI. Steps to replicate Login to azure portal Click on the Azure CLI icon Azure CLI poweshell terminal opens up Type mvn -X Following…
![](https://techprofile.blob.core.windows.net/images/m5buVEA_QUeJ9P_0vgAtbg.png?8DACCA)
Invoke-WebRequest to a web server with self-signed SSL certificate
I have an IIS website hosted in a Windows 2019 server. I enbled HTTPS/SSL using a self-signed certificate. Now in a client machine, I wanto use Invoke-WebRequest to connect to the server using HTTPS and it fails wjith no doubt. Invoke-WebRequest: The…