How to check the type of corruption in my mailbox before repairing it.
I want to check the type of corruption in my mailbox before repairing it. I used the New-MailboxRepairRequest with the -DetectOnly switch against all the corruption parameters. I check the status of the job using the Get-MailboxRepairRequest. Now I want…
Restore OneDrive files in bulk from Preservation Library - Powershell
Is there a way to pull files from the OneDrive Preservation library in bulk? User had two computers and had OneDrive sync'd on both. While in the process of issues they lost their OneDrive files and had cleared the trash. They are all now located in the…
M365DSC certificate authentication fails with "does not have a private key" error
I am deploying an M365DSC infra for my org. I've followed the pre-requisites and installed and updated DSC on a stand-alone Azure VM. I intend to use certificate authentication and created the EntraID application using the…
M365DSC Certificate authentication fails with "does not have a private key" error
I am deploying M365DSC infra for my org. I have followed the pre-requisites and installed and updated DSC on a stand-alone Azure VM. I intend to use certificate authentication and created the EntraID application using the Update-M365DSCAzureAdApplication…
Querying Win32_PageFileSetting results in empty response
I am trying to query some information from Win32_PageFileSetting WMI class and I am unable to gather any kind of information. I tried on multiple versions of PowerShell including: Major 5, Minor 1, Build 22621, Revision 4249 Major 5, Minor 1, Build…
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 {...} …
Changes made to the mail flow in EAC do not take effect immediately
Recently, I have made changes of mail flow in EAC but the rules did not take effect immediately. Sometime, I have to wait 2-3 hours or longer How to speed up to propagate the changes and apply them across the system? Could you provide the solutions on…
Remove Opinion Center
What is the powershell command to permanently uninstall the win11 opinion center from all users? Thanks
Query on Snapsht
Hi All, I am using the PowerShell syntax below to take snapshots of Windows VMs. Will the current syntax use an incremental or full snapshot? I want to use a full snapshot. Additionally, I would like to take snapshots of Linux VMs. If I change -OsType…
while i close Negotiate and Kerberos,the winrm reports below error
While i close Negotiate and Kerberos, the winrm reports below error I can't do anything to solve this error, for example "winrm invoke Restore winrm/Config"
Warning PowerShell ID 300
Hi, More than a year after reporting the problem, I continue to receive the same PowerShell warning despite everything working normally and all versions being up to date. Maybe with this new information we can better understand the problem. I know it…
Set-ExecutionPolicy Unrestricted during script run ?
Hi, I'm doing server automation in a test environment, and sometimes the script shows the ExecutionPolicy before the script is run. I wanted to know if this can be changed from within the script I'm running. I have tried many methods for changing it from…
hexadecimal value 0x00, is an invalid character. Line 2, position 1
VbrAnswerFile_install.txt Hi Experts, We are running an PowerShell comment in that PowerShell comment we are calling the XML file and trying to install veeam software. I am getting an error like "hexadecimal value 0x00, is an invalid character.…
PowerShell Error:SecurityError: (:) [], PSSecurityException
Hi All, I am using Windows MDT to deploy OS and run 2 PowerShell script to install a software (with registry update) and enable BitLocker per our customization request. Environment: MDT: 6.3.8456.1000 ADK: 10.1.19041.1 Both of…
server Error in '/' Application
When logging into our Rock portal this message pop up and we can not access the platform
remover la app xbox por ps
Hi guys. I need to remove the Xbox app completely from Win11, I run in admin mode: get-appxpackage xbox | remove-appxpackage But. It gives an error: This application is part of Windows and cannot be uninstalled individually by each user. An administrator…
How to get admin local from all computers in domain
How can I do to get all admin local in domain? I tried command below but error $computers = Get-ADComputer -Filter * | Select-Object -ExpandProperty Name foreach ($computer in $computers) { Write-Host "Getting local administrators for computer…
Get-WMIObject Win32_ComputerSystem UserName returns null for RDP user
So I am writing a PowerShell script to pick up some info from domain machines and one of the things that I want to correlate with is logged on user. In theory that is (Get-WmiObject -ComputerName $CompName -ClassName Win32_ComputerSystem).username …
Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module?
Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module? Also, is there a way to use Tychon to query intune policy/policy settings from an endpoint?
Powershell refresh desktop screen
Hello. How can I refresh desktop screen with powerhsell? Thanks for help.