|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Scripting for Windows Servermicrosoft.public.windows.server.scripting
How to get a list of users who never logged on to the domain?
shree -
18 Feb 2006 11:07 PM - 4 messages
Hello, I need to get a list of all the users who never logged onto to domain. I would greatly appreciate if someone could help me with this. Thank you for your time. ~Cheers, Shree ...
Script to change "FirstName LastName" in ADU&C.
Spin -
18 Feb 2006 5:35 AM - 6 messages
Gurus, Someone setup users in Active Directory to appear as "FirstName LastName" in ADU&C. The CN full name of the users is "FirstName LastName". I need *both* the CN full name and the display name to be changed to "LastName, ...
[MSH] implementing out-string / out-file
/\/\o\/\/ -
18 Feb 2006 3:32 AM - 12 messages
I'm testing with hosting MSH in c#, if I use a out-string or out-file, I get an error. "foo" | out-string Cannot invoke this function because the current host does not implement it. how can I implement this, are there any examples ? ...
[MSH] AD provider Beta4 or V2?
Jeremy Pack -
17 Feb 2006 11:40 PM - 2 messages
I've seen or heard references to an AD provider for Monad in the Monad webcasts. Is this: a) A beta4 piece of functionality b) A V2 piece of functionality c) A pulled piece of functionality that will one day hopefully return ...
[Monad?] Forgive me, lambda, for I have sinned...
/\/\o\/\/ -
17 Feb 2006 10:54 PM - 4 messages
I do not know wat it does, but I did read this script with MSH in mind Forgive me, lambda, for I have sinned... [link] And think we have another, almost convinced to switch to MSH ;-) ...
tool that convert csv file to html
joseph -
17 Feb 2006 10:06 PM - 2 messages
Hello Need a tool(exe file) which convert csv file to html with regards ...
Printer Migration fails on W2K
stev379 -
17 Feb 2006 5:24 PM - 2 messages
I got a version of the script below from [link] and edited to suit our needs. It works without error on XP, but fails to delete the old ...
Script to place a desktop shortcut to an exe on a file server
Scott -
17 Feb 2006 4:56 PM - 2 messages
I was wondering if there is a template out there that I can use to place a desktop shortcut for an exe that is located on a file server, and deploy it via GP. I know some VB.Net, however I am a complete newbie to vbscript and ...
Scripting Microsoft updates
Tim Munro -
17 Feb 2006 3:35 PM - 3 messages
Hi, Is there a command or any way of scripting Miscoroft updates. What I'm looking for is basically the autoupdate feature (download, install, reboot if necessary) but scripted so it can be run "On Demand", without human ...
[MSH]Option Explicit
Jeremy Pack -
17 Feb 2006 9:40 AM - 2 messages
Dearest Monad Gurus: How does one do the equivilent of VBscript Option Explicit in monad. - Sorry but I like to be rigorous ...
how to manage system counters
CiD -
17 Feb 2006 8:06 AM - 3 messages
I'd like to create/modify perfomance counters/logs on win2k3 servers, but I did not find any sample - how to do it - does any one know ? please - give a link or a sample code ( jscript, vbscript or wsh - does not ...
[MSH] File oriented cmdlets need to accept FileSystemInfo or FileInfo objects
Keith Hill [MVP] -
17 Feb 2006 2:38 AM - 12 messages
This problem has struck again with the get-acl cmdlet. I first ran into it with get-content. The basic issue is this - since MSH deals with .NET objects I expect file oriented cmdlets like get-content and get-acl to know ...
Find All *.MDB files on a Server
MFelkins -
16 Feb 2006 10:08 PM - 8 messages
Hi, I have been asked to locate all the MDB files on a server and get the following information; File Name File Path File Ext File Size File Modified Time ...
Creating HTA's with list boxes of pulled variables.
Jonathan French -
16 Feb 2006 8:55 PM - 4 messages
I am trying to create an HTA which pulls all OUs within the domain and displays them in a list box. I am able to get it to list the OUs, but not create a list box (just changes to a blank space). I have the list ...
ScriptBlock to Delegate casting...?
Nick -
16 Feb 2006 8:52 PM - 3 messages
I guess that I don't fully understand the ScriptBlock-to-Delegate casting system...I'm trying to create a WPF window from MSH, and then ShowDialog() it, but apparently I need to do this from an STA thread, so I'm trying to use ...
List disabled accounts and deletet.
Lion -
16 Feb 2006 7:07 PM - 2 messages
Hi all, Has anyone script that will reed all NT4 disabled accounts and then give you choice to delete them.. Thanks a lot. ...
Robocopy log file and current date
David Allen -
16 Feb 2006 7:07 PM - 5 messages
I am using a .bat with robocopy ROBOCOPY.EXE <source> <dest> *.dwg /S /MIR /PURGE /log:Sync.log the batch runs every day at midnight I want a log file for each day. How can I do that? ...
Modify Security using Script
Daniel -
16 Feb 2006 4:21 PM - 4 messages
Guys, I need make a script that assign security to users and remove security element from folder. How can i do? using cacls.exe let me assign permission but no remove. thanks ...
Shutdown script for MS updates?
Newell White -
16 Feb 2006 4:11 PM - 2 messages
We don't have disk space on our 2003 server to try WSUS. I am setting XP workstations to have Automatic Windows or Microsoft Update enabled, but no users have Administrator privilege. Found workstation today with 41 priority updates needed! ...
List box or Combo Box
merlin -
16 Feb 2006 12:48 PM - 2 messages
Is it possible within the VBS world to create a List or Combox box without using any extra libraries that can take all is entries from a statndard text file and on choosing an entry, enter that value in a varable with in the ...
Write registry key in login script
Woody88 -
16 Feb 2006 12:09 PM - 4 messages
Please could someone tell me the line I should add to a login script to write a registry value. Should it use Reg.exe The key is: HKEY_CURRENT_USER\Software\Microsoft\Office\Common with the values Data Type: DWORD Value Name: QMEnable ...
[MSH] format-table formatting hashtable bug
Keith Hill [MVP] -
16 Feb 2006 1:33 AM - 3 messages
I think I might have found a bug: MSH:65 # gps msh | select -uniq | select -expand Modules | ft fileName,@{e={$_.BaseAddress};l="BaseAddress";format="0x{0:X8}";w=12} FileName BaseAddress ...
HTA data provider issue
TomKing -
15 Feb 2006 11:16 PM - 3 messages
When I use this provider in HTA "Provider=ADsDSOObject;" I keep getting this message: "This website uses a data provider that may be unsafe. If you trust the website, click OK, otherwise click Cancel." Everything is working after I click OK. But it's quite annoying and make my ...
VBScript Check Lan Connection
Keith -
15 Feb 2006 6:45 PM - 2 messages
I have laptop users who travel a lot and don't plug into the network much. Plus people change so much that the person who has a laptop one week might not be the person who has it the next week. I want to put a VBScript in the ...
Monitoring the state of a service and start it if are stopped.
Juanjillo -
15 Feb 2006 6:15 PM - 2 messages
Hi. I have a problem with a service, when the backup stop, one service crash (im looking this with the technical service of the backup software). The servers is outside my office and i want to create a script to ...
setting and getting Environment variables
Farrukh -
15 Feb 2006 3:09 PM - 2 messages
Hi Can we set and get environment variables in Vbscript? I had worked with Wsript.shell object which gives access to Environment object, but when the script ends, in command window, the environment variable set by script is not available. ...
startup script
Eimis -
15 Feb 2006 1:38 PM - 3 messages
Please help me out with startup script: We have so far: With CreateObject("WScript.Shell") REM *** Installing Software .Run "\\DOMAINNETLOGON\Software\Software.exe -s " _ End With Which works, but everytime we reboot it reinstalls, how can we do this only ...
Remote amendment of the HOST file
Andy the 1 Jones -
15 Feb 2006 11:14 AM - 2 messages
I am trying to figure out how to either delete a host file and replace it with another or amend some lines within a existing host file remotley for 30 or more pc's. Does anybody know of a solution. ...
removing permission to play some games
ApellA -
15 Feb 2006 8:36 AM - 2 messages
hi, i'm looking for a script that can remove the permission for user groups to execute certain files (freecell.exe e.g.). Anyone plz can help me? I can't find it anywhere. ...
About Sending Mails.
KejiaLi -
15 Feb 2006 7:47 AM - 3 messages
Hi there. How can I sending mails with scripts but without any local smtp services ,I mean by other mail services, for instances, gmail and so on. Thanks so much! ...
Sorting script
nsunny66 -
14 Feb 2006 9:49 PM - 2 messages
We have an MS Excel sheet with user's names, their address and the dates they joined the company. The dates range from 02/02/05 to 02/02/06. I am trying to write a script that will go thru the Excel sheet and ...
script to find out what domain a server is part of
ScottW -
14 Feb 2006 9:48 PM - 7 messages
I am working in a new environment and there are lots of different clients and different Domains/forests. I have the name and IP of a server that is not in DNS so I can't ping -a to find the domain. Is there a way to run a script ...
Write file permission denied
GerryM -
14 Feb 2006 8:33 PM - 5 messages
I have a program (mostly asp) that writes to various files from a web page. It works fine under Windows Server 2003, and I have no difficulties setting script/read/write permissions for those files. The same program, on a ...
[MSH] When is $MyInvocation needed?
DontBotherMeWithSpam -
14 Feb 2006 6:50 PM - 9 messages
I was going through "Getting Started" guide and in "Automatic Variables" section, I have spotted "$MyInvocation". In what context would that auto variable be useful? I haven't a clue how one can make use of that variable. Moreover, wouldn't it be more appropriate for the variable to be called ...
List Audit Permissions for a User Account
Dave3283 -
14 Feb 2006 5:51 PM - 3 messages
At the web site below, there are sample scripts for managing Active Directory and Active Directory objects. [link] There are many scripts under this page, but I drilled down into on that is ...
need to list all AD users and last logon time
SixHouse -
14 Feb 2006 4:41 PM - 4 messages
appreciate any help... i have a script that my security team used to run once a week to dump all AD user names and when they last logged on to a text file but it no longer works due to different infrastructure changes. is there a simple way to get ...
LDAP Query for specific Logon Script
CKA -
14 Feb 2006 2:40 PM - 3 messages
On a users Properties in Active Directory, there is a Profile Tab. I'd like to do a Custom LDAP query to find all the users that have say "MECH" in the textbox for Logon Script. I cannot find this LDAP Attribute name though :( ...
Startup or Logon Printer Migration script
stev379 -
14 Feb 2006 2:13 PM - 3 messages
I have a printer migration script that works perfect locally and when applied to users. It points local client network printer installs to the new print server, or rather, creates a new printer pointed to the new server and ...
VBScript does not run on Windows 2003
Andy S -
14 Feb 2006 11:10 AM - 9 messages
I am new to scripting and inherited a monitor system. Basically the system is working fine on a Windows 2000 server box and I am migrating to Windows 2003, but when run on the 2003 box the script fails with 'Object Required'. ...
[MSH]scripted function could not start from file in MSH
Joerg Wiedmann -
14 Feb 2006 9:09 AM - 9 messages
Hello, i have written a function and saved as myfunc.msh. In the file myfunc.msh i have defined an alias for my function. Now i would use this function in msh, but it does not work. When i script the function directly in the Microsoft Shell it works fine. ...
[MSH] and system.directoryservices.activediretory
RichS -
13 Feb 2006 8:38 PM - 7 messages
I've been using system.directoryservices.activediretory with some Monad experimental scripts. The sites, subnet and site-link classes are superb for working with these objects but I don't seem to be able to set the Description property on any of these objects via system.directoryservices.activediretory. ...
Deleting Registry SubKeys
Viruskiller -
13 Feb 2006 8:37 PM - 2 messages
Hello, I am working on a VBScript to remove a bunch of registry subtrees that were left by a bad uninstall of a program. I understand that when deleting all the registry enteries in a subtree you have to establish an array and then ...
MSH-Tracking resource usage
sa.cesare -
13 Feb 2006 1:29 PM - 2 messages
Is there analog of using(){} construct in msh? What kind of policy is in use if I create StreamReader() for example(in context of "filter" body in my case),or any kind of connection? Thanks. ...
msh - AD provider
mkuehn -
13 Feb 2006 12:23 PM - 4 messages
has anyone any idea, how set up the AD as provider? I found an example which does not work, because there is no thing like system.management.xxx on my system. new-provider -Assembly "c:\program files\msh\system.management.automation.commands.directory.dll" -provider ad ...
Namaste, I am new to this community
nmangesh -
13 Feb 2006 9:16 AM - 2 messages
Namaste All, I am new to this community, can you guys please let me know basic requirements for scripting. Thanks, Mangesh ...
SCript
Hari Krishna -
13 Feb 2006 8:58 AM - 2 messages
Hi Can anyone give me the script to find & list the local administrators in Excel Sheet. Thanks in Advance ...
New to scripts
Scropio_0911 -
13 Feb 2006 7:43 AM - 5 messages
i am very new 2 scripting. i wanted 2 know good books or sites where i
can download stuff to learn windows scripting.
--
Scropio_0911
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
OutVariable Behavior
Tom G. -
12 Feb 2006 10:45 PM - 4 messages
According to the MSH SDK, the outvariable parameter should behave in the same way as piping the results of a command to set-variable with the passthru parameter set to true. I have found that this isn't exactly true. For example: ...
msh xml attribute
sa.cesare -
12 Feb 2006 5:58 PM - 5 messages
How I can reference xml attribute in something like: <entry> <link href="test"/> </entry> if I try $var.entry.link.GetAttribute("href"),it throws null pointer exception on "link". Thanks. ...
access 97 running in 2k3 server
Don Wilwol -
12 Feb 2006 2:41 PM - 5 messages
I am trying to move an access 97 database to a Windows 2003 server. Ultimately this database will be published through citrix, but for now I would be happy getting it to work in the 2003 environment. The customer insist that the database stay as access 97. This is an SQL ...
|
|||||||||||||||||||||||