Get-WinEvents Powershell bypass admin rights
Hi Scripting Guys,I have wrote some code which takes the details regarding boot times from the event logs and outputs them into a table in htm.BUT - I'm having trouble with my powershell sript, it runs...
View Articleweb request with authentication
I am trying to get/parse data from a website. The website requires autherntication (username,password).When my script runs, it returns the authentication page. This implied that its not authenticating....
View ArticlePowershell upload a file via new-webserviceproxy
Hi,I am trying to upload a file via web services, so there is a method called .CreateAttachment, but you first have to attach the file to the connection. they are talking about DIME, and show examples...
View ArticleFind Duplicate Members in more than two Active Directory Groups
hi,I am trying to find out duplicate members in more than two active directory groups. I am new to powershell and only found one script that gives me only duplicate members in two groups. If any one...
View ArticlePowerShell remove printers
Hi everybody,I need to remove/delete several printers from our print server. Thought it would be cool to use PowerShell instead of doing the job manually. Anyway, I created a csv file with the printer...
View ArticleNeed a Script for delete user description field in AD?
Need a Script for delete user description field in AD? In my company AD has more then 1500 user and I want to delete all user description in one shot through script...Please help I am new in windows...
View ArticleNeed a script to update AD information from Excel file, however employee ID...
Please help me to get this done!....Thanks in Advance*************************************************************************This is current script I use to update AD record but its taking user id to...
View ArticleHow to export out the date into the csv file?
Hi, I had been trying to export out the value of the date to csv file.This is the script:$strADPath = 'LDAP://dc=test,dc=com' function ConvertLargeIntegerToDate([object]$LargeInteger){ try { $int64 =...
View ArticleRobocopy - want it to only copy new and updated files...
I am using robocopy to do a backup from the local disk on my Windows 7 Home Premium 64bit machine to an external WesternDigital ShareSpace device.My .bat file looks as follows:robocopy...
View Articledisconnect mapped drives for all logged in users?
I have a backup application that needs to mount disks from our storage in order to back them up. It has a problem doing so when the drive specified is already in use by a logged in user to the server...
View ArticleXCopy - Force (F)ile or (D)irectory by default
The title sums up my question.Thanks for the help folks! --OSXniCKels
View ArticleDiscover OS language and architecture of Windows 7 using command prompt
The problem: in a bat file a need make different think based on language an os architecture of windows 7 (are different setup program to be running).Something like this:IF OSLanguage = 1033 AND...
View ArticleLoading modules when using enter-pssession
HelloI see some thing that appears unusual to me.Server1 is running PowerShell v2 Client1 is running PowerShell v2If I am logged directly to Server1 and do$Host $PSVersionTable I get the result I would...
View ArticleVB Script - Changing contents of 2nd dropdown based on 1st dropdown selection
I am writing some vb for an hta script. The code I have for the one dropdown is below. I basically need to have 2 dropdowns. The first needs to show 5 different businesses. The 2nd dropdown's contents...
View ArticleCould not create object named "Scripting.FileSystemObject" Code 8002801D...
Hello,Having an issue during a symantec sepm 12. 1 install. I am getting a scripting error right at the end of the install. Not sure if I am posting in the right section but I apologize if I am not. I...
View ArticleVBScript to add users form Global group into Universal Group
HI, I am looking for help in creating a script to read all of the members of all of the global groups within a universal group and add the members to the universal group directly. I would then need to...
View ArticleScripts runs but will not add data to 2nd line or 3 rd lines in excel
Hello:I have a script that I have put together/ borrowed. The script runs and gathers the information via wmi. When it writes to the excel sheet it id's the next active cell but will not write data to...
View ArticleScheduling a task using VBScript at specific mentioned time.
Hello,I have a script which needs to be updated/debugged to start my task at the specific date and time (Currently, this script executes if the scheduling is done for that day, i wanted to delay the...
View ArticleDon't Display "for" Output
Hi everyone,i have a problem that i can't solve... this is my script:param([string]$PktFile = $( Read-Host "InputPkt" ) #[string]$MailFile = $( Read-Host "InputMail" ) ) $pos=$PktFile.IndexOf(".")...
View ArticleInstalled Applications
Installed softwareI’ve been able to write a code to list all member servers in a domain OU. Once I have the list I am trying to a check for connectivity but some server are behind a firewall or in a...
View Article