Cloud shell is not failing to connect azure subscriptions
Hi Team, Azure Cloud shell is failing to connect azure subscription. Please attached screenshot for your reference,
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…
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…
New-ComplianceSearch in specific folder in mailbox?
Hello, I need to delete all emails from X sender in specific folders in a user's email (e.g. Archive, but not Inbox). How can I specify the specific folder in the mailbox to delete from? I am using New-ComplianceSearch PowerShell function for Exchange…
SCCM Detection Method: Error 0x87D00327 (-2016410841) Script is not signed
I discovered a problem in SCCM compliance. When using a PS script for detection, an error (0x87D00327 (-2016410841) Script is not signed) is returned. After closer examination of the problem, I found out: SCCM creates a temporary ps1 file in the…
Admin quotas by PowerShell
How to assign a quota template previously created through PowerShell to a specific folder?
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…
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.…
Retrieving the disk space utilization on Azure VM using PowerShell script?
I need clarification on whether it is possible to query the Azure VM disk space utilization. The PowerShell command below does not accurately show the usage; it only displays the VM disk…
powershell login error
hi all i am new to powershell and azure world. i am trying to login to my office365 azure using powershell. my admin account is MFA enabled. i am using connect-azuread command. i get the prompt to enter username/password and then approve the request…
Get the list of the last logon users from a txt file using powershell
I want to get lastlgon from a list in the txt file My query on powershell gets the result for an account within the file, but with more users an error is generated. $file = Get-Content -Path "C:\Temp\UsersLastLogon.txt" Get-ADUser…
Remove Opinion Center
What is the powershell command to permanently uninstall the win11 opinion center from all users? Thanks
pc is freezing and humming when playing a game
when playing pogo games orm doing a jigsaw puzzle pc freezes and hums causing me to shut down pc
SOLVED! 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…
Deploy custom background to Microsoft Teams via Intune PowerShell scripts
Hi, I have been asked by my company to find a way to deploy corporate Backgrounds to Microsoft Teams. I found many sites that pushed me towards using Win32 Apps within Intune and the step-by-step guides where easy to follow. However, ever guide/forum I…
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…
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 {...} …