Powershell to remotely check server services and start if off.
Bluff: Looking for a PowerShell script that will do the following: Check that multiple servers are available Remote into each server and check specified services Turn those services on if they are not running Current script attempt…
Powershell custom type issue assessing passed object.
I am working with Powershell 5.1. I have created a new custom type which will take a psobject as an object parameter to the AddLog method. I want to change the index value on the passed object to update it with the current _counter value. I have tried…
While I ak all deleting the resources the money is also cutting automatically
Can any one help mee to stop the cutting moneyy. How I need to dissable the all resources and servers.how to we delete the resource mover
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…