0
votes
0answers
45 views

Batch file needed to query a specific location

I am not a coder and would appreciate any assistance. I need a batch file which will query a NAS location and produce an output of the upper level directories (and maybe the second level down). The ...
2
votes
1answer
97 views

Powershell LastWriteTime is incorrect

I am running the following script to create directories based on the first 9 characters in the filenames in the directory and then moving te files into these directories based on their filenames. dir ...
0
votes
0answers
38 views

Best way to deploy Powershell 4.0 on Windows 7 sp1 and server 2008

I am planning to deploy powershell 4.0 on all Win 7 and server 2008 and 2008R2. I did some research about this, but couldn't find the official way to do it. I can just use batch file or GPO to ...
0
votes
1answer
222 views

Enable local administrator account for clients from server 2008

I ran into a problem with one of my client , its local administrator account is disable, also I can't log in this machine with its domain user (because of this problem), now I wanna change its ...
0
votes
0answers
35 views

Close openfiles in local pc

We want to close all open connections of a specified directory. But it shouldn't affect to other open connections. We used net files and openfiles commands. These commands works fine for shared ...
2
votes
1answer
638 views

Task scheduler doesn't work unless I run it manually

I have a scheduled task on my Windows 2008 R2 server which is supposed to run a powershell script to download a backup of a file from another server. On this same server, I have scheduled the exact ...
0
votes
1answer
237 views

Grant full access to files on Windows Server 2008, only for a limited amount of time

I have a local Windows network with a Windows Server 2008 whose purpose is to act as a file server. I'm the administrator. I want to grant user full access to all the files on a certain directory ...
1
vote
1answer
62 views

Can a Windows scheduled task update itself and how would I do it?

Can a Windows scheduled task update itself and how would I do it? I'm using Windows Server 2008. I've seen some Powershell scripts that create tasks from xml; would this be the right approach?
1
vote
1answer
850 views

PowerShell script to re-install printer, set to default if it was default

We have a printer at work that is giving us problems. We have tried a few different solutions but when a user goes to print to this printer Windows 7 will sometimes display something like: Windows ...
2
votes
1answer
503 views

Running logon scripts with the standard user access token?

I have a powershell script which executes after I logon to my account. This is done by a group policy logon script. Because I am in the Administrator group this script is run with elevated rights ...
0
votes
2answers
97 views

Is PowerShell part of Windows 2008 Server?

Not sure if Powershell is a part of Window 2008 Server? I cannot find it from cmd console. Just to avoid to download it again.
1
vote
1answer
4k views

How to install PowerShell 1.0 for Windows 2008 Server

I have installed Windows 2008 server but I could not find out Powershell (Microsoft mentioned in its web page that this is part of Windows 2008 Server). Anyway, I tried to find it out from Microsoft ...