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
1 answer
18 views

Copying from S3 to Windows Network drive

I have a very small hard drive and an expansive Windows network drive. I would like to copy the bucket "myBucket" to my Microsoft local area network shared drive. Something like this, but ...
Steve Scott's user avatar
-1 votes
1 answer
88 views

Advanced Audit Policy configuration using PowerShell

I created a GPO to enable advanced audit policies and Security settings. Related policy settings I need to edit and enable the settings using PowerShell. What are the related registry keys? How can I ...
recmad's user avatar
  • 3
1 vote
0 answers
38 views

Set service Startup Type to "Automatic (DelayedStart)" with PowerShell

I'm trying to script changing specific services to have Startup Type "Automatic (DelayedStart)". When I pipe the services into Set-CimInstance, I get an error that it "could not modify ...
Alex Pixley's user avatar
2 votes
1 answer
84 views

In Active Directory, how to synchronize the members of a group automatically based on users attributes?

In Active Directory on premise, I would like to maintain distribution lists and security groups based on the attributes of the users, for instance the manager, the department, the city.
ocroquette's user avatar
0 votes
0 answers
27 views

PRTG - Invalid JSON structure Error PE231

I am very new to PRTG and VEEAM ect. so please do bare with me I've seen this error been talked about a lot, but nothing has helped me so far. I have a custom XML script that I use for VEEAM backup (...
Samuel du Plessis's user avatar
1 vote
1 answer
92 views

Removing final Exchange server, unable to follow Microsoft instructions

I'm reviewing the process to remove the last Exchange server in an environment by following Microsoft's instructions at https://learn.microsoft.com/en-us/exchange/manage-hybrid-exchange-recipients-...
Halfdone's user avatar
  • 175
0 votes
0 answers
10 views

How to save bitmap created using System.Drawing.Image back out to base64 [migrated]

I am trying to get a base64 image string into the system.drawing.image object (done) and then back out to base64 (not working), to include inline in an HTML e-mail, but am having difficulty. The below ...
user66001's user avatar
  • 232
0 votes
0 answers
18 views

Running a long-running process on Windows using SSH

I have a Windows machine with SSH Server installed. As part of my pipeline, I need to run Selenium server on that machine, which the rest of the pipeline will use. I've tried using Powershell's Start-...
YoavKlein's user avatar
  • 143
2 votes
1 answer
127 views

How can I determine, using Powershell, without MS Graph, the ability of a user to use Self Service Password Reset (SSPR)?

I don't have access to Microsoft Graph in my environment due to permissions afforded me. MSOnline, in addition to being deprecated, only allows pulling 30 days of records. Is there any other way to, ...
user66001's user avatar
  • 232
2 votes
0 answers
66 views

Adding languages base on the computer in RDS environment

I'm assigning keyboard languages to users in an RDS environment based on the host. For example, if a user is assigned to ts "tsA", spanish will be added to the keyboard. Uf assigned to other ...
Zhao Ses's user avatar
0 votes
1 answer
45 views

Reading full user email adress on intune client

I am configuring windows 11 clients as part of a project to migrate our infrastructure to intune. As a part of this im running into trouble with a powershell script, that work on our non intune domain ...
Samuel's user avatar
  • 13
0 votes
1 answer
21 views

unable to get AWS session via AWSPowerShell in Milano Region via STS

I am using some AWSPowerShell script to get reports from my instances. I have old working instances in Tokio region ap-northeast-1, new instances were deployed in Milano region eu-south-1, To get ...
andrew's user avatar
  • 231
0 votes
1 answer
109 views

Get AD groups a user is member of from all domains and subdomains

I am trying to get all the groups a user is a member of in all my domains and subdomains. Here is the setup : Forest 1 domain1.local sub.domain1.local Forest 2 domain2.local The user is located in ...
IngoMarlboro's user avatar
0 votes
1 answer
201 views

Get-WmiObject access is denied, unauthorized access exception

Following a Windows update on Computer B, the following failed. Get-WmiObject -Class Win32_OperatingSystem -ComputerName "ComputerB" With the error: Get-WmiObject : Access is denied. (...
user270488's user avatar
0 votes
0 answers
45 views

What privileges are required to call Register-ScheduledTask

As the title of the question implies, I need to know exactly what privileges, such as local administrative access, are required to Register-ScheduledTask in Powershell 7.x.
David W's user avatar
  • 181

15 30 50 per page
1
2 3 4 5
277