Disk Space Of Servers / Remote Computers?

Apr 10, 2012

Need to write a utility (either VB or perhaps a script?) to do the following:-to get the free disk space of all servers and append the results to a file

I have about 20 servers and it needs to check free space of chosen drives i.e. C, D and then append results to bottom of a spreadsheet or document showing computer (server) name, drive letter and the amount of free space

Tried it with WMI and works fine on local computer but doesn't seem to work across the network

View 2 Replies


ADVERTISEMENT

Automated Method Of Getting Disk Space On All Servers And Putting It In A Txt Or Csv (or Even Excel) File Once A Week?

Aug 3, 2011

[code].....

View 10 Replies

Get Disk Space Of A Remote Computer?

Apr 11, 2011

I was thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008?

View 2 Replies

Getting The Disk Space Of A Remote Computer?

Feb 11, 2012

was thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008

View 6 Replies

Get The Disk I/O On Various Servers?

May 22, 2012

I am using the following code to get the Disk I/O on various servers. For now I am just retrieving the DiskReadsPerSec to get a feel for it. The return data gives a uint32 for each drive on the server and a total. My questions is what is the time frame that this represents? Is this at the second that my code polls the drive or is this over the last few seconds or do I need to do multiple runs to get an average.

My intention is to build a graph for each drive so I wonder how often I need to poll the drive to get a acurate value.

Public Shared Function GetDriveIO(ByVal strip As String) As Boolean
Dim oConn As New ConnectionOptions()
Dim lnglist As New List(Of Long)

[Code]....

View 1 Replies

Determining The Disk Space?

Sep 5, 2009

Im creating a program that auto starts with my computer. On this program im adding a section that states how much space i have left on the C: drive. So far i have 2 labels and a progress bar. in the top level i have the name of what the progress bar is, and the second below the progress bar states the amount such as this "430GB/740GB". i also want the progress bar to state the percent of how full this drive is. how can i do the following:

Determine the amount of drive space on C:
Determine the amount of free space on C:
Make free space a percent of all space. such as "30% full"

View 4 Replies

Total Hard Disk Drive Space?

Feb 16, 2011

I'm developing a system info application. I've Searched all over internet and only found code for Free Hard Disk space, but not Total hard disk space.

The code should calculate the Total space of all the drives.

View 7 Replies

Create RDP Session On Remote Servers

Mar 31, 2010

I am trying to find the way to create RDP session on remote computer using VB and net framework.

Because my company is using RDP(not a console session), some processes that have window that is to show logs and event must be executed on the screen.

However there is a lot of computers, I have to find some solution that is to execute remotely.

The problems that I encounter are as below.

1. if there is no session(in case of restarted) - I have to create session.

2. if there is session - I have to get appropriate sessionID

3. Remote execution - to execute remotely on the session.

View 1 Replies

Backup And Clear Logs On Remote Servers?

Aug 3, 2009

Here's the code

'set the date'
Function FmtDigits(ByVal intValue, ByVal intDigits)
FmtDigits = Right(String(intDigits - 1, "0") & CStr(intValue), intDigits)
End Function

[code]....

It fails around line 18. I have the script working without the remote piece so the failure is actually in the connections to the remote. If I change the authentication information I get an access denied so I know it making a connection.

View 1 Replies

VS 2010 Tell What The Size Of My Program Is And How Much Disk Space Is Needed To Install?

May 16, 2012

How can I tell what the size of my program is and how much disk space is needed to install. When I publish the program and install it on another machine it will show up in the control panel but does not show what size the program is?Also when I publish updates with it says something like installing 10mb. Is this an additional 10 mb everytime, I guess not, but can someone explain what it all means?

View 10 Replies

Write A Null Bytes Onto Unused Hard Disk Space?

Feb 4, 2009

how to write a null bytes onto unused hard disk spaces? I understand that files deleted are still existed on hard disk, I am thinking of may be if I write the null bytes to every single unused bytes so that the unused hard disk space would be become all null bytes, and unused space would no longer contain of those deleted files.

View 9 Replies

Text Transfer To Remote Computers?

Nov 3, 2009

i want to send a text from my computer to another(1 or more...)remote computer and to receive text from these computers.how can we do that in visual basic express edition 2008. do you have the source code for this...

View 2 Replies

VS 2010 Copying A File To Many Remote Computers

Jul 20, 2011

I have to periodically (2-3x/wk) copy a file or two to approximately 70 remote computers. I have full control of the remote computers and they all follow the same directory structure and security permissions. I have asked in the General PC forum to see

[Code]...

View 11 Replies

Add A Domain User To A Local Group On Remote Computers?

Mar 6, 2009

add a domain user to a local group on remote computers

View 2 Replies

Write A New Program To Remote Into Our Tech Support Computers?

May 18, 2011

I am tasked to write a new program to remote into our tech support computers to help them out while they are trying to remote into their computers to see what is up if they are having problems. I was asked to be able to not move their mouse if they were in Word, Excel, in an application writing a problem ticket,

View 1 Replies

Remote Desktop - Modify That Program To Allow Me To Connect To Computers Not On My Network?

Jun 12, 2011

I have created a program that allows me to remotely access computers on my network (not all done by me i found some code online) however i want to modify that program to allow me to connect to computers not on my network. How can i go about doing this? My program consists of a client and a server. When the server runs it listens for the client on the client side i enter the IP address and it connects so i can send remote commands to the remote system.

View 4 Replies

Deleting A File Or Folder On Multiple Servers From A List Of Servers?

Sep 29, 2011

