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

Search recursively for Duplicate Keys

Hello Experts,Below script successfully derives the results found or not-found to out-file(s), but if the csv file contains more than one key it does not out-file the values to third file as duplicates...

View Article


Any free vmware backup solutions?

As per the title really, i need some way of backing up VMware virtual machines without having to shut down the VMs Ideally free, but if not as cheap as possible! Any suggestions or thoughts

View Article


Using PS with a web frontend

Hi together,I'm searching for a possiblity to help our sub-admins to administer a DHCP system without Microsoft Management Console (MMC). To give them a possiblity to connect from over all seems for me...

View Article

any simple webfrontend way to call powershell ?

I'm seriously looking for a simple HTML page (preferring as it is easy to handle) to call powershell and to start working on handing over a series of tasks to helpdesk. Looking at hosting the HTML page...

View Article

Sending mail with hostname spoof | telnet HELO / EHLO

Hi Guys, I am able to send mail via telnet but can't do it using PS. The problem i can't solve is EHLO command.I am using special hostname to be able to send alert mail via telnet. How can i spoof...

View Article


Get all content databases and set the warning & maximum number of sites

Hello SharePoint PowerShell experts.  I need help with a script, and I will admit, I'm really NOT good at arrays.We have multiple (25 content DBs to be exact) for one web app that have the out of the...

View Article

No Clue what I'm doing

I was given the script below and told to change the file name and that's it.  The guy that sent it is on vacation and I need to figure out how to run it.   I copied everything it shows within PS.PS...

View Article

encrypt user/password from windows on shared folder on unix

Dear Gurus     I have windows server 2008 r2 and I want to use the command net use command to access Unix shared folder.I have used the command:net use N: \\IP\SHAREDFOLDER /user:username -password...

View Article


NetTCPIP Module Server 2008 r2

Soory for my bad english (french)-------I have install the .net Framework 4.5.1 and the .net Managment Framework 4 on a Server 2008 r2. The add of the mnagment framework make that the version of...

View Article


Image may be NSFW.
Clik here to view.

Sending mail with Powershell

Hi!I am a novice with PowerShell.I intend to see if it is possible to use PowerShell for my desires.One of my wishes is to send mail, with a PowerShell script, from an another application.(I have used...

View Article

Add domain user to local Administrators group of other

Not sure what the parameter problem is:  $ComputerName = 'testServer'$LocalGroupName = 'administrators'$domain = 'dom'$user = 'tUser'$Credential = Get-Credential vsi\diversoInvoke-Command -ComputerName...

View Article

delete older than script, expanded to hit multiple folders local and remote

So I have a batch file that collects data on a dozen DC's locally.I have another batch that runs on one box that goes out via robocopy and pulls all that into a directory - in this one, we'll store all...

View Article

Comment Based Help?

I am not sure what I am missing, but the help doesn't show up on this function that I created.  Any ideas on what I am missing?Function Get-LocalAdmins{    [CmdletBinding()]    param(    [Parameter()]...

View Article


use array contents to form varialbe

I am writing a change vmware ip script.  The command fails if you pass two variables and one is null(so i used arrays to count) and will pass the exact config for each server for dns ans wins.  when i...

View Article

Getting "You cannot call a method on a null-valued expression." error during...

 [Net.ServicePointManager]::ServerCertificateValidationCallback={$true} $Dir = "C:\temp" foreach($item in (dir $dir)) {     write-output "————————————–"     $fileName = $item.FullName     write-output...

View Article


Change CGI to ISAP

I have recently been on a basic powershell course and my first task now back to work is to turn the following into a powershell script and it has totally baffled me? Any help would be appreciated as i...

View Article

Change CGI to ISAP via a powershell script?? is it even possible?? im lost!

I have recently been on a basic powershell course and my first task now back to work is to turn the following into a powershell script and it has totally baffled me? Any help would be appreciated as i...

View Article


Adding a Certificate to a Store Using PowerShell

Usually the method for adding a certificate to a certificate store in Windows means that you perform one of a couple of actions, such as right-clicking on the certificate file and importing the...

View Article

import-csv - mailboxdatabase

Hi folks,New to the forum and powershell.I need to import a csv file which contains a list of our users and then use a cmdlet to find out their active mailbox database (get-mailboxdatabase) and then...

View Article

query HKCU registry information remotely

I am trying to retrive remotly the HKCU\Software\Meeting Value =S MeetingI did use the below script but it's working only for HKLM :#===========================================$SearchValue = "WAX"...

View Article
Browsing all 6937 articles
Browse latest View live