Re: Query to test the existence of a folder



That could work but it would require some testing. Plus, in SMS2k3 wouldn't you have to compile the SMS_def.mof on all clients anyway so really it is a script, sort of. :-)



So thanks for proving that it is a script. :-)


"Kim Oppalfens [MVP]" <""Kim dot Oppalfens\"@google mail.com"> wrote in message news:uHsOqDgMIHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
Garth wrote:
Marco, I don't think you can do that in ConfigMgr 2007. I think you will need ot use a script to do that.


"Marco" <Marco@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8517ECB7-E6BE-4536-ADC7-251E427CDD63@xxxxxxxxxxxxxxxx
The solution is: There's nor chance to do that. This feature will only be
available in the SMS 2003 successor SCOM 2007.

"Marco" wrote:

Does anyone know the SMS query to test the existence of a folder (e.g.
C:\Data) no matter whether it has subfolders or not, no matter whether files
are included or not and no matter whether if this folder is part of a
software product?

I'm sorry if this is a stupid question. I'm no SMS admin.

I disagree, yes I know you don't like me disagreeing with you, but I am disagreeing anyway :-P

Windows has a win32_directory namespace in wmi.
So if you don't mind to inventory all folders on your systems than this shouldn't be that difficult a mofedit. (Sherry, we need some assistance here :-)

Alternatively, you could use the view instance provider to select only the specific folder you want to inventory. (Sherry, I am just bluffing here, I am in way over my head when it comes to the view instance provider).

--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx

.



Relevant Pages

  • Re: Query to test the existence of a folder
    ... C:\Data) no matter whether it has subfolders or not, ... I'm no SMS admin. ... I disagree, yes I know you don't like me disagreeing with you, but I am disagreeing anyway:-P ... you could use the view instance provider to select only the specific folder you want to inventory. ...
    (microsoft.public.sms.misc)
  • Re: SMS Reporting Point
    ... > Activation Permissions" click on Customize and then click on the Edit ... SMS 2003 SP1 ... >> SMSComponets folder with no luck. ... Gave the group Full Control still no luck. ...
    (microsoft.public.sms.admin)
  • RE: Query to test the existence of a folder
    ... just a fragment of the installation path. ... SMS just ... included directly inside of this folder. ... client machine no matter whether it belongs to a software and no matter ...
    (microsoft.public.sms.misc)
  • Re: Site Backup Destination Folder Access Permissions
    ... The workaround involves changing the destination operand on the sitedbdump ... I did send a comment to SMS Doc Feedback and received a reply that they ... > You may be able to setup folder permissions via the OS. ... >> the SMS Site Backup task gets an error on a subfolder in the site backup ...
    (microsoft.public.sms.setup)
  • Re: SMS Backup Task
    ... I have set backup folder to share on my file server. ... permissions to SMS Computer accout on that folder and everything should ... >>> recreates it with administrators with full permissions. ...
    (microsoft.public.sms.admin)

Loading