Get Total DB size , Total DB free space , Total Data & Log File Sizes and Total Data & Log File free Sizes from a list of server

how to get SQL server Total DB size , Total DB free space , Total Data  & Log File Sizes and Total Data  & Log File free Sizes from a list of server 

Hi Shivanq,
To get a list of databases, their sizes and the space available in each on the local SQL instance.
dir SQLSERVER:\SQL\localhost\default\databases | Select Name, Size, SpaceAvailable | ft -auto
This article is also helpful for you to get DB and Log File size information:
Checking Database Space With PowerShell
I hope this helps.

Similar Messages

  • Don't have enough free diskspace to download OS update. And have no way to free up more space. can i download update onto my verbatim hard drive

    don't have enough free diskspace to download OS update. And have no way to free up more space. can i download update onto my verbatim hard drive
    I already have to have all downloads, pictures, most new apps saved on this verbatim hardrive as my Macbook has literally no memory space!
    But i need to get the OS X updates so is there a way round this?

    i think this is it
    thank you

  • I made a dumb decision to 'Erase Free Space' on my drive. I now have no free space, I realize because it wrote 0's over all my free space. Is there a way to undo this??? Help please I can't save any documents now! Thanks in advance all, it is truly apprec

    I made a dumb decision to 'Erase Free Space' on my drive. I now have no free space, I realize because it wrote 0's over all my free space. Is there a way to undo this??? Help please I can't save any documents now! Thanks in advance all, it is truly appreciated. how can find the hidden temporary files using the terminal what do i type in?

    It's more likely a failed Erase Free Space, which creates a huge temporary file; that's why it looks like you have no more available drive space. You can recover from this. See these links
    https://discussions.apple.com/message/10938738#10938738
    http://www.macgeekery.com/tips/quickie/recovering_from_a_failed_secure_erase_fre e_space 
    Post back if you need any help with this.

  • Difference between free space reported by my iPod Touch and iTunes

    Why is so different the free space reported by my iPod Touch and iTunes?, which of both devices is reporting the correct free space?
    also, I restored my iPod two days ago because "other" space was too big (almost a gig),
    three days later, is over 500Mb, why is this happening?, thanks.
    On the pic you can see the difference between the free space reported by my iPod (403 MB) and iTunes (0.29Gb)

    I took the pic when I finished syncing, so that shouldn't be an issue, no matter how many times I sync, free space is never equal (iPod always reports more space).
    I'm running iOS 5.0.1 and I restored three days ago because iTunes said I was out of space to sync (and my iPod reported over 100Mb free).
    As you can see from the pic, I only have 9 apps, I mainly use this iPod for music. I'm using the AAC option to fit more songs.
    I really like this iPod, but as a music player. I had a first generation iPod Touch and "other" space never was an issue, I still have warranty, but I don't know if I should take this iPod to the store because of this, because it seems to be a software issue.
    Just deleted my emails from the iPod and gained 10 Mb, I don't know what else can I do.

  • My iPad free space was shrinking.  Previously I did an iOS upgrade and got more free space so I tried a restore and the same thing happened.  Do I have a setting wrong?

    My iPad free space was shrinking.  Previously I did an iOS upgrade and got more free space so I tried a restore and the same thing happened.  Do I have a setting wrong?  There was a significant change from 4.3 GB to now 10.2 GB.  I still have all the same apps, photos, songs, etc.  So what's up?  Why does my space not recover after I delete things?

    This is what I did to resolve the issue.  First I did a simple Reset (Home and on/off until the Apple logo appears) and it didn't help.  Then I did a Restore with a reload from the backup and that also accomplished nothing.  Then, I did a Restore as new with NO reload from backup and that resolved my issue.
    IF you choose to try the same thing, here are some cautions.  Make absolutely certain that all apps, music, movies, etc. are present in the iTunes library.  Also make absolutely certain that all "regular" data, such as pdf files, Word files, etc. are present and accessible somewhere on the computer's hard drive.  Be aware that you will probably lose all game data (scores, etc.).  I did not investigate a solution for that because I don't play many games and I really don't care about the game history.  Finally, be forewarned that it is a bit tedius recreating all your folders and putting each app where you want it.

  • I am trying to sync my ipod shuffle 4th gen, but  I keep getting the message that there is not enough free space to update the ipod, however I am trying to put on a smaller play list to the one already on the ipod!!! Help please!!

    I am trying to sync my ipod shuffle 4th generation, but this time around I keep getting a message saying that there is not enough free space to sync my itunes library.  Frustratingly I am trying to sync a new playlist which is smaller in size than the one currently on the ipod!!  I have tried everthing I can think of but to no avail, please help!!

    Maybe:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases

  • TS3212 I just purchased a new iphone 4s and I am trying to load some music from my itues. I am getting a message that says not enough space. I checked my phone and it shows i have 5.1G available. do you know how to fix this problem?

    I just purchased a new iphone 4S and I'm trying to loan some music from itunes. I keep getting a message that says not enough space on my phone. I checked my phone and I have 5.1G available. I deselected all the songs on my itunes to try and get it to sync and I keep getting the same message. Any tips?

    Hey csumner1,
    Thanks for the question. I understand you are receiving a "Not enough free space" alert when attempting to sync your new iPhone 4s. The following article may help to resolve your issue:
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/TS1503
    Resolution
    Try disconnecting and reconnecting your device, then syncing again to solve this issue.
    Orphaned files may remain on your iOS device if it is physically disconnected while syncing music, podcasts, videos, or photos. This can prevent iTunes from syncing the iOS device on subsequent sync sessions. When this happens, the Capacity indicator in iTunes may report a large amount of "Other" disk usage for the iOS device. To resolve this issue:
    1. Turn off the music or photo sync option in iTunes for the device.
    2. Click Apply to sync the changes to the device.
    3. Turn the music and photo sync options for the device on again.
    4. Click Apply again to try to sync the device to iTunes.
              - If the 'Not enough free space' alert appears, continue to step 5.
    5. Turn off the automatic syncing functions for the iOS device. To do this:
              - Select the iOS device from the iTunes window and click the Summary tab.
              - Deselect "Automatically sync when this device is connected" and select the "Sync only checked songs and videos" checkbox.
              - Click Apply to sync the changes to the device.
              - Reduce the amount of data that is being synced to the device and resync the device. For example, if syncing your Music library exceeds the memory capacity of the device, choose "Selected playlists" to transfer rather than "All songs and playlists" under the Music tab in iTunes.
    If the 'Not enough free space' alert appears, continue to step 6.
    6. Restore using iTunes.
    Thanks,
    Matt M.

  • I upgraded to iOS 5 and I went from having about 15GB of free space to being 4 GB over capacity.  Any solutions which save me from having to re-organize all of my apps?

    After I upgrded to iOS 5, the category of other is taking up 15.3 GB of space.  Prior to the upgrade, I had approx. 15GB of free space on my 64 GB iPad.  My concern is that the only solution to this problem that occurred from the "upgrade" is that I have to do a factory reset.  If I do a factory reset, there are two big pain points.
    1) The amount of time that it will take to get all of my stuff back onto the iPad.  When I first got the iPad, it took about 2 days for the music, videos, and photos to load.
    2) Re-organizing my apps.  I currently have my 229 apps organized into 11 folders and 8 screens.  I know this is a lot of apps, but I don't want to have to go through the struggle of getting it all organized as it is today.  Is there any way to get all of the apps organized the same way post-reset that will not involve a whole lot of work by me?
    I have tried to call Apple support to get help on this, but I have gone through 4 phone calls with hold times averaging 45 minutes before speaking to someone.  After all of this time and effort, their solution is a factory restore and do all the work myself.

    Hi again
    The problem isn´t solved but we now know what it is.
    Because I couldn´t upgrade the last 1-2 times with iTunes I though the problem was my iPod touch 3. generation, so when I heard that Apple couldn´t find or re-create the problem(s), then I flipped out. Sorry about that.
    Because it looks as the problem belong to the Philips speakersystem (real name is DCM 580).
    So when I received my touch back today and after speaking with Apple - DK, I looked at Philips support and found a firmware upgrade to the speakersystem from Sept. 23, 2011. Did upgrade my speakersystem and after that the rechargesystem through the dockconnection worked again. And at this afternoon on the homepage of my speakersystem, Philips tells us, that they have created a firmware update that only needs approval and then will be released at the homepage. So it looks at the whole problems was to some compatibility problems with the speakersystem after upgrading to iOS 5.0.
    Its not easy to know where to start when 2 or more units are involved these days
    Looked in the mirrow then I ofcourse know very well that we allways shall look for firmware and drive updates before anything else. This time I missed that because I have upgraded several time since February and uptil the day before upgrading to iOS 5.0 and none of thise upgrades had any needs for speakersystem upgrades.
    Friendly regards
    Bear

  • Weird symbol in file name and images by pixel instead of size?

    i my filenames i sometimes see a weird box with what looks like a script "x". is this some kind of default symbol that indicates i am using a non standard symbol in this file name? it sometimes happens after i drag and drop something say from my desktop to my laptop.
    also, is there any chance of being able to see pixel size of images in a Finder window in addition to or instead of File size?
    Thanks.

    Some things about this.
    1. Ignore the back slash in front of the space.  That's the terminal shell convention for escaping (making significant) special characters that follow the back slash (in this case a space).
    2. A pathname like ~/foo/bar is another shell convention where the tilde is a shorthand for your home directory.
    3. I am not convinced that the weird stuff is not there in the Finder display.  I think it just doesn't show in the Finder's desktop font.
    4. I am going to use your example for the following discussion.  Extrapolate where needed.
    The terminal shows a pathname like /Users/homename/Desktop/_evolute\ tutes, i.e. with some kind of garbage character(s) after tutes.
    In terminal type cp followed by a space and drag that tutes file into the terminal window.  I think it will look something like this (don't hit return yet).
    cp /Users/homename/Desktop/_evolute\ tutes
    Now type a space and add ~/Desktop/foobar on to the end of the line.  It should now look like the following:
    cp /Users/homename/Desktop/_evolute\ tutes  ~/Desktop/foobar
    Hit return.  You should see a file called foobar on your desktop (unless you get an error because the shell didn't like those special characters at the end of the pathname, in which case we have to quote it, but ignore that for now and we can address that in a followup post).  All this did was copy your file to the desktop with a different name, foobar in this case.
    Now I propose that the file foobar is named just that.  If you throw that in the trash, do a get info on it, or drag it back into the terminal window, it should still be just the name foobar.  Nothing else at the end of it.
    If all this goes as I described, then the moral of all this is that however that original problematic file (or files) was created somehow something added those non-printable characters to the end of the name.  In some fonts it shows as best the font being used can show it.  In others they remain invisible because there is no representation in that particular font.
    ...on the other hand, I could just be wrong about all of this!

  • Get original file creation and modified date during upload - ONLY in explorerview ??

    Hi,
    SharePoint and me are having a difficult time again ;-)
    I have the customer requirement to retain the original file's creation date and modified date.
    Please do not start replying by just pasting links that you might find while searching for the keywords "retain creation date".
    In a nutshell I found out that the original dates are only available in SharePoint if the
    explorerview has been used. I always thought that the explorerview is a bad thing, but only here - the original creation date is stored in a property called "vti_ct". In the itemupdated eventreceiver you can get the
    value and work with it.
    Complete list of available properties
    http://sbrickey.com/Tech/Blog/Post/Secrets_Revealed_SP_Event_Receivers_firing_multiple_times
    Here I found the hint with the explorerview
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010programming.aspx?ID=57bfd5f5-941f-4a89-919d-cdf7b0b801be
    It is only available in the 2nd loop of the itemupdated event. 
    How the f*** can this happen??? The 2nd post states that when using the explorerview the file is being copied, while it is being re-created by using the SharePoint UI.
    Has anyone a different approach for using the SharePoint UI?
    I thought about different approaches for this issue. From my perspective it seems to be not solvable from the server-side. It seems only to be able to be set using a client application.
    Example 1: spbulkdocumentimport 
    http://spbulkdocumentimport.codeplex.com/wikipage?title=Features&referringTitle=Documentation
    Example 2: implement a custom webservice
    http://blog.orbitone.com/post/Preserve-created-and-modified-information-when-importing-a-document-in-SharePoint
    How do you deal with this customer requirement?
    Open for discussions
    Sven 

    Hi,
    Newbie to SharePoint, learn quite a lot from the links you provided.
    “I found out that the original dates are only available in SharePoint if the explorerview has been used”, this would make sense because the original creation time is generated
    by the file system in the local machine.
    However, when a file is uploaded to SharePoint library, it will be stored as binary data in the database, as well as the newly created time. It means that it will be a “new” file
    in the SharePoint site regardless of where it comes from.
    Per my knowledge, the only way I can suggest is that you will need to create a client desktop application for the file uploading, which will be a more general way not only for
    uploading a file, but also when we need to migrate files between different systems.
    Thanks

  • I ordered my iPhone 6 plus 128GB space gray on 9/26/14 and the status still hasn't changed from in process

    I ordered my iPhone 6 plus 128GB space grey on 9/26/14 and my status hasn't changed from in process yet.

        Awesome, DeckNobets! Waiting is never easy! As
    h00t mentioned, you'll be able to see a change from Processing once the phone officially ships, then you'll see the tracking number. Since you've received a confirmation email that your order was submitted, any additional information throughout the fulfillment process will be sent to that same email address. Congrats on your new iPhone Plus!
    TanishaS1_VZW
    Follow us on  Twitter@VZWSupport

  • I Deleted my icloud account and then deleted a game for space I then downloaded it again and all data was lost but I have an itunes backup on my pc before all data was deleted can I restore my ipad to that date and get my data back the game is deerhunter

    So on Deer Hunter 2014 I had all my data but before that I changed my apple id email so I deleted my old icloud and logged in again. So after that I deleted Deer Hunter 2014 for some temporary space and then redownloaded it again, all my data was gone and I was back to the beggining but before this incident I backed up my Ipad on itunes on my pc. Can I use this backup to restore my data to that point in time if not is there a way I can (I did not purchase anything in the game so I cant restore purchases).
    Thanks in advanced

    Its solved I just restored it to that point

  • I need free space in my hard disk-- i want to delete all files. i want to leave my mac book like the first time.. what must to do ?

    i want delete all files and leave my mac book pro like the first time. i have system 10.7.5 , i have lot of files and need memory.. what must to do ?

    Install or Reinstall Mavericks or Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    OS X Mavericks- Erase and reinstall OS X
    OS X Mountain Lion- Erase and reinstall OS X
    OS X Lion- Erase and reinstall Mac OS X
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Two issues: Runtime error when trying to Reduce Size or Optimize File. And navigation in some files is VERY SLOW.

    I haven't figured out if there is a pattern here, as of yet.
    This happens with larger files (1500 pages and so forth) and not all the time. 
    - Bookmarks may take up to 4-5 seconds to go to its page.  Scrolling up and down pages is just as painfully slow.
    Even when I break the big file into smaller sections, the navigation remains slower than molasses.  
    - When I try to Optimize certain files, or Reduce their size, I get a Runtime Error. I have disable the Updater (I read this could be an issue) but that made no difference.  I have also broken the larger files into 2 or 3 pieces.  One of the pieces may work out well (I can optimize and so forth) but the other(s) may not.
    Thank you.
    PS: I use Windows XP Pro, Service Pack 3.  I have requested an upgrade (several times) but my wishes are not their command, I am afraid.

    HI ,Thanks for your response. That was an error in the code I posted, but wasn't the error I was trying to solve. Once correcting that error you pointed out I am getting the problems not when I send a plain text email like:
              if(!sendmultipart)
                 // send a plain text message
                 msg.setContent(msgText, "text/plain");
              }but when I try and send multipart messages doing this:
              else
                 // send a multipart message// create and fill the first message part
                       MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setText(msgText);
          // create and fill the second message part
         MimeBodyPart mbp3 = new MimeBodyPart();
         // attach the file to the message
         FileDataSource fds = new FileDataSource(soundfile);
         mbp3.setDataHandler(new DataHandler(fds));
         mbp3.setFileName(fds.getName());
                       Multipart mp = new MimeMultipart();
         //adds the text to the message
          mp.addBodyPart(mbp1);
          //adds the attachment to the message
          mp.addBodyPart(mbp3);
           // adds the content to the message
          msg.setContent(mp);
         }So i get the error when executing the else branch.
    Can you spot any errors here? I get the same error as mentioned earlier.
    Thanks a lot,
    Jess

  • Saving documents via Scripts: Get current file name and set save path/file type

    I am writing a script that will:
    -Make all layers invisible
    -Make a layer named "background" visible
    -Delete all the invisible layers
    -Save the docment as an EPS file (leaving the original document untouched)
    I am new to scripts and so have based my script by copying code from other scripts.
    Here is my code:
    var doc = app.activeDocument;
    var name = doc.name;
    var hide = function (){ // hide all layers (based on http://forums.adobe.com/thread/644267)
         var L=doc.layers.length;
         for (j=0;j<L;j++){  doc.layers[j].visible=false; }
    hide();
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++) {
                  // Create the illusrtratorSaveOptions object to set the AI options
        var saveOpts = new IllustratorSaveOptions();
        // Setting IllustratorSaveOptions properties.
        saveOpts.embedLinkedFiles = true;
        saveOpts.fontSubsetThreshold = 0.0
        saveOpts.pdfCompatible = true
    //Set up Variable to access layer name
              var currentLayer = app.activeDocument.layers[i];
    // Loop through the layers and make the back ground layer visible
              if (currentLayer.name == "Background") {
                        docName = name + currentLayer.name+".eps";
                        currentLayer.visible = true;
    // Delete Invisible Layers (based on http://www.cartotalk.com/index.php?showtopic=7491)
    var myDoc=app.activeDocument;
    var layerCount=myDoc.layers.length;
    for (var ii = layerCount - 1; ii >= 0; ii--) {
        var currentLayer = myDoc.layers[ii];
        currentLayer.locked = false;
        var subCount = currentLayer.layers.length;
        for (var ss =subCount -1; ss >= 0; ss--){
            var subLayer = currentLayer.layers[ss];
            subLayer.locked = false;
            if (subLayer.visible == false){
                subLayer.visible = true;
                subLayer.remove();
        if (currentLayer.visible == false){
            currentLayer.visible = true;
            currentLayer.remove();
    // Save Out Document with New Name
    var saveName = new File ( doc.path + "/" + docName );
    doc.saveAs( saveName, saveOpts );
    Everything works fine except:
    1) It saves the document with the name AdobeIllustratorBackground as opposed to the name of the document
    Also, I am not sure how to tell the script to save as EPS and to specify the save location.
    Could some one give me some pointers?          Thanks!

    Thanks! I changed my code to this:
    var title = doc.name;
    var title = title.substring(0, title.length - 3);
    And it now works! (The substring thing removes the .ai extenion).
    However, how do I get it to save it as an EPS? (I found this script that  saves as PNG, but I am not sure how to adapt it to EPS).
    Also, how do I set the file output path?
    Thanks for any help that can be offered.

Maybe you are looking for

  • Connecting Aquos Sharp TV to Macbook pro

    Has anybody figured out how to do this? I have done everything by the manuals. I have a DVI connector to the HDMI Port 6 in the TV. All the right adapters. My TV model is:LC32LE700UN. All I get is a black screen. Computer does not recognize. Does the

  • Iphoto thumbnail mislinking

    I am running iphoto version 5.0.4 and some of my pictures have the wrong thumbnail linked to them. In the thumbnail view it shows 1 picture, but when you double click and it opens the large image, it is a different picture. When I search in the actua

  • Can't send iMessage after downloading iOS 6

    I can't us iMessage over wifi network now after downloading iOS 6

  • Fire fighter intial log on

    1. When I try to log in to FF.. i am told " contact administrator for inital log on " 2. So far OK...but the  problem is I am  the adminstrrator !! --what does the admin need to  do ? Thnaks

  • How can i work with adam 4018M on labview?

    Do you have any support directly for adam 4018m ? or how can i communicate them? This is important for me. Can you answer that question?