Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 8583 articles
Browse latest View live

executing an msi install and changing default install directory

I'm trying to execute an msi and have it installed to a different directory. The install executes but is still installing to default path so its not installing to D:\ any ideas how to fix? msiexec.exe...

View Article


Stealthy, tricky 'Poweliks' malware hides in your system registry - but not...

A new malware program called Poweliks attempts to evade detection and analysis by running entirely from the system registry without creating files on disk, security researchers warn.Read More

View Article


Deep Panda has Changed its Preferred Targets

Softpedia.com reported during first week of July 2014 stating that security researchers of CrowdStrike have observed a change in preferred targets of cyber-espionage group of Deep Panda which the...

View Article

Onedrive items override

I want to try and see if I'm able to upload more than 20 000 items to the Onedrive storage, as the maximum is 20 000 items. I want to upload 20 001 and see what happens. how do I create a loop with an...

View Article

Delete IIS logs

I'm trying to delete IIS logs that are older than 30 days from the current date.  The following just deletes the 30th file from the current date. Just the one file.Where did I go wrong: cls$PSRanFrom =...

View Article


select-string question

I have this string   OurCompanyDomainName\UserName   UserName can be any user in our company so i want to select everything to the Right of '\'  and everything I've tried so far fails. How would I...

View Article

Image may be NSFW.
Clik here to view.

IE not visible from scheduled PS script

Hi all,I'm trying to create a PS logon script that will listen to a serial port, pass on the data to its original application, parse the data, and use the result to open an internal server and display...

View Article

replica ladies datejust rolex lily740 2 charrues kverneland 3 versoirs free...

2 CHARRUES KVERNELAND three VERSOIRS!2 bonnes charrues Kverneland Hydreen à three versoirs de 14 pouces, attachements 3 points, en bonne condition. Prix: $700.00 chacune. Visite sur rendez-vous...

View Article


findinf path to the executable of installed application

Hi All, I would like to ask for your opinion in indicating path to the executable related to the installed application. Namely I am trying to run openssl.exe in order to generate SSL entity certificate...

View Article


Add custom Properties to an array while in ForEach-Loop

Hi Guys,I´m trying to add a new column to an array an fill it with variables in a ForEach Loop.I tried the following:----------------------------------------------------$CSV = Import-Csv -Path...

View Article

Implement Easiest Solution to Restore Windows XP BKF Files In Windows 2007 Os!

Before sometimes, I was encountering Windows BKF file corruption problem because my all XP created (.bkf) file has been damaged and dissolved due to unexpected virus attack. After corrupt BKF file, I...

View Article

Is there a way to check if a variable that you have matches something inside...

Hi All,I have a general question about powershell. I basically am looking to see of I had variable equal to something, is there a way that I could search an array and see if a value within an array has...

View Article

searching log files with select-string issue

When you run a select-string against a txt file searching for certain words then export to html, how do you remove the headers that...

View Article


Which machine or user AD accounts have received a particular group policy

I have created a new user group policy that that pushes a new wallpaper to machines if the user logs onto an XP machine only. Is there a way to get a list of all the accounts that the policy is being...

View Article

Could not load file or assembly 'PresentationCore'

I've written a PowerShell script that copies an Excel range to the clipboard and exports it as an image. When I come to run it in Windows 7 with .net 4.5 it's fine, but it doesn't work in Server 2008...

View Article


Switches work for Command line, but not Powershell

I have a Flash Player install that is an .exe file.  If I put install_flash_player_13_active_x.exe -installat the command line, it installs it completely silently.  However$result = Start-Process -Wait...

View Article

New-Object -com InternetExplorer.Application

Unable to click link using  windows 8.1 and IE 11.  IE blank screen after a time and script hangs , I have to delete IE using regedit and resign in to get IE11 running again,not able to try and a...

View Article


GetADUser - change column names in output file

I'm close....My script below outputs the information correctly, however, I need the columns in the output file to be different.  IE - UserID for sAMAccountName, Email for EmailAddress,etc.  Also, I...

View Article

Retrieve words from text file.

Below is an example of text lines from a log file.  How can I capture the domain\userid after the word (User) & the computer name after the word (Machine).Thank you in advance!...

View Article

New-QADUser : Cannot Resolve directory object for the given identity - on the...

I'm trying to add users but the child.domain.com directory is not resolving. I cannot make it find the ou=,ou=,dc=,dc=,dc=On the domain it finds ou=,ou=,dc=,dc=  just fine.I don't know what I need to...

View Article
Browsing all 8583 articles
Browse latest View live