Need to do auto SnapShot to hyperv machine with powershell
hello,now after i did a snapshot i want to auto delet the old oneswith script in powershell help please :-)thnx for helping mans .. !
View ArticleRobocopy all files of a given file extension from multiple folders on a...
I will be grateful if someone could help me to use robocopy to copy all files of a given file extension on a source drive to a single folder on a target drive, keeping only the latest version of the...
View ArticleEnableBitlocker and RK switch
HelloI need to know how I can make this script to save the Recovery Key to a network shared drive as follows:First it needs to creat a folder by using the computer name as a variable, second it needs...
View ArticleStart-BitsTransfer Works when triggered manually from powershell but not...
I'm using BITS to transfer file from one windows 2008 R2 server to the other. When I run the command manually from powershell or regular command line it works perfectly. Now when I use the same...
View Articlecscript not running remotely from a proxy windows server 2003
We have a VB script which in turn uses cscript and spool some data. Initially i thought the issue is with VB script but we figured out it is with cscript. This script runs locally but not remotely. For...
View Articlebring disk online without implicitly specifying number
I have something like:"Get-Disk -Number 1 | fl Number, OperationalStatus, Size""Set-Disk -Number 1 -IsOffline 0""Initialize-Disk -Number 1""New-Partition -DiskNumber 1 -UseMaximumSize...
View ArticleCreate DFSR Replicaiton Group using WMI & Powershell
Hello, i am trying to create powershell script to create and configuration DFSR Replication group. i tried to find the WMI classes for DFSR. closest i found was for Group configuraiton is...
View ArticlePowershell: Get character string from file name and create directory from...
Dear All,i am new on programming. I am making one script by using powershell. I have many computer log files in a folder, the following are some sample files in the...
View ArticleHelp required for scheduled task script
I am new to powershell and I am looking for a PS script which will read a list of computers and then set a specific scheduled task to those computers, and output to a file which ones were successful...
View ArticleConvert CSV data from memory into CSV object?
I have a gigantic csv formatted file, 10GB+ uncompressed. There's nothing I can do about it, it's not my file; I'm just trying to import the data in the file. Another organization generates it and...
View ArticleTrusted site script failure
<# Script to set a site into the trusted sites zone on a single workstation #> Function Trust-Site {<# .SYNOPSIS Trust-Site adds a registry to the a machine trusting a internet site....
View ArticleScript to retrieve GPO settings into Excel Spreadsheet
All, I am currently using the script in the link below to retrieve some settings from Group Policy Objects. Here is the link:http://syswow.blogspot.com/2012/06/group-policy-status-excel-report.htmlI...
View ArticleAdding a computer to local administrator group
I am trying to add a local user to the administrator group using a short script. What would be the shortest and easiest. Thanks
View ArticleEasy way to enable remote access to computer.
I need to setup a long script to do a various amount of things but the last thing I need is to set Remote Desktop connections on the machine. the option under system properties that says Allow...
View Articlereplace XML tag have datestamp with current datestamp
<Configuration ConfiguredType="Property" Path="\Package.Variables[User::ConfigFilePath].Properties[Value]"...
View ArticlePower Shell Script to replace a word in a file
Hi All,I am looking for a script to replace the first occurrence of a word in file. For example:00 00003468 02-06-2013 14:21:14N 1 8031 Idle 15 Wait For...
View ArticleProblem loading module
Hello AllCan someplease help me with the following issueI have the DataONTAP module installed from the NetApp PowerShell Toolkit I can load the module manually e.g.Import-Module -name...
View ArticleI am not sure what i am doing wrong. PS function
<# Script to set a site into the trusted sites zone on a single workstation #> Function Trust-Site {<# .SYNOPSIS Trust-Site adds a registry to the a machine trusting a internet site....
View Articlesimple batch to add logging
Hi all,See my previous post http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/b59e1e03-bdb2-4614-aae0-a168a47d0c1cthe software was pushed out with .bat file through logon script for users...
View Article