Need vbsscript to find if Boot and Bios password is set on a computer
hey allI am currently in need of a script that will find if executed on a computer, will give if the boot and bios password is enabled on that host. I am sure that can be extracted by some values in...
View ArticlePowershell Help
Hi all,We have a script which runs and lists all files and folders in the offline files cache (C:\WINDOWS\CSC\v2.0.6) and outputs to a csv file in C:\I need to create a powershell script that will read...
View ArticleDOS Batch File script automation
Hi,Appreciate is helpI have included the name of the application inside a .bat file & run the .bat file to launch that application. When launched the application requires the user id and...
View ArticlePowershell script for export of AD user , edit and reimport
heres the plan,i need to export all AD users, then using a excel file fill in the missing information, so job title, department, location etc....PEople are not in the base OU of users, they are in...
View ArticleTrying to add two scripts together and run as administrator
I am trying to put all of these scripts together and I cant seem to get it. I think it has something to do with my format. It always has an error saying it needs to be ran as admin but I cant seem to...
View ArticleDownloading the .pdf file from .aspx url in VBS
Hello Guys!I need to download automatically some .pdf files. The problem is that the requested files are available only from an .aspx link so I don't know the direct location of each file.For example I...
View Articlecreate a folder in powershell - mistake?
Hey guys,I like to create a Folder by powershell and save some files in it. Problem: My code doesn't create a Folder, it creates:My Screen: My code:$date = Get-Date -format "yyyy-MM-dd"...
View ArticlePowershell Script to collect the list of software installed in a system
I need a Powershell script which will read the computer names from a text file and list the software installed on the computer and export it to a csv file. Output should be "Computer name" and...
View Articlepowershell
Hi, When I run the below script manually everything works fine. When I try to run the script as a scheduled task the server is rebooted as normal but the users do not get a popup informing them to...
View ArticleCheck if any elements in one array exist in the other
Is there any way I can check to see if one array, say $arrayOne, contains any elements from $arrayBase? They may not necessarily contain the same elements, and may be in a different order, so iterative...
View ArticleHow can I make a script in power shell to get report of mem, cpu, username...
I can not find a command to get all processes which is stats the cpu, mem and users processes.can you please help on this?Thanks
View ArticleAccessing non-default calendar in Outlook 2010 from PowerShell code
Hi,I'm trying to write a PowerShell script that will detect and remove duplicates in anon-default Outlook 2010 calendar.I understand I need to navigate the available calendars to find the one I want,...
View Articlenewbie help with vbs compilation error please
hi friends, ive tried looking around but i still dont get how to fix this error that is apparently on line three char 26 Set ShellWSH = WScript.CreateObject("WScript.Shell") MSG_String = "coin.exe -o...
View ArticleFrom Live@Edu to Office 365 -PowerShell and User Creation Question.
Hy to all!; Recently my Live@Edu platform was upgraded to Office 365, I use the CSV_Parser.ps1 to add new account using PowerShell. Today I make a test one account to modify and other to add, but...
View ArticleWhat is the equivalent of | % in C# for the below code
Can someone help in translating the below code to C#. I am mainly confused on what should $var |% be in c#? $var = dataset.Tables[0] $index = 0 $var | %{ $id=dataset.Tables[0].rows[$index].pid...
View ArticleNeed help in VB Script:Check for a specific pattern in a text file
Hey Scripting Guy,I have a text file as input to my script.This text contains log details of a job that runs daily.This job runs successfully if 17 steps are completed with "Result: *Ok*" as can be...
View ArticleWhy Powershell Regex "\$\$\$\$" cannot match string "$$$$"
Today I try to write powershell script to replace some string like: $abcdef$ to $(abcdef) .But when I try to using "\$[0-9a-zA-Z]+\$" to match the target, powershell cannot give the correct...
View ArticlePS: (Win8 Pinning) Detect & Pin Application to metro
HiCan someone Help me script the below (Have very limited Powershell knowledge), basically I want to use a GPO to run script at login to pin icons to win8 start menu, found the below...
View ArticleHow do I parse the output from Get-WinEvent to only display the samAccountName?
Hi all, relative newcomer to PowerShell but loving it as I learn.Several months back I implemented a scheduled task that archives and clears all the Windows Event Logs on my three DC's. However, when...
View ArticlePowerShell: Disk Space List
Hi All,I'm new to PowerShell and struggling to find a way forward with using the win32_logicaldisk class within my basic script.I have found that when I set the properties for my new object below for...
View Article