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

Migrating a lot of vm's and need a quick powershell script to keep track of...

Excuse the easy question but I could use a hand putting this together.  This command gets me the percent complete of the vm migrationsget-task -status running | where name -Like "Relocatevm*" | ft...

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


DNS Server Permissions - Set using Powershell

I am trying to set permissions on DNS servers using powershell. So this refers to the 'security' tab ACL. How can I edit the ACL of a specific DNS server remotely?

View Article

Powershell NLB Cmdlets Missing

Hi. I'm studing for certification exams and i'm labing many Windows Servers Features. I have created two VMs on my computer with Windows Server 2016 Datacenter Core, IIS and NLB Features installed....

View Article

Trying to change trigger time for multiple task schedules

Below is the script am trying to use and i have also included the error am receiving.Someone please help me out.Just to let you know , Below is how the tasknames look on which am trying to make...

View Article


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

I am having an issue when running a swtich option in my script.I am trying to take group the batchID results and then combine the unique names and join themIf ($CSV) { $MBX = Get-CSVFile $MigUsers =...

View Article

Does powershell disturb the remote computer

This is a more a curious question. When executing a command against a remote computer does powershell disturb the remote computer in any way?make the remote computer slowerthe user on the remote...

View Article

Using ADSI - Need To Convert objectGUID To Match Get-ADUser Format (With...

Hello,I was previously generating a list of users for a browser based application, via theGet-ADUser cmdlet and using the objectGUID property.$Today = (Get-Date) $domain ="fabrikam.com:636" $data +=...

View Article


Use invoke-command to query a dpm server

I had errors when trying to query my dpm server, using "invoke-command". But I can interrogate other servers, with the same method.I think it's related to some of the specifics of DPM. Your helpers,...

View Article


Bind SSL with 443 and https to web site IIS 10

Hi team,I`m not able to attache SSL cert to my web site via powershell command , can please anyone suggest how to. the way I tried is the following: # Import IIS Management PowerShell Module...

View Article

Trying to fetch logon success and logon failure event of Domain Controller...

Actually in my script, i am trying to fetch logon success and logon failure events of domain users who are authenticated by that domain controller from the event viewer. For this ,i am using event ID...

View Article

How to add all ou users to newly created group ? Through powershell

Ram

View Article

How do i add all my Organization Unit members to one newly created group..? I...

Ram

View Article


Script which uses info from properties of get-hotfix, serveral other commands...

Hello Everyone, I have an assignment to write a script which collects information about the current patches installed on systems, are there any pending reboots and when the systems were last...

View Article

How do I choose a section for pulling a -Property value?

Hey all, I'm learning PowerShell and came across an obstacle I can't seem to overcome. I'm working on a script to determine the remaining lifetime on a workstation's DHCP lease. Here's my...

View Article


AD Migration with Local Profiles.

Im trying to build a script that allow me to get User1@targetdomain.com into User1@sourcedomain.com local profile folders, How can i accomplish that?Note. Computer is already migrated, I just need that...

View Article

run powershell script in azure automation

I have a local powershell script on my computer and want to automate it to run once a month. Can you please provide the steps or a good resource?thank you in advance. 

View Article


how to remove\untick the Write gPLink permission from each OU

Hi AllDo you have a powershell command\script to untick the Write gPLink for user or groupi have more than 300 OUs to remove the group, person so i need a script to do it without wasting my timeThank...

View Article

Purge does not support the SharePoint or OneDrive workload.

I have a Content search, with two email accounts and all the email accounts specifically removing three emails. I keep getting this error message, even though I have not selected SharePoint.Purge does...

View Article

Trying to delete a new-compliancesearchaction (email not deleting)

new-compliancesearchaction -searchname "chris" -purge -purgetype softdeleteConfirm Are you sure you want to perform this action?This operation will make message items meeting the criteria of the...

View Article
Browsing all 21975 articles
Browse latest View live


Latest Images

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