add folder name to filename
I have an amended version of Get-LoggedOnUser.ps1 to get details fo users lconnected to a farm of several terminal servers - I have the output in a folder name as the yyyymmddhhmm and called...
View ArticleHow to get all applications listed in add/remove programs or programs and...
Hello,I have been looking for a way to get the list of all applications in add/remove programs or programs and features. The problem is that the Get-WmiObject -class Win32_Product just returns some of...
View ArticleExport to CSV file from script
I am trying to run the following script which is a PS1 file and I need to direct the output to a CSV file -Get-ADUser-SearchBase"OU=Name,OU=Name,OU=Name,DC=DOMAIN,DC=com"-Filter*|foreach-object...
View ArticleHelp with "" Two double quotes - understanding
I have tried to find any explanation of the "" in a script http://vblog.strutt.org.uk/2011/07/lun-ids-of-esx-datastores/The snippet of code is foreach ($UUID in $UUIDs) { $Lun = $ScsiLuns | ?...
View ArticlePerformance monitor
Hello therebusy day today(got a lot of ideas)I want to collect performance data from a couple of serverssounds easy so I started by:$servers="server1","server2","server3"$counters =...
View ArticleI'm Into That: Automation Tasks in PowerShell
It's easy to get confused when testing whether something is "in" something else or "contains" something else. Prof. PowerShell is here to clear some of the confusion.Read More
View ArticleHow Current Path Affects Cmdlets
Why and how would the current path affect how cmdlets work? What exactly is the current path?Read More
View ArticleQuestion about Powershell and iSCSI
I am looking for a way to run a powershell command on a datacenter/list of servers.txt that we are getting ready to refresh. We have found that some of there virtuals have iscsi connections. So I need...
View ArticleRemove Dsc config?
I've just had my first ever go at trying out Desired State Configuration. All I did was set the Windows Update service to be running. I also tried to set the ConfigurationModeFrequencyMins to a low...
View ArticleWanting to compare 2 separate .csv files and ouput the differences to another...
I have two .csv lists, single column. I want to read them both, compare them, and exportthe ones that do not have a match to another ,csv file. Obviously one list has more data/records than the...
View ArticleDBA with PowerShell = What task?
Goal: Understand better how a DBA use PowerShell in his/here daily work. Problem: I really don't understand what specific assignment does a DBA use PowerShell in order to complete task or assignment...
View ArticleWhat PowerShell can be used For Business Intelligence
Goal: Understand better how and why PowerShell can be used in business intelligence. Problem: I really don't understand what specific assignment what PowerShell can be used in order to complete task or...
View ArticleSuggestion of Assignment
I'm newbie and started learning about PowerShell. Gonna need some assignment to improve my skills in PowerShell. Do you have one or many suggestion of assignment that I can do? By doing assigment it...
View ArticleGetting Access Denied message from Server
I am trying to execute the powershell script to get the contact details from Active directory from a remote machine that is outside the domain.From the XP machine [Client-Workgroup machine] with...
View ArticlePowerShell for the Forgetful: The Tab Key
I use the Tab key quite a bit within the PowerShell command window, particularly with the "Get" cmdlet. I was using it the other day and someone looking over my shoulder wondered what the heck I was...
View ArticleInclude server name in Get-WmiObject win32_service script output
I've put together a script which checks for services that are using the administrator account. Within the script I am having to output the server name for each server I am scanning so I can see which...
View ArticleGenerating Random Numbers in a Range Using PowerShell
Most you of you should be familiar with the Get-Random cmdlet in PowerShell, but if not, Get-Random is a one-line cmdlet that will automatically generate random numbers. Run by itself, it will generate...
View ArticleChanging the DHCP Credentials Used for DNS Entry Updates
Q: How can I change the Windows account and password that my DHCP server uses to perform updates (i.e., registering and deregistering client records) against a DNS server?Read More
View ArticleSolving problems and taking names: Automated scripting keeps you ahead
The benefits of IT automation are often overlooked or misunderstood, which leads many IT professionals to categorize it as someone else's problem. Administrators perform far too many redundant...
View ArticleTo receive email alert when each new PC join to Domain
I need a script for receive email notification if there is a PC joined into Domain Please help.THanks
View Article