Using system to run scheduled jobs - PowerShell
Hello everyone, I have a question related to this thread:http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9142d89d-2958-47a9-9dec-03abf0536a12The question is does anyone know...
View ArticleBulk Modify Phone Numbers Using CSV File
hi,I am also getting same below error. The term 'Set-ADUser$_.distinguishedName' is not recognized as the name of a cmdlet, function, script file, or ope program. Check the spelling of the name, or if...
View Articlelimiting cmdlets for specific userID or AD groups on PSWA session?
Hello all,I am about to setup a PSWA for the support staff to 1) simplify initial discovery and 2) provide limited custom functions to automate 80% typical troubleshooting for VDI environment via...
View Articlechange config path in sql job with powershell
sql job->properties->General->Configurations->Configuration files-> change path here with powershell , how to do that If I will open job as script and ALTER this job then it says job...
View ArticleYou cannot call a method on a null-valued expression error? (powershell)
I have a null-valued expression error on this code that involves microsofts dsf com objects but to my knowledge usually this means i have a null variable somewhere: You cannot call a method on a...
View ArticlePowershell Registry-ObjectEvent not working with...
Hi,I'm currently trying to register an ObjectEvent and am having no luck at all !I'm trying to play a Mp3 file with 'system.windows.media.mediaplayer' and when the Mp3 file ends, a "Test" is echoed...
View Articleis it possible to find out each user profile and the last modified date from...
hi,is there any way to find out each user profile and the last modified date from ntuser.dat using powershell script?the expected output should be something like:Profile1 Last...
View ArticleNeed help with vbscript script to export active members of a domain local AD...
Hi All,I have a requirement to export only active (no disabled users) members of domain local group to csv file. I am trying below vbscript, but facing some issues. Need your assistance to resolve the...
View ArticleHow to run any cmdlet on Windows Server 2012 not under Administrator account?
Dear friends,When I run the following script or similar on w2k12:Get-PSSessionConfigurationI'm getting an error: Get-PSSessionConfiguration : Access is denied. To run this cmdlet, start Windows...
View ArticleComputer Sharing Script Advice
Hi I am having a issue with kids arguing who's turn it is on the computer and I thought I could use a script to take care of that, but I can never find the time to get it together. So I tried a program...
View ArticlePowershell: Add-PSSnapin not working
My main problem:PS C:\U> ADD-PSSnapin Microsoft.sharepoint.powershell ADD-PSSnapin : No snap-ins have been registered for Windows PowerShell version 3. At line:1 char:1+ ADD-PSSnapin...
View ArticleVbscript is working on XP but gets access deneid on Windows 7/8 (Solved)
Hello,I am a complete noobie in scripting but i need to make a basic script who check if two folder does exist and then copy the file if needed.If i remove on Error resume next, windows 7 or Windows 8...
View ArticlePowershell for Unix Attributes - add NIS members to group
Hey Scripting Guys,I have the abliity to mass add Unix/Linux users or groups to Active Directory, but am having trouble coming up with a way to add users to the groups. One issue with this is that the...
View ArticleStrange issue executing remote comand.
Hi,I am having a very strange issue performing remote commands in some computers, from a vbs script.The remote machine has a vbs script in C:\Scripts called generatefile.vbs. That script makes some...
View ArticleWMIC in Batch File
Can anyone tell me what is wrong with this script? I have used this exact script with other WMIC commands and it works fine. The WMIC commands also work fine outside of the script.FOR /F "tokens=*"...
View ArticlePowershell script to import several WMI fields into excel sheet
Hello all,This is a great forum, especially for a beginner like myself. In Powershell I was wondering if someone can help figure out the best way to pump the output of several get-wmi commands into a...
View ArticleNeed information out of a group
Need help with a script.I can export the names of the users in a group but I am trying to get more information about the user. I have the following script that will export the users to a CSV file....
View ArticleOut put file information isn't complete
For some reason my out file is only showing me the information gathered from the last loop and I need it to show all of the information gathered during all of the loops. The below script is what I'm...
View ArticleDOS Batch file help. Finding folders with multiple files
Can someone help creating a batch file? I need to find all occurrences of file "X.txt" where file "Y.txt" is found in the same folder as "X.txt". So we will have "me.txt" in loads of folders, but some...
View ArticleLast pieces of the puzzle converting diskpart script to PowerShell storage...
The Basic Windows Deployment Step-by-Step Guide provides a script for recommended UEFI/GPT drive partitions as follows:rem These commands are used with DiskPart to rem erase the drive and create five...
View Article