Quantcast
Channel: Windows PowerShell forum
Browsing all 21975 articles
Browse latest View live

Content library deployment tool vCenter

Afternoon allI'm building a Powershell script that will enable me to deploy VM's from my vCenter content library after filling in a brief form. This form pulls through some information from the vCenter...

View Article


Try, Catch, If, Invoke-Command and error handling

I'm still learning Powershell so please take it easy on me. Here is what I am trying to do, find a process called wview.exe on multiple remote computers, if wview.exe exist stop it + log it + increase...

View Article


Replacing first Character of every word in a string with an Uppercase

Hi,Is it possible to replace all first character of every word in a string with UpperCase?$="autocad lite"Should look "Autocad Lite" .Thanks,François

View Article

rename of acitve directory user account and now user cannot access skype

i have a user  Crystal Morin in Active directory who recently had a name changesince the name change user no longer has access to skyeiN the extended attribute of the user there is no msRTCSIP  nor is...

View Article

Powershell - Import-CSV filter concatenated column

I concatenated 3 columns of CSV file, and need to filter based on those values in those 3 columns. I managed to concatenate these 3 columns but no idea how to filter results based on it, below returns...

View Article


Remove rows from a csv file based on the values from the text file

Hi All,I have a .csv file called input.csv with the following columns.Columns:#TYPE...

View Article

How to create CheckBox programatically by select ComboBox Item?

Anyone can give me idea, please... I would like to bring files to GroupBox GUI as a CheckBox format. Because the files inside of some folder, I create ComboBox to make user easy to choose which folder...

View Article

ExpiryDate for groupMember

Hi I try to display my groupmember's expiry date when i try this i've got no result Get-ADuser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False -and PasswordLastSet -gt 0 } –Properties...

View Article


how to find the .msi file executed last and it's exit code using powershell

how to find the .msi file executed last and it's exit code using powershellHi ,I searched the forum and couldn't find what I was looking for. Please assist.

View Article


variable for multiple users pointing at...

Good evening Powershell Experts, I'm migrating users from outlook 2010 to Office 365 and I've been tasked to ensure their Autocomplete file will be copied across while migratingThe issue I have is with...

View Article

Cannot convert the "System.Object[]" value of type "System.Object[]" to type...

Hello!I am in the process of learning PowerShell.  I am not a professional programmer, and I've had no real training in PowerShell.  I will finally be receiving training after the new year, but in the...

View Article

using send-mailmessage to have resulted attachment html file placed in the...

Hi. Thanks for the time. I guess the title is a bit confusing. What I am trying to is 1) export a list to an htm file and then 2) email that htm into the body of the email.  Can this be done using...

View Article

Powershell function: Unzip all files in a folder

I have a folder "Zipped" which contains 100s of .zip filesI want to unzip all zip-files in this folder to "\\zipped\Unzipped" folder. It seems expand-archive cmdlet only support one file at a time. So...

View Article


notepad $PSHOME access denied as administrator

I would like to edit the $PSHOME profile but I am denied access even as the administrator. I am the sole user of my consumer grade laptop and I am running PowerShell 6 with administrator permissions. I...

View Article

Image may be NSFW.
Clik here to view.

Do 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 Article


New-PSSession connection to compliance centre - Access is Denied

Hi, I am attempting to connect to the Security & Compliance centre remotely. Last week this was working a lot of the time (optimistically >50% of the time), however, as of Monday (24th...

View Article

Configuring the AD FS Identifier so that it matches the AD FS token issuer

I'm in a complete brain fart and I feel as though my eyes are going to pop out of my head troubleshooting ADFS. I am trying to set ADFS Identifier so that it matches the token issuer. If I do...

View Article


Delete Outlook meeting room calendar subject for everyone except administrators

I am currently using the following command to hide calendar item subject for all meetings in MeetingRoom1. However, I would like to set this to false for 2 administrators so they can still see meeting...

View Article

Output from powershell not ordered as expected

Hi there,I have a powershell which will list all the SQL clusters in a domain with their corresponding nodes etc but it doesn’t output that info in the structured way I was expecting of cluster name...

View Article

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 Article
Browsing all 21975 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>