Remote Run CMD file to install applications
I have added the following lines to a powershell script. When I run it I get the following error. Any help would be greatly appreciated. Thanks.Code:psexec.exe -s \\Computername...
View ArticleSearch registry DATA and get output KEY NAME?
Can we write powershell script to enter DEVID DATA and we will get an output of Key Name location?Like searchpath.ps1 06FDWhere VALUE "MatchingDeviceId" = DATA "ven_10de&dev_06fd"and get output:...
View ArticleComparing multiple text files
Hi folks,I have three text files (some output logs, lets name them for example: log1.txt, log2.txt and log3.txt, every row in every file begins with: "\" and ends with: ";". These files have a lot of...
View ArticleTest-Connection and email results
OK, I'm hoping Bob or Martin can help me with this as I've seen a lot of their posts with positive results (Including modification of some of my scripts).I am trying to query AD for every server in the...
View ArticleCRM -> Deployment manager-> Organizations: how to extract value of field...
Hi all,i try to get value of field"Update" in the view Deployment Manager-> Organizations with PowerShell.I use command "Get-CrmOrganization" and become information about organisation(e.g. GUID,...
View ArticleImport multiple PST files to archive database
I need to create some script for import pst users archives to EXCHANGE 2010 sp1 database.Mail archives stored on single file server \\FILE-SERVER\PST\%Username%\An amount and name of files is different...
View ArticleRun Your SQL Server DBCCs and Check Your Errorlog with PowerShell
Frequently when I do a health check at a new client, I find that many, if not all databases, show that a DBCC CheckDB has not been run within the last two weeks. While one may think that SQL Server...
View ArticlePowerShell, help me to publish my SSRS reports to SharePoint!
Every time when I heard the word 'PowerShell' it was just like a call to Terra Incognito, you know nothing about it and the longer you stay away the more interesting it becomes to learn. You think of...
View Article#PSTip Setting VM Bandwidth Management QoS in Hyper-V using PowerShell
The bandwidth utilized by a VM (QoS = Quality of Service ) can be controlled via special parameters of the virtual network card for a given VM. This settings control the amount of bandwidth...
View ArticleNavigate through IE
Hello,I am very new to powershell and have little clue on exactly what I am doing. I am trying to navigate through a webpage but I am having some difficulties. The html code calls a lot of javascript....
View ArticleSystemName Returning Blank.
I have been put in charge of finding the health and space available for the ShadowCopies that we have on our servers. In this script I use gwmi Win32_Volume | Select SystemName to find the name of the...
View ArticleExtract multiple gzip SQL BAK files and then restore them
I'm a complete Powershell newb here so apologies for that upfront. I'm trying to restore multiple SQL bak files and found this script:...
View ArticleAD Principal Group Membership
I have used the cmdlet / script to prompts for a username and generates a text file listing the groups that the AD user belongs to. The cmdlet of Get-AdPrinciplaGroupMembership produces the list with...
View ArticleSuch an easy task - Why can't I figure it out? Launching an EXE on a remote...
Hi All,First post, new member and very much a beginner at PowerShell.I want my PowerShell script (v3) to launch an EXE on a remote machine under specific user credentials. This application launches a...
View ArticleAccept Message Restriction - Exchange 2007
Dear experts, Good day! I would like to achieve the followings using PowerShell. Your step-by-step guidance is very much appreciated. 1. To find out the list of mailbox and...
View ArticlePowerShell Summit North America 2013
In April 2013 I was one of the lucky attendees at the first PowerShell Summit in North America. The event was organized by the PowerShell.org team and was held in Redmond, WA between the 22nd and 25th...
View ArticleConveniently invoking PowerShell scripts from Scense
Scense has supported embedded scripting since forever but it has not adopted PowerShell just yet. For those of you who would like to get a little more control over your PowerShell scripts this new...
View ArticleTwo tricks to automate the export of live VMs in Windows Server
A little-known Hyper-V export feature and Jeff Hicks' free PowerShell script can make an admin's work a lot easierRead More
View ArticleExport selected column from a CSV to a text based on a value in the CSV
Hi all, thanks in advance for your assistance.I am working on a powershell script that will disable servers that have not been logged onto in 180 days and do not respond to pings. Right now I am at a...
View ArticleAD Script
I am in need of a powershell script that will read users home directory path in AD and then input that same path into the otherpager attribute, but change the formatting from a UNC path to a CIFS path....
View Article