output in a file
HI all, i am trying to get output of lastbootuptime for some files. i am trying to get the date in gridview format or in a file.Gridview comes and disappears without waiting and in file i aam getting...
View Articlepowershell could not get-service on a remote server
Hi All,i´m new in the windows world.i'm tried stop/start remote services with powershell and i have some problems.when run this simple command i can't get works. PS C:\Users\pcalcina\scripts>...
View ArticleColour duplicate values in html output
Hello,I am looking to colour duplicate values in an html file. I have written a folder comparison ps script which shows output as below:Name Length VersionName length and version are the column...
View ArticleAutomating settings on a room mailbox
HiI'm trying to create a script that will automate some of the settings for room mailboxes for our organization with a PowerShell script, however, I'm a newbie when it comes to this sort of thing and...
View ArticlePowerShell.org announces 2015 Hero's
PowerShell.org, one of the top communities for PowerShell (besides this one, of course!) has announced their 2015 PowerShell Hero's for 2015 and two community members are on the list!Please...
View ArticleLaunch automatically Windows Update on XP
Hello,I have several XP machines to patch + reboot. So I'd like to be able to script this.I saw that there were apps to do this but I 'd rather do without a third party application .The best for me...
View ArticleBackup using Linux
I am using Linux operating system on my PC and want to backup all my data on to some cloud software. I have surfed the net and got to know about some software's, from which I find CloudBacko Pro is...
View ArticleCan't get a PS script with a funtion to run
Hi,I think I found a very usefull resource here but I'm unable to run it:http://jeffwouters.nl/index.php/2013/09/powershell-function-to-get-ntfs-rights-on-a-folder-for-groups-and-users-recursive/I've...
View ArticleReporting Office 365
Office 365 makes it easy to deploy tons of mailboxes and other objects into the cloud, but because you cede a lot of control to the cloud provider (Microsoft in this case), you might not have great...
View Articleproduce a text file containing only cmdlets parameters & their required or...
hi friendsi noticed a cool trick in powershell. i noticed that when working with PS help system, i can export parameters separatly to a text file.( & not other contents when we run Get-Help...
View Article-bor
I ran across some code that user -bor to combine the font styles. What does -bor do/stand for. I cannot find any information regarding this command. Thanks in advance.
View ArticleRegex help
Hi all Pro,I got a log file showing all the information, how am I take only email and the error out from the log?Example log an expected result:Example...
View ArticleMapping a Windows shared folder
I need to create a script to map a Windows shared folder. My script looks like:$User = "domain\user"$PWord = ConvertTo-SecureString -String "password" -AsPlainText -Force$Credential = New-Object...
View Articleformat output
foreach ($pcin$machine) {Get-ADComputer$pc-Properties*|selectname,LastLogonDate|out-filec:\temp\missing\LL.txt-Append} foreach ($pcin$machine) {(Get-ADComputer$pc-Properties*).LastLogonDate...
View ArticleUninstall WLAN driver remotely
Hello all,I am new here, so first a very friendly hello to you all.I hope you can help me with a little issue. I have to uninstall a wlan driver on a couple of clients, which are scattered in different...
View Article"Hashtable-to-Object conversion"? geeze, not that
Hi Folks,I have been away from regular use of PowerShell for a while, and now that I am back, I seem to have forgotten everything! Reading from a CSV file:$in=import-csv $InFile ForEach ( $address in...
View ArticleForeach logic question
I have a CSV that has the following column headings:UserIDNameGroupNameLogonRestrictions UserID is the sAMAccountName. GroupName is the name of an AD groupLogonRestrictions is a machine name.My current...
View ArticleParsing a log file
I am working on a script and have had some issues with one of my functions. As it stands, I am able to parse my log file and pull out if the user was successfully added or disabled. But, I would like...
View ArticleScript works locally but not from server
Hello, I am working on a powershell script that looks for a certain folder and if it isn't there it installs a program. When I run it on a local machine it works fine. When I put it on the server and...
View ArticleThe 3 most compelling updates in Windows Server 10
But don't forget the next iteration of Windows Server -- Windows Server 10, to be exact.Read More
View Article