mrdudebro1
psexec to install tools remotely
I'm trying to use the command
psexec \\COMPUTER -c file.msi
to copy and execute a file on a remote computer but the command fails with
PsExec could not start file.msi on COMPUTER:
The system cannot find the file specified.
I'm running the command prompt in the directory of my local machine that has the msi file1 replies
Regex conditional
Hi all,
I'm trying to use a conditional to find if there is a P in my string but for some reason the
else
condition of this doesn't get picked up on. For example,
This matches: ADIPP350.16
but this doesn't (and should): ADIP350.16
i can only presume there is some confusion with the P in the ADIP literal match7 replies
Branching if statements
so. i have some data in a database that needs to be assigned data based on an id.
I have a database full of items, and each item has attributes. lets say they are tools. the id could be
HAMMERSTEEL.10
or HAMMERIRON12.12
. the first one means it's a 10" long steel hammer with a standard head size and the second one is a 12" long iron hammer with a 12mm head or something of that nature. i have at least four different base types HAMMER
AXE
SCREWDRIVER
. I need to assign attributes in a new table based on the item id's. what i already have is a database filled with what i want the data to look like. i'll read in hte item id HAMMERSTEEL.10
and then i'll asign the attributes in another table.
for example:
I want to cut down on the amount of branching if statements. any suggestions?30 replies
Working with jsonnode class
Working with JsonNode class. Is there any function or property to get the various key value pairs? Would jsonDocument be better? I have a string I got from an http request and I need to manipulate the data. One example of the json is below. all other entries are similar. Certain values omitted for security.
I'd like to access each node via the "UserName" property and find duplicate values
37 replies
Inheriting classes documentation
Hi all,
I have documentation for HttpContent class here https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent?view=net-7.0, but it's abstract and can't use it. How do I find the classes that inherit from HttpContent? Thanks.
4 replies