Skip to main content

Questions tagged [powershell]

An interactive shell, scripting and programming language, and surrounding environment from Microsoft. Commonly used by system administrators managing Microsoft software (including Windows, Exchange, SharePoint, and cloud services Azure and Office 365), PowerShell is included by default with Windows, and takes over from previous languages such as VB Script.

0 votes
0 answers
132 views

I’m running into a strange issue with a Win32 app in Intune and I’m hoping someone has seen this before. Scenario Win32 app (packaged with IntuneWinAppUtil) Install behavior: User App Installs to:C:\...
Finduilas's user avatar
  • 129
0 votes
1 answer
83 views

The following script: (copied from copilot response): Get-ScheduledTask | ForEach-Object { $taskName = $_.TaskName $taskPath = $_.TaskPath $exportPath = "C:\Tasks\$($taskName).xml" ...
Mark Ainsworth's user avatar
1 vote
1 answer
268 views

I'm trying to robocopy to a network drive using powershell and call that from task scheduler on Windows Server 2022. I can't get the network drive to be visible to powershell in task scheduler. The ...
CSchwarz's user avatar
  • 111
0 votes
0 answers
42 views

I am trying to get the list of VMs under a datastore in my vSphere client using REST in PowerShell and i seem to get stuck between the two.. I can only see some basic info about each datastore I have ...
Aviad's user avatar
  • 1
1 vote
0 answers
65 views

I want an Entra ID group and the users in the group to be able to logon to assigned Entra ID joined machines and assign them a certain role (user, admin, ...). The problem: the Entra ID joined ...
PeakProwess's user avatar
0 votes
0 answers
70 views

I'm encountering an issue installing a Windows MSU patch (e.g., KBXXXXXXX) using WUSA on Windows 10. The initial installation phase completes successfully, but after restarting, the post-install phase ...
Sarang M K's user avatar
1 vote
1 answer
221 views

I am provisioning Windows Server 2022 EC2 instances using Terraform and a PowerShell User Data script. I want to add functionality where this User Data script will configure a shutdown PowerShell ...
Brian G's user avatar
  • 111
1 vote
1 answer
230 views

Not a duplicate of https://stackoverflow.com/questions/39917027/winrm-cannot-complete-the-operation-verify-that-the-specified-computer-name-is Also, I posted question in StackOverflow here: but it ...
Joseph's user avatar
  • 236
1 vote
0 answers
148 views

I'm working on automating some certificate rotation tasks. Specifically, we still have some applications using AD FS SAML authentication, and so I'm converting this to use powershell run by a ...
Joel Coel's user avatar
  • 13.1k
0 votes
2 answers
273 views

A script generates a csv-file: User | actualValue | user01 | actualValueB | user02 | actualValueC | user03 | actualValueB | user04 | actualValueA | user05 | actualValueA | . . . The file has the ...
Gahmuret's user avatar
-1 votes
1 answer
305 views

We have 600 GPOs. I want to find policies that have the same or duplicate settings. How can I do this? Thank you.
Cell-o's user avatar
  • 465
1 vote
1 answer
238 views

From an elevated Powershell session on either source or receiver, I can successfully run: dfsrdiag backlog /smem:source /rmem:receiver /rgname:"Group" /rfname:"Folder" However, ...
dividius's user avatar
  • 168
1 vote
1 answer
187 views

I manage about 300 Windows devices in an Active Directory domain. Some endpoints have unauthorized applications installed that are generating a high volume of tickets for our team and causing heavy ...
Adel Mardini's user avatar
1 vote
1 answer
165 views

I need a list of Entra users in my tenant who can assign themselves privileged roles. I need the RoleName, UserName, AssigmentType (for general, not if it's pimmed at the moment the script runs) and ...
Gahmuret's user avatar
0 votes
1 answer
569 views

I am attempting to migrate a local Windows server (2016) to a new local server (2022) using Windows Storage Migration Service. While installing Windows Admin Center ("WAC"), I encounter the ...
PhillipOReilly's user avatar

15 30 50 per page
1
2 3 4 5
280