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

WindowsKeyBindi​ng for PowerShell

 WindowsKeyBinding for PowerShell ModuleYou can select text, copy, cut and paste on powershell.exe with windows-like key bindings.   rel="nofollow"Read More  

View Article


Prepare-MoveRequest error

I am running the command below from the management shell “as administrator”:Import-Csv “c:\test\users.txt” | “.\Prepare-MoveRequest.ps1″ -RemoteForestDomainController “OldForest.local”...

View Article


Cut specific string from excel cell and paste to the next column

Hi,I have an Excel spreadsheet with about 17000 lines.In certains cells of col B, there is a string starting with "(If ISCunable to resolve, " then the rest of the string may differ.I need to cut the...

View Article

Copy directory structure with access permissions

This seems like a fun one.  I have a user share that has a folder for each one of my users that only they have access to. When I run Get-Childitem -Path \\Server1\users -directory, I get a list of all...

View Article

-filter and where

Hi All,I am very new to powershell and it is just days I started learning it. I have some idea on batch scripting. I am confused when should I use -filter command and where(or where-object) commands....

View Article


Review: PowerShell Plus is a free IDE for PowerShell users

PowerShell Plus is an IDE (Interactive Development Environment) for PowerShell, which is Microsoft's high-end scripting/batch processing language. As such, it is focused on the needs of the network...

View Article

Pre-Post script

I need to create a script that stops the lotus notes service before a back up is created  I know the script to stop the transfer , I  need to add a command to stop a service ? Any ideas ? Script is...

View Article

Problems with Powertips of the day

Hello,some month ago I have registered my emailaddress for the daily powertip. It worked fine until end of May. Now when I try to register my address again, nothing happens.Then I tried to use the...

View Article


SVN and Powershell -HELP

Hi,I need to integrate with SVN from Powershell and get latest check in logs. Please send me know any resources in Web to get started.Thanks.

View Article


Return the recent file among other by subdirectory

Hello,Some users synchronize their data with synctoy (computer <-> server). I just want to scan folders to find their synctoy files (synctoyxxxxx.dat) and compare its LastWrite Time to compare to...

View Article

Running PS script from SSIS script task VS running script from PS Command...

Hi,We are trying to run a Poweshell Script that uses the OnTap PS Modules, from SSIS, when we do, an error is issued:Error: The term 'Connect-NaController' is not recognized as the name of a cmdlet,...

View Article

Windows Azure SQL Database Management with PowerShell

With the release of Windows Azure PowerShell cmdlets in November 2012, several PowerShell cmdlets were added for Windows Azure SQL Database. With the added cmdlets, you can provision a database server,...

View Article

Compare folders recursively, Remove dupes.. Log everything!

Hi All!I've been working on this script on and off, and I'm stuck!I have two folders: Dev and QAReady. Each of these folders has 3 txt files in the root, along with 7 sub folders that cant be deleted....

View Article


Problem displaying expirty date of SSL certificate and the work around I used.

Hello AllI came across the following today, so thought I would make a brief post. I created a script to check expiry dates of SSL certificates (nice an easy with PowerShell thanks the the cert:...

View Article

Issue with the shell.application com object and IE9

I have an issue with the shell.application com object and IE9.This code: set-variable win (New-Object -comObject shell.Application) -Scope Globalset-variable handle ((Select-Window -Title...

View Article


Adding user input/output forms to scripts

Hello,At the moment I am using basic techniques like read-host and out-gridview for basic user input and output. I now want to start learning how to take this to the next level, and looking to the...

View Article

Password Reminder

Hello, i am trying to get this Password Reminder script to work but i cant figure out how to get it to calculate remaining days until the password expiry´s here is the script i am using. #...

View Article


Beginner Scripter - HashTable Issue

Hello All,Hello All,I am looking for extra parameters, that can list all distribution groups and their email address ... along with their respective members and their individual primary email address....

View Article

creating a log file during copy-item

Hey Folks, can anybody tell me how to generate a logfile during an copy-item job? THX

View Article

Input window in power shell is not appearing when script run without opending...

I am asking path from user and getting powershell INPUT window is  prompt when script is open in shell editorbut when I save this script as *.ps1 and right click->run with power shell then it is not...

View Article
Browsing all 8411 articles
Browse latest View live