Disable Default "Open Windows PowerShell" Right-Click Menu?
How would one permanently disable Shift+Right-Click "Open PowerShell window here" context menu without simultaneously disabling the PowerShell and Elevated PowerShell Options in the File Explorer File Menu Bar? More info: For Registry Keys…
Windows 10
Windows Server PowerShell
Unauthorized (401) listing synchronization jobs for service principal in MS Graph API
I am trying to use MS Graph API to configure Azure AD Connect Cloud Sync from these [instructions][1] but I am having trouble calling this [endpoint][2] in Powershell using client credentials:…
Microsoft Graph
Windows Server PowerShell
Microsoft Entra ID

azcopy.exe - AuthenticationErrorDetail: Signature did not match
I am trying to copy blobs from a folder in one container to folder in another container, both in the same storage account, but am hitting authentication error. I'm using latest powershell 7 on my laptop. $rg = "<resource…
Azure Storage Accounts
Azure Blob Storage
Windows Server PowerShell
SharePoint Online - PnP PowerShell - Sharing Links
Hi MS Q&A, Seeking advice and information if there are any PnP PowerShell cmdlets (not CSOM) available to identify existing Sharing Links in use similar to gaining similar output from the Settings > Site Usage > Shared with External Users…
SharePoint
Windows Server PowerShell
Unable to install IIS on Server 2019 DC error 0x800f081f
I`m getting this error: I tried the following commands: Microsoft Windows [Version 10.0.17763.3650] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\Administrator.WIN-ONA542MGLKP>dism /online /enable-feature…
Windows Server 2019
Internet Information Services
Windows Server Management
Windows Server PowerShell

What is the alternative tool for RSAT for MAC machine?
Hi, We want to install powershell active directory , for that we need Remote Server Administration Tools, Since it is available only for Windows, what is the alternative tool which we can use for RSAT?
Windows Server PowerShell
How to add LPR port manually?
Hi I'm trying to find a way to add a LPR printer port via PowerShell. The add-printerport creates standard TCP/IP port only. Basically what this Ok button does in the background I'd like to know. Figured so far, that it creates a bunch of…
Windows Server Printing
Windows Server PowerShell
get list of AzureDirectory roles that assigned for a specific user by powershell
Hi Support I would like to get a list of AzureDirectory roles that assigned to a specific user by powershell .. i tried many commands but keep getting the error : Get-AzRoleAssignment -SignInName "xxxxx@Anonymous .com" Get-AzRoleAssignment :…
Windows Server PowerShell
Microsoft Entra ID
4 keywords - Azure CLI, Azure PowerShell, Azure Cloud Shell and Bash
Hello everyone, Someone please explain why do we have 4 options in Azure cloud for any scripting? Also explain me the differences between the four options as shown below. 1. Azure CLI, 2. Azure PowerShell, 3. Azure Cloud Shell 4. Bash Thanks
Windows Server PowerShell
How to get the serial number of the monitors using Powershell?
After a lot of research, try and error, I got a code that could get as close as possible to the monitors serial number but not the actual serial number. $Monitors = Get-WmiObject WmiMonitorID -Namespace root\wmi $LogFile =…
Windows Server PowerShell
windows terminal中如何更改编码格式为utf-8?
windows terminal的默认编码格式为gbk,编译一些utf-8文件的时候会出现乱码,如何把windows terminal的默认编码格式改为utf-8?
Windows 10
Windows Server PowerShell
PowerShell
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…
Windows Server PowerShell
How to set PowerShell eventlog max size in a GPO
Hi there. I need to set the PowerShell event log in Windows max size in a GPO. I allready got the Eventlog Max size for: Application, Security, Setup, and System down in the: "Windows Components/Event Log Services" area My google foo has…
Windows
Windows Server Security
Windows Server PowerShell

Get-Certificate cmdlet failed
I need to issue a certificate for a server. I run these commands: $cred = Get-Credential Get-Certificate -Template Templatename -CertStoreLocation Cert:\LocalMachine\My -Credential $cred But after the second command I get this error: …
Windows Server
Active Directory
Windows Server PowerShell

How to use ForEach-Object -Parallel in Azure Devops Pipeline Agent.
I want to use a PowerShell script which has below cmdlet. When I tried to use MS Hosted Pipeline agent with Parallel feature I'm getting "Parameter set cannot be resolved using the specified named parameters" error. How can I execute the…
Windows Server PowerShell
PowerShell
Azure Enterprise Applications - Configure Notification Email for all apps with SSO/SAML Configuration
Hello, Is there a way to configure the Notification Email Address for all Azure Enterprise Applications with an SSO/SAML Configuration? We want an internal sysadmin distribution list notified of all expiring SAML certificates, but this DL was not…
Windows Server PowerShell
Microsoft Entra ID
Check the EnableAIPIntegration and EnableAutoNewsDigest Values using PnP
Hi Experts, I was setting the values of EnableAIPIntegration and EnableAutoNewsDigest on the Sharepoint Instance using the Set-PnPTenant cmdlet and I am using Set-TenantSite cmdlet to change -ExternalUserExpirationInDays. But then I also want to check…
SharePoint
Windows Server PowerShell

SharePoint online: Get permission from each document folder by PowerShell via CSV file
Hi, I'm looking for solution on following. I want to get permission from a document library the folder and subfolder with permission settings and want it as CSV file output. During searching, I found this script, but it doesn't include the…
SharePoint
Windows Server PowerShell
extract .zip files from multilple locations with Batch or Script file
I have a bunch of folders that contain .zip files. is it possible to run a batch that will search for zip files in multiple folders and automatically unzip them in the parent folder?
Windows Server PowerShell
Update Micorosoft Store and Store Apps with command line?
Hi To update Microsoft Store and Store Apps, I navigate to the Store and select "Get Updates", like above screenshot. Question: Is there any possibility to achieve the same with Command Line /Power Shell or DISM?