I am running my powershell from my machine as an administrator domain account that as local admin access on a server. I am trying to create a registry key with the below and the code works to copy my directory, but when trying to create the new registry key it fails.
# Check if you can ping...
I am working on extracting a variable with powershell for a Citrix farm.
I use:
$farmname = Get-XAFarm | Select-Object farmname
this puts the below into the variable
FarmName
--------
MY FARM NAME HERE
I just need to pull the farm name itself or trim the rest off. So i don't need...
I am trying to query a service to get it's state (running, stopped, etc). I am dumping it to a CSV file.
There may be an easier way to do this.
I have it working but when it dumps to the CSV file for status I see:
@{Status=Running}
I just want to see 'Running'.
I thought that I could just...
I am working on a vb .net application to run a dos based executable that emulates old arcade systems.
The problem I am having is that i can execute one process only at a time. When I exit that process I can then execute another one. I want to be able to execute multiple processes of the same...
I am coding a GUI Interface to execute an executable that executes via a command line.
I want to retrieve any errors that when running the executable with arguments that it may generate.
the code below seem to work to display the last message if it runs successfully when you exit the program...
I am developing a program that runs an old emulator for some older type video game systems.
I want to be able to allow the process to be launched multiple times or maybe up to 10 instances of this to be running at one time in separate windows.
My current code is:
Dim MessProcess As New...
I am attempting to start java with arguments calling a jar file and other switches. the java pops up for just a millisecond but I don't know what its doing or not doing.
The code I am using is:
If chksbridge.Checked = True Then
Dim TIITProcess As New ProcessStartInfo...
I am coding a simple web site and wanting to pull in a text file to a text box but have it recognized html tags like <b> for bold, etc and display it correctly.
Is there a control that I need to use on the ASP.net form. I am using VB .net for my backend.
It's small amount of code to pull the...
I have a form with some buttons on it and when the button is clicked it changes the background color. Pretty simple and that part works fine when the form is first ran.
The issue I am having is if I hit another button on the form that is a 'RESET' button, that resets the background colors of...
I am trying to create a script to follow a citrix doc to enable IIS and XML integration. (article CTX125107)
Link
One of the steps is to Edit Feature permissions within a Virtual Directory and Web Application. It must be changed to 'Execute'
I am sure there is a one liner for powershell that...
What is the best option to allow for an application to run on both 32bit and 64bit OS' regardless of CPU type.
I see options for 'Any CPU' which I select, should I select 'Prefer 32bit' ?
I am trying to figure out how to change the default windows application icon on my project. I can get the icon to change that appears in the task bar when the application is running, but I want to change the default windows application icon to the actual executable, so it shows the icon in...
I have a program I am using to select a file and pad the file (binary file) to a specific size. I use the process.start command to kick off a batch file to start the padding of the file specified.
If I launch the batch file from the vb.net form the process never exits. It does pad the file to...
Need a little help here. I must have a brainfart going on or something.
I have a Listview and a Listbox. The listview contains 3 columns (Filename, extension and size). I select a item in the list box and click add and it will add it to the list box.
I want to be able to remove it from the...
I am working on an old BBS program (my own) on an old 80's computer that is accessible via Telnet.
I need to write a message base to store messages in a file, maybe titles, to, from, date, msg # in another file.
I want it to be able to delete messages say once a board hit's 30 messages it...
I have a UDS1100 to replace a modem for a bbs to allow it to get on the internet via the Telnet protocol.
I know there are alot of bbs' software out that already support native telnet, but this is for a legacy system. very old..
I cannot get the bbs to recognize that someone is connected to...
I have a peice of code that i'm trying to execute with the process.start option in vb .net
It works fine up to a point in the paramenters but when i put in the parameters to pipe the output to a text file via ">" key it does not execute the executable at all. The exact command works find when...
I am trying to populate a treeview that has one set node "Connections" already with entries out of a registry.
I have a registry key say, "Nodes". Its a string. I have different cities in it seperated by a ";". I am splitting each area with the ";" to get a string and populate the treeview...
I am trying to populate a treeview to have folders created and assigned servers in each folder (multiple servers). I have the below code and i cannot get the servers to be separated on each line it will look like "Server1 Server2", etc. How can I code the XML file to separate the server names...
I need to make some type of folder like view that is expandable within a program. So it will store it in flat text file and populate it when the form loads.
I need it to be like a folder to put computer names in. So something like to create Web Servers then be able to add and display the web...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.