Error Access Denied when try config MS Entra ID with MS teams
Hello Expert Teams, I try to Configure the application access policy but when I tried following this…
Powershell Script to export permissions on entire Domain or OU
Hello, I'm seeking assistance with a PowerShell script to export permissions within Active Directory, either for the entire domain or for a specific Organizational Unit (OU), and save the output in CSV format. Could someone kindly provide such a…
Create replication policy on destination account
I'm trying to run the below command in powershell $destPolicy = Set-AzStorageObjectReplicationPolicy -ResourceGroupName $rgName -StorageAccountName $destAccountName -PolicyId default -SourceAccount $srcAccountName -Rule $rule1,$rule2 but i receive…
Manipulating Perfmon data for easy combining and relogging for multiple device comparison.
What I'm trying to do: Perfmon is collecting data from multiple servers. I pulled the .blg files, and then combine them into one file for performance review of multiple servers. I combine the .blg files using the following script: Relog…
paraameterising the looad balancer for backend pool in the azure
We have load balancer Need to Add an option called -updateLoadBalancer which can be used to add or remove servers from the load balancer backend pool the command line -updateLoadBalancer remove -serverType PPWeb - serverSet Primary should add a step to…
WinRM not not listening on Default Port
I am having some trouble with the default WinRM listener not wanting to use HTTPS port 5986. Everything appears to be configured correctly: Winrm get winrm/config Config MaxEnvelopeSizekb = 500 MaxTimeoutms = 60000 MaxBatchItems = 32000 …
How to access user details for those who have not logged in to Azure Virtual Desktop for 90 days
I am looking for information on how to access the details of inactive users who have not logged into Azure Virtual Desktop for 90 days. Specifically, I would like to know their usage in the file share as well as their last logon details.
Request for Assistance with PowerShell Script for Email Signature Generation
Dear Microsoft Support Team, I hope this message finds you well. I am reaching out to seek assistance in developing a PowerShell script for automated email signature generation in our organization. I haven't started the script yet and would greatly…
Powershell 5.1 not accepting keyboard input when using Remote Desktop HTML5 Web Client
Install the latest RDS HTML5 client on a RDS deployment as specified here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin Open a web browser session and start an RDS session. …
Export certiticate file by PS
Hi, good morning! I have a list of 900 certificates in the Certification Authority (folder Issued Certificates). I would like to export each certificate in Base-64 X.509 by script in Power Shell, because in the GUI, I need to do one by one. I have…
Windows Server - I can't set the "windows display language"
Hi there, I'm working on a Windows Server 2022 where I can't change the "windows display language". In production I have a German-language machine on which I am trying to set the English language as the 'windows display language'. In the…
Cannot run New-AzActionGroup after New-AzActionGroupReceiver
Hello, I am trying to create a new action group using PS. The group will use webhook. To achieve this I need to create an action group receiver. Code: $ActionGroupShortName = 'Alert' $ActionGroupReceiverName =…
ACL error on file permissions inventory script
We are trying to run a permissions inventory script (based on the get-acl command) against a file share on a file server running server 2016. The script is being run 'remotely' from a workstation joined to the same domain as the file server opposed to…
Visual Studio Code won't let me debug PowerShell scripts
I'm trying to debug my PowerShell 7 script in Visual Studio Code 1.71.0. I have extension ms-vscode.powershell Version: 2022.8.5 installed. I don't understand why it doesn't come ready to debug PS1 files out of the box, but it doesn't. When I tried…
Getting an error in a runbook.
Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…
Connect-OrganizationAddInService using Entra ServicePrincipal ID
I am trying to find if someone has successfully done this, basically automatize the deployment of an Add-in to Office 365 Client Secret: "1111111111111111111" (This is a secret that should be protected and not shown, I am having a look how to…
Steps to get data from API using powershell from server
Hi, I want to call an API from the server using PowerShell script and token. I tried with myself but getting SSL/TLS related error. Please provide the steps and script. Thanks
Connect-Exchange Online (Error while sending the request)
Hello, I'm getting the below Error while connecting to Exchange Online (PowerShell Script) when called from .Net Application. #Import-Module ExchangeOnlineManagement #Connect-ExchangeOnline -Credential $Creds An error occurred while…
Using Get-Certificate with a Microsoft CA
I would like to use Get-Certificate with a Microsoft CA. https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps The documentation doesn't really show many examples. Does anyone know how to do this?
How to Delete Duplicate Documents / Files in sharepoint online?
There is too much duplicates files and documents in my company's sharepoint online. our company MS cloud space had reached its limit thus these duplicates files had to be delete to free up space. Thanks