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

Disable AD Account Cleanup script.

I found an automated script on our Exchange server that has been timing out lately. It seems it was running fine until a few weeks ago. It looks like a modified version of this great script,...

View Article


Using Powershell Remotely

I have a novice question about using PowerShell remotely...I am trying to do basic remote tasks from my machine using powershell but - it seems I have to enable powershell on the machine I want to...

View Article


Duplicate mac addresses with different ip addresses on separate DHCP servers

I'm trying to merge split scopes on two dhcp servers into one. The following powershell gives me sort of what I wantPowershell#Get all the scopes in the Primary Server# Modify $PrimaryDHCPServer to the...

View Article

writting output to screen and file

Hey everyone i'm back! So today I am working on writing a script to terminate a user, I have the whole thing together except one little detail, outputting results to the screen and a file. I have tried...

View Article

Powershell to run batch file on multiple remote PCs

I run this one works:Textinvoke-command -computername PC123 -scriptblock {start-process c:\folder1\Wsus.bat} I want to run this on multiple PCs --100 or more but it cannot recognize $compText$comp =...

View Article


Creating PowerShell Strings

Having trouble with PowerShell. I need to add have the variable $propNum be added to the following string. -User "domainname/ou1/ou2/$propNum_Admin" so the result is -User...

View Article

Move Column in Text file

Hello,A newbie needs help.I have a text file with 10 columns of text delimited by pipe delimitersfor...

View Article

Renaming CSV with its own Row values Powershell

Hi All,I am fortunate enough to be part of Spiceworks community, I am stuck with the below situation kindly help me out by improving my powershell code:The situation is , I have a path lets say...

View Article


Schedule Exchange 2010 mailbox moves

HiI have the below script to move mailboxes from one database to other. I need to schedule the move out of hours but the script fails to run when run as a scheduled task. When I call the script within...

View Article


Designing Simple GUI for a Powershell Script

Hello Everyone,I am glad that I got this opportunity to be a part of this supreme community and I truly realize the Wisdom of knowledge out here. With the help of many superiors out here I finally...

View Article

Rollback List Of Recently Patched Servers Powershell

Hi All,I am trying to design a Powershell Script that could actually rollback all the patches installed in the patching schedule.Let me make it more clear I have a CSV that contains list of servers and...

View Article

Powershell Script Assistance: Add Logging-In User to Local Administrators Group

I need assistance on this script.The purpose of this script is to automatically grant local administrator rights to a user logging into the system. The creator (Halcoberry) explains that the script...

View Article

Exchange 2010 ScriptingAgentConfig.xml - enable-mailbox - cmdlet extension agent

Hi guys, calling in some spice heads help on this.I'm pulling my hair out trying to get Exchange cmdlet extension agent to work with Enable-Mailbox.I've found some useful commands that can be run after...

View Article


Use PowerShell to move computers in Domain from one container to another

Are there any basic command line to move Computer from one container to another?And maybe use a text file to place the list?Thanks

View Article

Robocopy to network location powershell script error prompt

I am new to powershell scripting, and I have a working script that backs up a select folder to a network location, and creates an error log on a separate internal resource. Now I am trying to create an...

View Article


Powershell - Validate Hyper-V replication

Having a little problem with a script I would like to use to check the health of hyper-v replication between 2 hosts. I would like the script to notify by e-mail if the health status of any VM is not...

View Article

PowerShell Issue

Let me start by saying I am a PS newbie! I can find my way around batch files with relative ease, been doing that since the days of DOS. I've looked and looked for answers and just cant find anything...

View Article


First Powershell Script

I just wrote my first script to delete old files from a storage server. I used an example I saw online and made adjustments to make it work in our environment. I have scheduled it using Martin's How-To...

View Article

Disk Space Monitoring – Predict When Full (Powershell/VBScript/C#.NET/WPF)

Hello Everyone,I am once again on my feet and seeking for a help from all you tech Supremes,This time I need help in designing a tool or a script that is capable of Disk Space Monitoring and predicting...

View Article

Creating Windows Basic Task using powershell

Hello Everyone,Please help me out in the below situation:I have to create a basic windows task using powershellto run a script on aspecific date and time.Let memake it even clear :I have...

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>