GPG / PGP Encryption using Powershell
Hi All, I have setup my system to use the PGP encryption/Decryption to send some confidential files over the internet.. it became dealing with more files everyday. Could some one help me to setup a PGP...
View ArticleSharing Credentials Securely with other users for PoSh scripts
I've definitely come by this before on the internet but I can't for the life of me find what I found before... Don Jones has mentioned in one of his workshop videos the ability to write a tool, give it...
View ArticleUsing TrimEnd to remove text from an array of strings
Hi All,I'm new to PowerShell and this forum. hoping somebody can help me?What I'm trying to do is remove some text from the end of all FQ Servernames in a CSV file. $text=Import-Csv"C:\data\Local...
View ArticleTrimming\Split a column in a CSV file
HI,I have a CSV in the following format:ComputerName,DatabaseName,CreationDateserver_1,master,08/04/2003 09:13:36I need this to output like...
View ArticleTop 10 Active Directory Tasks Solved with PowerShell
Managing Active Directory (AD) with Windows PowerShell is easier than you think -- and I want to prove it to you. Many IT pros think that they must become scripting experts whenever anyone mentions...
View ArticleGet-Process results.
Hi, I'm new to powershell and working myself through the first pages of the course.I have a question concerning the returned result of Get-Process.Get-Process | out-file Process.txtThis list of...
View ArticleCan PowerShell edit SQL trace (.trc) files?
I need to edit .trc files to remove any server name, ip, mac information. I am not looking to convert the trace to another format, as another application needs to read this. Can this be done in PS?...
View ArticleSet-ADUser script help
Hi New to powershell and scripting but have been learning as I go and now have task to perform at work to update AD info for all users. Is working on test box as I'd hoped but want to neaten it up in...
View ArticleMimes
I am so used to Powershell being able to do almost everything. So I am wondering if powershell can read the mime headers. We have files literally over a million where the files are either rtf, pdf or...
View ArticleSearch for AD Object in Different Child Domain forest With ActiveDirectory...
HelloI am Working With ActiveDirectory PowerShell ModuleIn A forest there are few Child DomainsI am in Domain A (My Workstation , My User)when I am Searching (For Example Get-ADuser)i gets results form...
View ArticleHow to use PowerShell to check for SLAT (Second Level Address Translation)...
I don’t know if you know this but if your going to try and use Hyper-V on Windows 8 your processor must support SLAT (Second Level Address Translation). Many of the Intel i7 processors do, but not all...
View ArticleProblems 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 ArticleLogfile check timestamp
I am trying to grab timestamps from a logfile to check if the process writing to the file is active and updating the file.The file looks something like this and a timestamp is being generated in the...
View ArticlePSTs changed the after yesterda
Hello Guys,I'm stuck with a problem... I want to copy the PSTs which lastWriteTime is bigger than yesterday. So the PST in which something changed in the last day.I thought this line of code would get...
View ArticleParsing log file from an appliance
I have exported the logs from an SMTP appliance to csv. Unfortunately, the format does not follow the standard criteria of a csv file. As a result, opening in Excel is useless. Using import-csv is...
View ArticleHow to create a library from a saved template
Salvete! I just joined this forum so I could post here! I have been two days trying to get this to work, and really need some help.First, I created a forms library, customized it, and saved it as a...
View ArticleApprobation problem to add a domain user to local admin group
Hi,See the script and its error message returned below :cls $LoginUser=Read-Host"Entrez le nom de l'utilisateur"$UserLocation=Get-Aduser$LoginUser-Properties* |...
View ArticlePath with variable
HelloCan someone please help me?#Example 1C:\Temp\MyFile.txt#Example 2$MyPath = "C:\Temp"$MyPath+'\MyFile.txt'While example 1 opens MyFile.txt, example 2 with variable just echos...
View ArticleNeed help converting PowerShell 3 script to PowerShell 2
I've just spent a week learning PowerShell and writing my first script. I wrote it in PowerShell 3 and then tried to run it on a machine on our domain, only to realize that all the PC's have...
View Article