Question marks and forwardslashes in Outlook folder names and how to use with...
Let's say I want to get/set permissions of a folder called "Done?" under Inbox.Get-MailboxFolderPermission "user:\Inbox\Done?"returns:The operation couldn't be performed because 'user:\Inbox\Done?'...
View ArticleMerge two .xls files into one .xls file
So I'm trying to merge two .xls files into one .xlsx file. The excel files have all the same common column titles but they have different titles names such as "Change Impacted By CCT-GOT" and "Changes...
View ArticleHow can I make duplicate records into one record and modify those records
Change request Change Title Technology Portfolio Driver Planned Start Date Planned End Date Phase Change Type Opened By Task Description Task Number Assigned To Assignment Group Technology Portfolio...
View ArticleDo you want to be acknowledged as Microsoft Windows PowerShell Guru? Submit...
What is TechNet Guru Competition? Each month the TechNet Wiki council organizes a contest of the best articles posted that month. This is your chance to be announced as MICROSOFT TECHNOLOGY GURU OF THE...
View ArticleUnmount all iso file disks
Hi,I have the snippet of code below which unmounts all disks, the reason for doing this is that before i mount an iso file, since I have no way of telling the path of the iso file on an existing drive,...
View ArticleGet List of Files Where Total Size is Greater Than Value
I am trying to keep a folder's total size below a specified size limit. If it is greater than a certain size then delete the oldest files until the folder is below the limit once again.As of now, my...
View ArticleReplacing containing folder with contents
How would I replace a containing folder with its contents, such that its contents are moved into the directory of the containing folder and the containing folder is deleted automatically after they are...
View ArticleIssue: Unable to grant certificate private key access to NETWORK SERVICE....
Hi,How do I solve this problem? I've followed those instructions:https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-nps-extension-rdg
View ArticleAdding Local Group memberships through Powershell Script failing
Hi,I have powershell script to add Domain User to Local Group on a remote computer. Script fails with unfamiliar error for Windows 2016 servers. Same script works for win 2008 and win 2012 servers.I am...
View ArticleHow to grab rows that have column values that are within the first 14 days...
Hi guys, do you know how to grab rows that are within the first 14 days starting from the earliest date (which is Sept 13th to Sept 27th, but I want my script to be programmed so from the earliest date...
View Articlewhat will developers need if we are planning to plumb software together via...
Hi. We think the best way to plumb our new job scheduling software to sql is thru powershell. Its a long story but ps seems less risky than the "sql awareness" that comes bundled with our scheduling...
View ArticleFailed to update Help for the module(s)...
I am trying to update the help files for PowerShell, and I am running into the following error:C:\WINDOWS\system32> Update-Help Update-Help : Failed to update Help for the module(s)...
View ArticleRemove extra information from Powershell Scripts
Hi All.I have some Ps script which runs Ps commands remotely on other systems using WinRM.For some reason the output of the code keeps coming with the following extras, is there a way for me to remove...
View ArticleStart-Job hangs Powershell on Windows Server 2016
I'm not sure where one reports bugs and a phone call to support the folks on the other end suggested I send a letter. I figured this was better.Occasionally when running Start-Job the operation hangs....
View ArticlePassing rows from CSV into foreach loop
Hello-I have been struggling to figure out a solution to this question; but I'm sure for you guys, this will be easy.Let's say I have a CSV file that looks like this: Names Expressions...
View ArticleExchange PS with MFA and Active Directory
Hey guys! Hoping this makes sense...How can I integrate PS Exchange MFA with AD?When I log into Exchange PS with MFA, I can do everything within exchange. But when I start a new session for AD and...
View ArticleCode not giving the desired output when running from remote server and...
I am trying to execute a set of code using "Invoke-Command with computer name and path". It is executing the file but not getting the correct result. When I am executing the same code locally on the...
View ArticlePull request's comments list are not coming by using Azure DevOps rest api...
I am using Azure DevOps rest api for getting all the comments of the every pull request. I have go through Microsoft documentation. I followed same. But when i see my json response, it does not show...
View Article