I don't really know how to code but am pretty good at tweaking. I'm trying to set up a script that I can run to delete a single file, multiple files, a folder or multiple folders on a list of servers.I was thinking that the script could read the files to be deleted from a .txt file and apply the deletion to a list of servers in another .txt file.Example:

FilesToBeDeleted.txt:
\(insert_server_name_from_list)c$Program FilesBINexample_file.rpt
or

[code].....

View 1 Replies

Get A Certain Text Inside A Textbox To Equal That Text Space To Space Or Null To Space?

Sep 25, 2011

How would i get a certain text inside a textbox to equal that text space to space or null to space?

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Textbox1.Text.StartsWith(Textbox2.Text + " ") And Not String.IsNullOrEmpty(Textbox2.Text) Then
Textbox1.Text = Textbox1.Text.Remove(0, Textbox2.TextLength)
Textbox3.AppendText("a")
End If

Btw: after i finish this step my project will be finished!

View 4 Replies

Keydown Space/Enter - Use The Space Or Enter Key To Change The Image In It?

Sep 8, 2011

I am using a picture box. I want to be able to use the Space or Enter key to change the image in it. For that, I try to use the keydown function as follow:

Private Sub ChestWindow_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
Select Case e.KeyCode
Case Keys.NumPad1[code]....

is the function which changes the image. It works well when I press '1' on my numeric part of the keyboard as a test.The issue is that when I press Space or Enter, the form containing the picturebox closes. (I've already put the keyPreview property to True)

View 13 Replies

Connect To A Remote Network By Creating A Temporary Connection On The Fly By Using The Remote IP/Host Name?

Jan 20, 2010

Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?

View 6 Replies

Remote Desktop - Make An Application Of Remote Management For Images

Aug 5, 2010

I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?

View 8 Replies

Get All Possible Servers On A LAN Network?

Aug 30, 2011

I'm using the details on connecting to a server from a client here: [URL]

It's quite out dated but I just need it for a quick project. I need the client to auto-connect. This program will be running on the LAN only, is there a way to find on what computer the server is running on (i.e. all computers hosting the specific server on port x). I've seen it on a couple of games that run on LAN. Without access to the internet, they manage to display all available games on the local LAN. I'm doing this with VB.net.

View 1 Replies

Connecting To 10 Mysql Servers

Nov 15, 2010

i am trying to connect to 10 mysql servers and get aprox. 5000 rows. If i make the test from local network it works but if i take the test using mysql servers (same version) from different city it shows me the error "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding".[code]

View 1 Replies

App That Basically Gets Paths To Servers

Oct 12, 2007

I designed an app that basically gets paths to servers I have admin rights to, I am doing such things such as checking available space on the servers etc., the problem I am having is my app only works if I manually login via something like (start, run, \server) and supply my admin username and password just to store that authentication.How do I code this so it prompts the user in my program ONE time for all 5 servers (they all use the same username and password)

View 5 Replies

Click Once With Terminal Servers

May 27, 2010

Can ClickOnce software be ran on a terminal server?

View 3 Replies

Get All Servers From AD And Ping Check?

Feb 1, 2012

A little background, the client that I am working with has an enterprise AD that is a mess. They have no containers for servers or any organization what-so-ever. They also shutdown servers and did not remove them properly from AD. So I needed to come up with a program that would find all the windows server, identify them by OS, and then check to see if they would actually respond to a ping. (I am aware that this is not a perfect method if they are refusing ICMP's but its good enough for my purposes). The completion of the program will display all the information and then allow the user to save the excel workbook in a location that they choose.

vb.net
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

[code]......

View 4 Replies

Get The List Of All Sql Servers On Machine

Apr 12, 2012

how can i get the list of all sql servers on my machine i am trying this code i have vs 2010 and sqlexpress 2008 r2 i put breakpoints seems everything working fine but its not getting any server i don't know whats wrong with it here is the code on button click this suppose to work to get all servers and list them in the combobox cmbServer [Code]

View 5 Replies

Time - Using .NET To Query NTP Servers?

Jan 15, 2012

As the title describes I am looking for a way to query for the UTC time from NTP/SNTP Servers from 'VB.NET'The only libraries I have found for VB.NET to such tasks appear require a fairly large sum of different forms of currency.

View 1 Replies

Transfer File Between Two Servers?

Mar 11, 2010

How I can send file from server to another server in network??

View 2 Replies

Transferring Data Between Two SQL Servers Using VB?

Jun 12, 2011

The title of this thread perhaps does not explain my problem correctly.Actually i am developing a financial software for a company.The software is similar to a banking system. The software is being developed using VB 2008 and SQL Server 2008.The company has its branches located at different locations. They are having a centralized SQL Server at their Head Office.The branches are connected to Head Office using a VPN.Now what we are worried about is when the VPN gets disconnected.For that we will be having a SQL server installed at each of the branches.When VPN is connected the the details entered will be directly at the Head Office database,Meanwhile a program will be executed which will get details from the Head Office database at each of the branches in a XML file.When a branch gets disconnected from the VPN another program will get the XML details into the Sql Server installed at the branch. When the branch is connected again Another application will create a xml file from the local server and insert its details into the HO server.The sizes of the XML are reaching upto around 150 to 200 mb. I am using Dataset.WriteXML and Dataset.ReadXMl. I have tested this on my local machine it is taking upto 30-40 secs.I dont know how much it will take when the actual application is installed. How can i speed things up ? Does anyone have any idea on how i can do the whole process more smoothly and faster?

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved