Finally the help of IT is here

Blog of computer solutions.

Detect disk space used remotely

Posted by Xaus Xavier Nadal 9th on October 2012

Today I needed to know what was the disk usage of multiple remote servers to a study of performance and provide a tailored solution to a customer who wants to virtualize your physical server environment.

Performing the query using powershell get have never had to connect to each server and get a quick and accurate results. This way we can adjust more disk consumption of future migrated server.

As you can see in order to make the query I used powershell and the command get-wmiobject along with the class win32_LogicalDisk, I also used some switches to show us the records we'd mapped network drives or cd-rom (since we do not want to know this information).

The specific value of disk usage that I know I can not refer directly and I had to do a subtraction between the value size and value FreeSpace.

I pass the entire command and the result obtained.

get-wmiobject -class "win32_LogicalDisk" -computername server1, server2 | where {$ _. DriveType-like "3"} | ft __SERVER, deviceid, @ {expression = {($ _ Size.) - ($ _ FreeSpace.) }, label = "UsedSpace"} -auto

Deviceid __SERVER UsedSpace
——– ——– ———
server1 C: 169078034432
server1 D: 117450104832
server2 C: 7788908544
server2 D: 8210206720

As you can see only show the physical drives (not network drives or CD-ROM drives, etc. ..) this is because we use the value DriveType, I show different values ​​depending on what you want to obtain.

"3"- Local disks.

"4"- Network disks.

"5"- CD-rom.

I hope you like me as aid has served me.

Also you can see the result in GB ... with the following command ... and some data ...

gwmi-class "win32_LogicalDisk"-computername server1, server2 | where{$_.DriveType -like XCHARX3XCHARX} | ft __SERVER,deviceid,@{expression={($_.Size/1GB)-($_.FreeSpace/1GB)};label=XCHARXUsed_SpaceXCHARX},@{expression={($_.FreeSpace/1GB)};label=XCHARXFree_SpaceXCHARX},@{expression={($_.Size/1GB)};label=XCHARXTotal_SizeXCHARX} -auto

Greetings and see you soon.

tags: , , , , , , , , , , , , , , ,
Posted by scripts | No Comments »

Error installing application, free space and try again

Posted by Xaus Xavier Nadal 19th on September 2012

If you have the following message appeared: Could not uninstall, free space and try again, Keep reading because here you will find the solution.

If you have got a smartphone with Android installed and want to reinstall any applications you already had on the device perhaps this problem will arise:

Could not uninstall <application>. Frees up space and try again.

Do not set yourselves to erase like crazy everything you can think of that will not help because the problem is not derived from it do not be space but that the application already exists in your device and were remains when the desinstalásteis. Do not worry that everything can be fixed, keep reading ..

The message that appears when installing an application on Android you already had installed earlier is:

No space disponible_1

To solve the problem only you will have to delete a file as follows:

Megacrack read »

tags: , , , , , , , , , ,
Posted by Android | 10 Comments »

GTranslate Your license is inactive or expired, please subscribe again!