inactive mailboxes
Hi All, I have a few inactive mailboxes under a retention policy in the Microsoft Purview Portal (Data Lifecycle Management → Retention policies → RP01). Let's say the policy is named RP01, and its GUID is u98k89mn-9876-ht68-mjki-kj78oophgy768. Exporting…
Command to get monitor model number and serial number
simple Command to get monitor model number and serial number just like below
How do I fix Win32kfull sys?
The win32kfull.sys issue is often associated with Blue Screen of Death (BSOD) errors on Windows. It generally points to problems with drivers, corrupt system files, or hardware issues. Below is a step-by-step guide to troubleshoot and resolve the…
How to get NIC Firmware versions
Ive been trying to get the NIC firmware versions of all of our physical servers but i cant seems to find a powershell code or script that can do this. I have tried wmiobject, ciminstance and get-netadapter but no firmware versions. Any suggestions? Any…
The local farm is not accessible. cmdlets with featuredependencyid are not registered
Dears, Hope this mail finds you well. We are facing an issue with our SharePoint server while opening either the Windows PowerShell or SharePoint Management Shell, throwing an error as “The local farm is not accessible..”. I tried to run the Shell with…
SQL User Password Rotation in MBAM Platform
Hi all, I have a server with the MBAM platform installed, and the MBAM database resides on a SQL instance in another server. A password change for the SQL user is needed, but it is unclear where to update it in the MBAM platform and if it is necessary…
Automating with PowerShell - Move user's onedrive files to an archive folder on SharePoint when offboarding employee
Currently we go through a manual process of; login to office365 with global admin. go to the user's properties and create onedrive link to the user's files. click the link, select all files/folders then move them to a sharepoint archive…
Protect Powershell script to be not editable, but executable
Hi, can you anybody show me how can I protect a script, so that the script cannot be changed (modified), but it's can be run for example every night at 00:00 as scheduled task? Thank you.
Script to deny access to this computer over the network - Windows
For a college study, I need to study ways to create a script to deny computer access, which is done by going into: "run: gpedit.msc" Computer Configuration Windows Settings Security Settings Local Policies User…
My PC randomly shuts down during gaming. How do I find the cause to this?
Hello, I just upgraded all new parts to my PC except for my graphics card and power supply. I thought the issue was coming from the power supply so i bought a new 1000w one. Specs: MSI MAG x870, AMD Radeon 6900 XT, AMD Ryzen 7 9700X, 2x DDR5 RAM, 1 Hard…
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://zcusa.951200.xyz/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin Open a web browser session and start an RDS session. …
How to run a batch file when windows 11 when shutdown is activated
I need to activate a USB relay using serial code on shutdown
Connect-MgGraph
I want to connect to Azure MS Graph using an Azure Service Principal. How can I generate a certificate for the Azure Service Principal? I have the Client ID and Tenant ID. I need to fetch users information from Azure AD, and I have the required Graph API…
Need help with Powershell 7.4 Invoke-RestMethod error: 'Operation is not valid due to the current state of the object
Hello I'm trying to run an API Patch request, using Invoke-RestMethod, to update one item(email address) at the endpoint whilst looping through a dataset which has the item value to update and the parameter for the uri. I am, however, receiving an error…
Powershell ISE Illegal characters in path with literalpath
Hello! I have encountered the problem of running PowerShell cmdlets using "LiteralPath" in PowerShell ISE, when folder is existing. Error message: Get-ChildItem : Illegal characters in path. At line:1 char:1 + Get-ChildItem -LiteralPath…
I need to create a PowerShell script that fixes several AD accounts in the office field with the new office spelling, all at once, from capital to normal case. I do not need change the normal office spelling for those that are correctly spelled. Using the
I need to create a PowerShell script that fixes several AD accounts in the office field with the new office spelling, all at once, from capital to normal case. I do not need change the normal office spelling for those that are correctly spelled. Using…
Adobe Acrobat DC on Powershell
I am a newbie on this forum but has developed some simple powershell scripts for file manipulation in the past. Part my task right now is to combine .pdf files into a portfolio using adobe acrobat through powershelll. My code looks like this cls …
remote quota assignment. automation.
Having a quota template already created in a FS, and in the same FS there is the user's personal folder created. How can I automate the quota assignment, when the user logs in for the first time in his Workstation (win11) and already has access to his…
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…
WMI connection Problem on Windows10
Hello, In a VMware environment, I installed Windows Server 2016 as the Domain Controller. Additionally, I set up another Windows Server where I configured WMI permissions, granting WMI namespace access to a domain user. Afterward, I applied a GPO with…