I want align the taskbar of windows 11 to the left side using PowerShell. I did this: New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer
I'm new to PowerShell and am still learning the ropes. I want to create a script for work that I can force a change at the next logon for many users. I have thi
I'm trying to implement log shipping using Backup-sqldatabase command, but SqlCredential is a required parameter for Azure Storage uploads according to the docs
Asking for a bit of help on my script. I would like to get a list saved to a thumb drive with the computer name and the WAN address. I know I can add a custom l
If you assign a role in Azure and later delete the identity before you delete the role assignment, you wind up with an "Identity not found." condition. It's har
I have a PS script with an embedded condition. If true, it displays a prompt. If the user enters "R", the PC is supposed to reboot. Everything works well when
I'm trying to do an network access control audit by grabbing a user's AD groups, their descriptions and then output them in a way shown by this example: [User]
From How to Write a PowerShell Module Manifest I learned that I can export all the variables in the module using VariablesToExport = '*'. However, after using i
We have a third party LDAP system managing people. AD users that represent actual employees are created and maintained by a feed from this LDAP system. We would
We have a third party LDAP system managing people. AD users that represent actual employees are created and maintained by a feed from this LDAP system. We would
Everyone. I am going to create team with powershell. I have created .ps1 file and write the content as following. Connect-MicrosoftTeams New-Team -DisplayName "
I'm trying to adapt a script of mine who just shows a simple WPF datagrid. It has 4 Columns and i need to set a color on a few rows if its content respects a co
I am trying to get quality gate status from sonar server using API by passing pull request ID but I am getting error: $QualityGateResult = Invoke-RestMethod -Me
We have multiple clients that have a security software compliance policy in place. My goal is to look into those policies, and pull out the devices that are not
i'm makin my own php cli but i need to use arabic letters so fgets return blank value from command line input Knowing i'm using powershell to run commands funct
Is there a way I can schedule a task using PowerShell that for 30 days runs on daily basis every 15 mins, and after those 30 days it expires? I have done the sc
I'm running the following MSBuild command from PowerShell to publish a solution file: $Configuration = "Release" $slnFullPath = "...\Solution.sln"; $PublishPath
I'm trying to write a simple script which automatically cycles tabs on 2 different edge windows, I have it working on one window in the code below while(1 -eq 1
In the PNP Docs it shows: https://pnp.github.io/powershell/cmdlets/Connect-PnPOnline.html#example-13 you can access the resource with an Oauth2 AccessToken: Con
I try to open a React project path in terminal window using VS Code's Open in Integrated Terminal (Ctrl+Shift+`), but it sets C:\Windows\System32\WindowsPowerSh