957 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
30
views
Testcontainers issues
My current employer is a bank. They have some security products installed on the assigned macbooks:
Crowdstrike falcon
zscaler
ms defender
I am not sure what else is installed. I have used ...
0
votes
0
answers
164
views
cloudflare Warp getting through Firewall
I have a question regarding blocking the Cloud flare warp app on our application control in the firewall settings.
I have blocked all proxys and VPN's in the generic filters and the app is inside ...
0
votes
0
answers
178
views
Can't get my script to update the users in Entra using Microsoft Graph. I'm not receiving errors
I read that I have to give certain permissions to have it read/write which I have been doing. I have been connecting to MS Graph with scopes User.ReadWrite, Group.ReadWrite but it will run the script ...
0
votes
1
answer
79
views
Add/assign multiple users to a Mantis project [closed]
I'll keep it short, I need to assign/add multiple users to the same project in Mantis (over 100+).
To create these accounts in bulk, I installed a plugin on the EC2 instance running Mantis (with the ...
0
votes
1
answer
558
views
How to list all app/software/programs installed on Windows 11 using a Python script
I develop a Python script to list all installed apps in my Windows 11 system. I would like to replicate the same results displayed in Settings > App > Installed Apps. Optionally, I would like to ...
0
votes
3
answers
127
views
Can you improve on this command line perl script for finding all perl installations on a system?
#/usr/bin/env perl
# Last modified: Sat Aug 24 2024 10:48:44 PM -04:00 [EDT]
#
use File::Which;
use File::Basename;
use File::stat;
use Digest::MD5;
# use Data::Dump qw/dump/;
use warnings;
=head1 ...
0
votes
1
answer
453
views
What is difference between commands Disable-MailUser and Disable-Mailbox in MS Exchange [closed]
I can't find any results explaining the difference between these two commands.
My main question is: which command is better to use in modern exchange systems, such as MS Exchange 2019 on-premise?
...
1
vote
1
answer
1k
views
MS Graph Powershell - User with no manager - error
I'm trying to write a script for decommissioning user accounts in EntraID using the MS Graph API.
What I'd like to do, is check for and "handle" any case where the user doesn't have a ...
0
votes
1
answer
68
views
How to launch an application using a command to run a batch file that starts the application?
Using SSH Net library, I need to send a command to run a batch file that launches an application. The issue is that if I create a simple batch file with the creation of a text file, everything works, ...
1
vote
1
answer
160
views
How can i get the publisher of a module before installation?
I need to know if i can trust them or are all Modules from https://www.powershellgallery.com/ published by microsoft ?
I saw powershellget(module) on https://learn.microsoft.com/de-de/powershell/...
0
votes
2
answers
302
views
Unique Volume ID path of a volume seemingly corrupted while tryig to create a new junction with New-Item; How to fix, bypass or work around?
I am writing a PowerShell script where-in I create a directory junction.
During the development of the script I ran the New-Item command, saw the junction entry was created without looking closer at ...
-1
votes
1
answer
173
views
Environment problem when administering macos with saltstack tools
I have a few dozen mac computers on which I have a task to install various software (putty, git, draw-io, mosquitto), as well as to curtail the user's permissions (e.g. so that the user cannot ...
0
votes
1
answer
81
views
I need help figuring out where my code is getting hung up at
I have been tasked with coming up with a PowerShell script that I can run on computers at my organization to cleanup old user profiles in Windows.
The goal of the script is get a list of users on a pc,...
1
vote
0
answers
22
views
How can I run a .exe as an on a remote computer/computers with elevated privileges using a poweshell script? [duplicate]
I need to run a Powershell script that executes a specific .exe file at a specific windows file path. The .exe file needs to be run with certain custom parameters and it needs to be run as an ...
-1
votes
1
answer
78
views
Custom date string inside a log without modifying the exit of the cmdlet
Heres a script that gets all printers installed on a range of pcs , i have trouble getting the date inside the log without modifying the exit of the command.
I would like to put the date on top/down ...