Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

COM Surrogate Process dllhost.exe locks COM DLL - How to Unlock?

Hello,I have a worker EXE i am running on Windows Server 2012 R2 that uses a COM DLL, and am having troubles with the COM DLL being in use after closing our process.We update our code from time to...

View Article


Not sure how to explain

What I'm trying to do is a wmi query for the serial number that only returns the serial number. Using wmic it would look like this;Batchfilewmic bios get serialnumberIt would return this;TextAJRYTS1In...

View Article


Script for harddisk space status in network

Hi,I looking for script to pull all servers harddisk space details and send automation mail.kindly any one can help me on this.Thanks & RegardsK.Shiva shanker

View Article

need help with powershell

I need help....:) You are all very helpful. It is help me get better and better with PSI need to copy live logs (the logs are constantly updated minutely, the log is text file actually)It is ok to copy...

View Article

Powershell script to view inactive computer accounts

Does anyone know of or have a powershell script to view inactive computer accounts or computer accounts that have not connected to the domain in over 60 days.

View Article


Filter out system/service accounts from a list of aduser accounts.

I have a script to get a list of inactive user accounts older than 30 days. It returns all accounts including system accounts that are used for SQL, backups, etc. I want to filter these out of my list...

View Article

Filtering some text

Hey everyone i'm new to powershell and have a question that i'm sure has been answered before but I can't seem to find the right combination of search terms to get what I need.I'm doing something verry...

View Article

Remote PowerShell

Need to run a .exe on a remote machine from a server.  I've got the PSSession started, but have NO idea where to go from here.  Any assistance would be greatly appreciated!

View Article


Help with adding local users via powershell

Hey all, trying to add some local users from powershell so I can take advantage of secure strings.Here's what I've got so far, I'm hoping that someone can assist...

View Article


Powershell Reset Password Tool

I have a couple of issues with a reset password script I am working on.Firstly, I am using a function to verify a users log in after using Get-Credential (Attached as .txt file).  The message boxes...

View Article

Cannot Convert System.Object[] to Type System.String[]

I had been usingthis scripti wrote for some time to deal with terminated employees. After upgrading my powershell to version 4. I get the error:TextSet-MailboxAutoReplyConfiguration : Cannot convert...

View Article

What was your PowerShell project this week? 10/17/2014

Half way through October!  Have your Halloween costume ready?  Anyone going as PowerShell Bunny?!So what cool PowerShell things have you done this week?  What script to conquer your world (or just make...

View Article

Windows Powershell Export-CSV column/row value as filename

I'm having a problem with Powershell. I need to Export csv files that contains list of details as names as shown below :Thanks in advance:) Export-csv "filesnames.csv"Filename =...

View Article


Powershell script to report on group membership changes and email reports

Powershell#------------------------------------------------------------------------------# Declare Function to identify if Quest AD snapins are loaded already & load if...

View Article

Calnedar Sharing with multiple users in exchange server 2010

Hi,My managers want all the other departments managers be able to see each other calendars availability.I've used these sample cmdlets in powershell:Add-MailboxFolderPermission username:\calendar -user...

View Article


Powershell script User lockout notification

Hello All,I have been working on a user lockout notification email for about a week. I got one version of the script to work. That version sends an email with any account lockout. Now the helpdesk is...

View Article

Record names in script

So I've written a PS script that pulls name,Ip,SN,etc..,puts the info in a file, and names the file after the PC. The script runs locally on the PC and once it reboots the machine we are done. Meaning...

View Article


Copy contents of Old.CSV to a NewExisting.CSV using powershell

Hi All,Kindly help me in resolving a small powershell code on How to copy contents of an old csv to an existing csv.Basically i have an old.csv the contents has to be copied to an existing new csv...

View Article

Wmiobject filtering network adapters with IP Adresses

Hi everybody.I'm creating a short script to gather the ip configuration of some computers inside a specific OU.I'm missing something as I want to gather those datas with the Get-Wmiobject filter...

View Article

Inactive Users Powershell Script

Hi all;I wrote the following Powershell script which generates a list of inactive users and then sends the report to an email address. The script runs fine manually. however; when I scheduled it via...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>