Fetch shared storage usage info from windows server.
I am trying to retrieve usage related info of shared storage attached to a server by using:
WMIC logicaldisk get size,freespace,caption,drivetype /Format:csv
The output is fine. But here the Drive type for drive-D is showing as 3, though its a Netapp Lun. Please let me know how to get Lun information. Its becomes tough for me to identify a Netapp volume if it is showing Netapp as Drivetype 3.
I do not have powershell installed in all the servers.So i can not use PS.
OUTPUT:
Node,Caption,DriveType,FreeSpace,Size
Hostname,C:,3,1522081792,20973137920
Hostname,D:,3,38534803456,751148986368
Hostname,E:,3,2867924992,52395274240
Hostname,F:,3,44005818368,73364254720
Hostname,R:,5,,
The link I gave you was not meant to be a exact copy/paste of what you should run, it was just so you could see that someone else managed to determine whether a particular volume was an iSCSI drive or not by using WMI to query the Win32_DiskDrive class and
look at the Model property.
In their case, as you can see from the link I posted (regardless of the language used), the Model property had a value of "iSCSI" when it was an iSCSI drive.
How you use this information is completely up to you: batch/VBScript/PowerShell/C#, whatever. I'm just pointing out what WMI classes to query and what values to compare against.
You're already using WMIC, so just continue using that if you're more comfortable with it.
Similar Messages
-
[SOLVED] VBox: Access shared folders from Windows Server 2008 Guest
Hi,
I have installed virtualbox v4.2.4 on Arch and I launch a WIndows Server 2008 guest. I want to access shared folder from guest. How to do it?
Last edited by toni (2012-11-26 00:31:21)Hi,
I have done this but it does not work.
My network is configured as a NAT in virutalbox.
Also from WIndows server 2008 guest I do:
net use z:\\vboxsvr\mySharedFolder
Do I have to install additional software in host or do I have to configure something in Windows server 2008 guest?
illusionist wrote:
See Here
Also Here -
I read the thread Widows 7 printer
HP deskjet 855c driver about possible installation of HP855c drivers onto Windows 7 x64 from "Windows Server 2003 x64" CD but I didn't have enough luck to succeed with doing it on my laptop. That thread appears to be dead now
as it is marked "Answered", so I'm asking for help here. I have Toshiba Satellite P500 with Windows 7 Home Premium 64-bit (http://i55.tinypic.com/2zgth6v.jpg).
Let me tell you first that I don't have access to Windows Server 2003 x64 or XP Pro 64 CD's. However I did some research online, which eventually forced me to learn about the "file sharing". After extensive search I was able to get the copies
of AMD64 folders from Windows Server 2003 R2 Standard x64 with SP2 and
XP Pro 64. The reason that I went also after XP Pro was because I thought that the extra wording "R2 Standard x64 with SP2" in description of "Windows Server 2003" did not reflect the exact name provided by poster
Alan. I couldn't find just "Windows Server 2003 x64" (does it matter?).
Anyway, I followed first the drill with running "printui /s /t2" and disabling UAC, and then in both cases I was able to locate the
NTPRINT.INF file (http://oi51.tinypic.com/9qwvt2.jpg - this image is from XP Pro AMD64 folder) but each time when I
attempted to install the driver, I got the same message stating:
"The folder you specified doesn't contain a compatible software drive for your device. If the folder contains the driver, make sure it's designed to work with Windows for x64-based systems." (http://oi53.tinypic.com/27yveiw.jpg)
Why aren't there x64 drivers?
During several installation attempts I had the printer connected to or disconnected from my laptop. It didn't make any difference. I must add that for this purpose I had to use different cable than the original one designated only for the
Parallel port in my old desktop with Windows XP. My new laptop with Windows 7 x64 came only with 3 USB ports (plus 1 HDMI and 1 Serial). Because of that situation I bought in advance a new printer cable called “USB to 36-pin Parallel Port Adapter
Cable” (http://www.amazon.com/gp/product/B003A8I75E). I'm not sure, if it will work until I can install the printer.
Besides, nobody talked about this issue yet. I was also playing with the port choices in "Add printer" step; changing from default LPT1 to USB001 with the same negative results.
I don't know what I'm doing wrong. I was very hopeful after reading positive "case closed" notes there.
Can anyone help me here, maybe by making the necessary files available for download? I'm willing to pay for such assistance or make a donation, if necessary. Seriously. Judging by the large number of views of the original
thread, one could assume that there is a potential demand for such service. It would be more human to pay few bucks for a few driver files than $900 for the whole Windows Server 2003 x64 CD, no? Can Microsoft accomodate me/us, please? :)
Andrew*
P.S. I was advised to come for help here from
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/windows-7-x64-cant-readinstall-any-printer-drivers/4e7d06e1-33a5-4597-be70-4fdc087a63a7?msgId=9a045994-0d31-4d40-b17d-dba372393ee4I have my HP 855c/driver working on Win 7 Ultimate x64. I used the 'printui /s' procedure and 4 files described above with some minor changes.
I pulled WindowsServer2003.WindowsXP-KB914961-SP2-x64-ENU.exe down from the Microsoft website. Running the file causes the exe to unpack into a temp folder at the root drive. A 'Setup Error' message box is displayed once the file is run. I left this
message box up until I copied ntprint.inf, ntprint.cat, and sp2.cab from the temp folder.
I copied driver.cab from a Windows XP Pro disc. I also needed amd64\stdnames.gpd which was already in my Windows 7 c:\windows\system32\spool\drivers\x64\3 folder.
I created a folder with the 5 files (ntprint.inf, ntprint.cat, sp2.cab, driver.cab, and amd64\stdnames.gpd). This is my 'Have Disc' folder.
I followed the 'printui /s' instructions, first changing the permissions mentioned above and then installing the driver. Next I followed the instructions to add a printer from Control Panel 'Devices and Printers' - 'Add Printer', choosing to 'use an existing
driver' when installing the HP 855c.
I used a slightly different ntprint.inf, size 1570418. The readable contents of ntprint.inf is as follows. Notice the line 'CatalogFile=ntprint.cat' is not included. I tried using the 1570468 version of ntprint.inf; when I did I received an incompatibility
message (probably the same one mentioned above).
; NTPRINT.INF (for Windows Server 2003 family)
; List of supported printers, manufacturers
[Version]
Signature="$Windows NT$"
Provider=%MS%
; LayoutFile=layout.inf
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
DriverVer=10/01/2002,5.2.3790.4533
[ClassInstall32.NT]
AddReg=printer_class_addreg
[printer_class_addreg]
HKR,,,,%PrinterClassName%
HKR,,Icon,,"-4"
HKR,,Installer32,,"ntprint.dll,ClassInstall32"
HKR,,NoDisplayClass,,1
HKR,,EnumPropPages32,,"printui.dll,PrinterPropPageProvider"
Good luck -
Hi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, AzHi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, Az -
Who has deleted data from Windows Server
Hi supporters,
Somebody has deleted some files from windows server's physical drive from windows XP user machine. This allegation has been made by IT team to a very sincere employee of the company who is working from last 15 years with the firm. So, can you please help
me to know that how we can find the right & legal way to know who has deleted the data actually because there are personal clash between IT team and accused person (who is very much trustworthy).
Thus, please help me immediately and confirm me (on following mobile number) that if you could arrange an IT professional to sort out this issue as soon as possible.
Thank you,
With best regards,
Mukesh Kapoor (09810030276)This one may help.
Apply or Modify Auditing Policy Settings for a Local File or Folder
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Upgrade from Windows Server 2012 Active Directory to Windows Server 2012 R2 Active Directory
We are currently running Windows Server 2012 Active Directory and would like to upgrade to Windows Server 2012 R2 AD. Is it OK to just do an in-place upgrade, or is it advisable to build new domain controllers on R2? Are there any guides or articles anyone
can recommend?Hi Ginandtonic,
To upgrade DC(Domain Controller) from windows server 2012 to windows server 2012 r2, please refer to these articles:
Upgrade from windows Server 2012 to 2012 R2
Upgrade Active Directory from 2012 to 2012 R2
I hope this helps.
Best Regards,
Anna -
Windows 8 and IE10 and 11 not accepting Proxy Settings via Group Policy from windows server 2003
Hi
We are still running Windows Server 2003 with a Win7 and Win8 desktop environment. I can control Win7 IE9 settings,
But Win8 systems are running IE10. We have an internal proxy server.
Is there any way to force the proxy settings to the Win8/IE10 or 11 systems .
i have tried with The IE 10 .adm template and applied gpo,but does not have any proxy settings for ie10 and no changes were applies
please can anyone help me regarding this
i want to apply GPO from windows server 2003 to windows 8 ie10/11
Thanks
KNCHi,
I agree with Zanderol24, we can install RSAT on a windows8 client, and then we can use Group Policy Management to manage group policy from the client.
For more information about RSAT, we can refer to the following link:
Remote Server Administration Tools (RSAT) for Windows Client and Windows Server (dsforum2wiki)
http://social.technet.microsoft.com/wiki/contents/articles/2202.remote-server-administration-tools-rsat-for-windows-client-and-windows-server-dsforum2wiki.aspx
For more detailed information about how to use GPP to configure the proxy setting for ie10 and ie11, we can refer to the following link:
How to configure Group Policy Preference settings for Internet Explorer 11 in Windows 8.1 or Windows Server 2012 R2
http://support.microsoft.com/kb/2898604
When we use GPPs you need to be aware of the F5-F8 keys:
Red / Green: GP Preferences doesn’t work even though the policy applied and after gpupdate \force
http://blogs.technet.com/b/grouppolicy/archive/2008/10/13/red-green-gp-preferences-doesn-t-work-even-though-the-policy-applied-and-after-gpupdate-force.aspx
Besides, aside from using group policy to manage IE, IEAK can also be used to do this.
For IEAK, the following article can be referred to for more information.
Internet Explorer Administration Kit (IEAK) Information and Downloads
http://technet.microsoft.com/en-in/ie/bb219517.aspx
Best Regards,
Erin -
Upload of pdf file from windows server in to DMS content server
dear all,
kindly help me out in uploading the pdf file in DMS content server from windows server. let me know the steps how to complete this task. its a little bit urgent.
thanks in Anticipation
vikram & kiranWelcome to SDN
you can use FM BDS_BUSINESSDOCUMENT_CREATEF to do this
check this thread
Re: convert file details
or this code sample
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3
Regards
Raja -
Files Transfer from Windows Server 2008 R2 on Mac
Hi,
How can I transfer files from "Windows Server 2008 R2" on Mac? as now I am using 2 App (Microsoft Remote Desktop & Fast Remote Desktop) which allowed me everything but not transfer files on Mac, so any other recommendation or salutation?
ThanksHi,
You need to configure folder redirection.
Folder redirection enables access local folders during the remote session. Click the + button at the bottom of the dialog and choose a folder you want to have
redirected.
Configure Folder Redirection:
1. Click the + button.
2. In the Add Local Folder window, enter the following information:
l
Name: Set a name for the folder to be available during the remote session.
l
Path: Select the path to the folder to be available during the remote session.
3. Click the close button to save the remote desktop.
Getting Started with Remote Desktop Client on Mac
http://technet.microsoft.com/library/dn473012
Hope this helps.
Jeremy Wu
TechNet Community Support -
Planning to move my datafile from windows server 2003 to windows XP
planning to move my datafiles from windows server 2003 to windows XP
database 10g
Is it possible to follow below the steps for above migration
=====================================-
This is my steps( migrated from windows Xp to windows XP)
Moving oracle Datafile from one server A to B (instance not running) (cold backup)
In server a (cold backup of datafile)
SQL> alter database backup controlfile to trace
Go to udump check the trace file copy these lines
CREATE CONTROLFILE REUSE DATABASE "O10G1" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 454
LOGFILE
GROUP 1 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO01.LOG' SIZE 10M,
GROUP 2 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO02.LOG' SIZE 10M,
GROUP 3 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO03.LOG' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSTEM01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\UNDOTBS01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSAUX01.DBF',
'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\USERS01.DBF'
CHARACTER SET WE8MSWIN1252
Change the new database name jee and REUSE replaced by SET and NORESTLOGS replaced by RESTLOGS above lines.
Save as C1.sql
Stop the oracle instance service in source ( server A)
Copy all the datafile and redlog file put into server B( any folder)
Copy the init.ora file from source and edit
Change the db_name and location of the controlfile
SERVER B
Create the oracle instance using ORADIM
Start the service
C:\ set oracle_sid=instance name
C:\>set oracle_sid=jeeno1
C:\>sqlplus /nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr
11 06:44:28 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba;
Connected to an idle instance.
SQL> startup nomount
pfile='C:\oracle\product\10.1.0\admin\jeeno\pfile\jeenoinit.ora'
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> CREATE CONTROLFILE set DATABASE "jeeno1"
RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 454
7 LOGFILE
8 GROUP 1
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO01.LOG'
SIZE 10M,
9 GROUP 2
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO02.LOG'
SIZE 10M,
10 GROUP 3
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO03.LOG'
SIZE 10M
11 -- STANDBY LOGFILE
12 DATAFILE
13
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\SYSTEM01.DBF',
14
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\UNDOTBS01.DBF',
15
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\SYSAUX01.DBF',
16
'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\USERS01.DBF'
17 CHARACTER SET WE8MSWIN1252
18 ;
Control file created.
SQL> alter database open resetlogs;
Database alteredone more thing u can also rename ur database by using nid utility ,So u have no need to recreate the controlfile for changing the name of ur database.just restore all files from primary to new server ,create new service by oradim ,start the instance and then use NID utility.
Thanks
Kuljeet -
Hi Microsoft Team,
We need your urgent advice and that is also on priority:
Issue Description: We need to migrate from
WINDOW SERVER 2003 to WINDOW SERVER 2012 while the development activity will be carried
under WINDOW SERVER 2008 as DEVELOPMENT BOX.
.NET Framework Version: 3.5 ( For both DEVLOPMENT(WINDOW SERVER 2008) and WEBSERVER(to WINDOW SERVER 2012))
IIS Version: 7.5 (For both DEVLOPMENT(WINDOW SERVER 2008) and WEBSERVER(to WINDOW SERVER 2012))
Need your quick advice Is that configuration feasible for Development and
Deployment (Web Server).
Highly appreciate your response as this will depend which product we need to buy also if you feel any showstopper or concern. Please let us know.Hi,
As suggested by Tim, in order to get better assistance, we can ask for help in the following IIS forum.
IIS Forum
http://forums.iis.net/
In addition, regarding migrating from Windows Server 2003 to Windows Server 2012, the following blog can be referred to for more information.
Step-By-Step: Active Directory Migration from Windows Server 2003 to Windows Server 2012
http://blogs.technet.com/b/canitpro/archive/2013/05/27/step-by-step-active-directory-migration-from-windows-server-2003-to-windows-server-2012.aspx
Best regards,
Frank Shen -
In my sharepoint 2007, I have upgraded the OS from windows server 2003 standard to windows server 2003 enterprise R2 SP2. After the OS upgrade when I run the central admin it's showing this error "Microsoft Windows Sharepoint Services 3.0 Error 2908
error has occurred" screen shot below of the error.
Any help?Not sure I can help. In general MS does NOT support the upgrade of the Underlying OS without re-installing SharePoint. Many of the prerequisites that were installed when SharePoint was installed are OS specific. You can either contact
Product Support and see if they can provide any assistance or re-install SharePoint from scratch and re-attach/migrate all the existing databases with content into the new system on the new OS.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
I have a new lion server and 4 lion laptops. The laptops loose connection to the shared documents and printers from the server after roughly 1 hour. By disconnecting and re-connecting wireless the connection is regained to shares and printers. We can still surf the web when it goes down.
Ok 1st one. The warning restriction message relates to this line in main.cf:
smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks check_helo_access hash:/etc/postfix/helo_access reject_non_fqdn_hostname reject_invalid_hostname permit reject_invalid_helo_hostname
The last reject occurs after the single word "permit" and is ignored.
However, that's not the problem.
I'm not exactly sure what's happening, but this might be a clue.
It would appear that either postfix is not being able to create the socket for private/policy or it's somehow created with the wrong permissions. You might need to ramp up the debug level to get a better idea.
You could check if it's being created by "netstat -a | grep private/policy" in terminal.
My guess is that it's not being created because there is no setup statement in your master.cf file, but I don't understand why postfix would be looking for it if it isn't set up. Private/policy I think relates to grey listing. Maybe gives you a hint. -
Hello,
I'm looking to uninstall the WSUS server role 3.0 from Windows Server 2008 R2 SP1. The thing is the database is hosted on a remote MS SQL server. I want to remove the database as well. I would like help for figuring out what I need to do to completely remove
WSUS and its database.
Any kind of help is appreciated! ThanksHi,
WSUS offers limited support for running database software on a computer that is separate from the computer where the rest of WSUS is installed. This section offers step-by-step
instructions for how to install WSUS in this configuration.
If you meet the uninstall issue with the normal uninstall, please post the detail information for us but if you just want to manage the WSUS related SQL data, you can refer
the following KB then delete corresponding database.
In the general procedure, you will create the related WSUS database as below::
Run WSUS Setup from the command line, using the SQLINSTANCE_NAME=servername\instancename command-line option, where servername is the name of the remote computer, and instancename
is the name of the SQL Server instance that you will use for WSUS.
More information:
Choose the Database Used for WSUS 3.0
http://technet.microsoft.com/en-us/library/cc708452(v=ws.10).aspx
Appendix B: Configure Remote SQL
http://technet.microsoft.com/en-us/library/cc708595(v=ws.10).aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Just got the 4S. I cannot get Siri to work. It says it cannot retrieve info from the server. What does that mean and how can I fix it to use it?
Siri always contacts her own server at apple. They may be performing maintenance or applying updates, should be back soon.
Maybe you are looking for
-
CJS-00081 Assertion failed: No db client software version available
Hi Experts, I'm doing system copy on Oracle.9.2 and SAP R/3 Enterprise 4.70 Ext.Set 1.10 SR1 in AIX5L, I haved check Note:659509, during run the Installation Master,The Central Instance and Oracle software is installed and when I installing Database
-
I basically want to write a batch file for a particular task.I want everyone should be able to run it in any pc but they should not be able to see the content of the batch file.Is it possible to do?????????
-
Any Options other than rebuilding solution in Captivate 4?
We developed a solution using Captivate 5.....now we found out that it cannot publish using AS2.... and some users are using Flash 7 (no control over it). Are there any solutions rather than purchasing Captivate 4 and rebuilding it in Captivate 4? Fo
-
Purchased Season - Won't Download Last 3 Episodes
I purchased Scrubs Season 6 for $34.99, but the last three episodes did not downlaod, and I do not have the option to download them anywhere. Please help. I don't want to pay another $6 for them. Thanks -John
-
I need a tree structure so that I can store my objects in them. There are two different kinds of objects to be stored: One may have up to 2 children, the other up to 8 children. Two different classes represent these two kinds, each extends DefaultMut