I\'m writing a Windows batch file and want to copy something to the desktop. I think I can use this: %UserProfile%\\Desktop\\
Can anyone tell me how to create a schedul开发者_开发技巧ed task using powershell that runs as the local system or local service?
Sometimes we need to perform small administrative tasks in SharePoint. A simple PowerShell script is a really good tool for that. For instance, such scr开发者_StackOverflow社区ipt can enumerate event
I have a PowerShell script that connects to a web site, and parses its returned data (It\'s about importing a previously uploaded SQL file into the web site\'s data base). The PowerShell script uses w
I on occasion I get asked to produce a list of users who have Full Access rights to a par开发者_如何学运维ticular Exchange 2007 Mailbox. At the moment I am doing this manually, and I\'d ideally like t
I am running the following command: ([xml](new-object net.webclient).DownloadString( \"http://blogs.msdn.com/powershell/rss.aspx\"
As part of a simple backup process, I would like to save files with the name indicating the date and time of the backup. Right now I am using yyyyMMddTHHmmss, i.e. \"20100601T115720\". I would like to
I have a directory of videos (.AVI files) that I开发者_高级运维 want to determine the duration of, and to create a file listing the titles and durations of all the videos, sorted in descending order o
I have a list of fil开发者_C百科enames in a text file like this: f1.txt f2 f3.jpg How do I delete everything else from a folder except these files in Powershell?
When I run my script directly from the Powershell console it works.When I run my script in PowerGUI and try instantiate an object, I get an error: