How to import msg files into Outlook with Powershell
Hello,I want to import contact msg files on the file system into Outllok. Before I want to delete all contacts in this contact folder.Can you show me how please.Frank
View Articleiis forms authentication feature delegation
I'm trying to use powershell to set feature delegation for Forms authentication, Window authentication and anonymous authentication. i've got the Windows and Anonymous figured out , but can't seem to...
View ArticleWord Mail Merge using Powershell
Hi all,I'm working on a script that automates account creation and notification for our students. I've completed a significant chunk of the script and have it successfully creating AD accounts and...
View ArticleScript to determinate OS
hello everyone!Let me explain my scenario:I want to create a batch file that detects my OS and if it is W7 install a file but it is XP gives me a warning message and not install nothing.I hope explain...
View ArticleRun a Powershell Script from and AutoCAD shell
I'm new to Powershell and i'm trying to run a powershell script from a batch file. The batch file is created with LISP in AutoCAD and invoked using the AutoCAD SHELL command. It's really...
View ArticlePowershell - Test-Path if a file exists within a folder
Hey Guys, I'm unable to get this to work correctly. I'm trying to see which folders have a file within them with the word "preview". If it does, then tell me it exists, if not, then it doesn't exist....
View ArticleHow can i get starting offset(from disk start) of logical drives via WMI?
It looks like this is possible only with native api and not new Storage Management API that must be able to do this.
View ArticleDownload email content / text from Exchange EWS with Powershell.
I'm attempting to save email body / text from Exchange using Powershell. Would prefer to save as HTML, but to save as a txt file or .eml or .msg is ok too.I've adapted a script I used to do the same...
View ArticlePowerhsell progress bar during an operation
Hi,Id like to try and use the progress bar features from New-ObjectSystem.Windows.Forms.ProgressBarbut I can't find any examples on how to use this during an operation. I have a command which I use to...
View ArticleDSC configuration file execution error
Hello,I read Ed Wilson's post intro-to-powershell-4-0-desired-state-configuration and set up a simple configuration script like so:#Requires -version 4.0 Configuration NG_BackendDSC {param...
View ArticlePowerShell Error - A variable that cannot be referenced in restricted...
Whenever i run my script on my window 8.1 using PowerShell (Run with Administrator), it will prompt me the error as below when it run till certain script.A variable that cannot be referenced in...
View ArticleSkydrive Pro upload/download script (Office 365)
Hi, is there any way to programatically download/upload files to someones Skydrive Pro disk (as O365 admin)? I found this article, but it is for Skydrive. I cannot find any cmdlets or something...
View ArticleOffice 365 access from Power Shell
I am trying to connect office 365 using Windows Power Shell but every time i am getting "Access is denied " Exception , Same code was working 5 months since than I have not change code but i figure out...
View ArticleNeed help in creating a vb script
Hi, I'm having a requirement that, files are generating to a shared drive but we are unable to access the files in the folder. So I'm thinking that while generating the PDF only I want to give the...
View ArticleProgress bar for mailbox moves
Hi,I am in the process of moving mailboxes to O365 in batches via a powershell script.To monitor the moves I use this script:-While ($moveRequests = Get-MoveRequest) { Start-Sleep 300 $a=get-date...
View ArticlePowershell and Outlook 2007, trying to delete messages in a folder older than...
I was hoping to get a powershell script that would do the following1) Connect to outlook 20072) Go to Mailbox folder (not an inbox subfolder) called 'Processes'3) Delete all email from that folder...
View ArticleSplit string with one or more white spaces
Hello,I need split a string by one or more white spaces. For example: "John Nov11 BostonSmith Dec12 NewYorkLinda Oct10 LondonFran Jan20 Paris"I need get all the name, date, city....
View ArticleAutomating ftp download with powershell
I need to setup a scheduled task that is going to download files from an ftp location (or just run it manually)I have the following for a ps1$File = "c:\store\somefilename.zip" $ftp =...
View Articlevbscript copy file to network share
Dear Exprt,its create folder by computername from computer where its run but file not coping not foundOption Explicit Dim fso, f, objPC, CPY Set fso = CreateObject("Scripting.FileSystemObject") Set...
View ArticleExtracting specific data from a string with regex using Powershell
Im returning some data like this in powershell:1)Open;#12)Open;#1;#Close;#2;#pending;#63)Closed;#5But i want an output like this:1)1 Open2)1 Open2 Close6 pending3)5 ClosedAny help would be appreciated...
View Article