-
Three features I'd like to see in the script area: 1. A way of sorting by user (i.e. by the user that submitted a script. Useful mainly to find all the scripts I've submitted! 2. A way of combining script filters - i.e I'd like to see scritps by user and within user by date submitted, etc...
-
I'd like to encourage script submitters to use the autohelp feature of PowerShell CTP3 when creating scripts. I've posted a full example at http://pshscripts.blogspot.com/2008/12/get-autohelpps1.html (and will shortly post this same script up here at PowerShell.Com). I intend to post the scripts...
-
By Doug Finke PowerShell Script Club – Starts in April. by Doug Finke on March 4, 2009. The first meeting of the PowerShell Script Club will be on April 6th, 2009. Script Clubs are great. Like a hands on lab with no set topic or teacher. ... Read More
-
Hello all, I hope somebody will give me a help with this. I need to make a Powershell script that receives 2 XML files (source and destination) as parameter and based on what is on one file, it updates the second one. I don’t know what can be on the “source” XML, so the script needs...
-
Hi, Im new to powershell, I have writtien the following script which seems to run OK except it doesn't pull the information back. Any help would be greatly received. clear-host $date1 = (Get-date).adddays(-1) $computers = "C:\scripts\Powershell\pac\computers2003.txt" $SmtpServer = ""...
-
I am using the start-job cmdlet in a function in order to run some additional code using alternate credentials. This technique was recommended by the book "Automating Microsoft SharePoint 2010 Administration with Windwos Powershell 2.0; page 543 and associated discussion. This work is being performed...
Posted to
General
(Forum)
by
EDSlayer
on
06-27-2012
Filed under: Cmdlet, Functions, Window 7, powershell 2.0, script, error, Start-Job Background
-
Please can anyone help with my problem? I want to (quick and dirty) grab a list of active computers and retrieve their DNS server config. I have this: #Set date to compare $CompareDate = Get-Date $NumberDays=1 # Get the computers $Comp = GET-QADCOMPUTER -SizeLimit 0 -IncludedProperties LastLogonTimeStamp...
-
I have written the following script but each fix I do breaks 2 other things. For instance I am loading variable data to an .xlsx and it errored that the object was not a string. So I added .ToString method and it now says my passed variable ($computer) loaded using the Get-Content cmdlet is null! Prior...
Posted to
Ask Don and Jeff
(Forum)
by
Oseis
on
08-21-2012
Filed under: PS Remoting, WMI, Remote PowerShell, Powershell, string formatting, script, $env:, Excel, powershell excel
-
Team, Have an intresting script i am trying to develop and need guidance. I am trying to automate distribution group membership using custom attributes. Currently i am able to add users to a group based on a custom attribute i set example below: #Get-QADUser -Enabled -SearchAttributes @{extensionattribute5...
-
Hello, I am a powershell scripts beginner... I want to check what browsers are used by my users. I made this script below which is correctly running. I just want to check too chrome.exe, safari.exe and opera.exe but I don't know how to proceed... I'm sure that it exists a simple solution. Maybe...