Windows PowerShell announcement
-
Link
Find a PowerShell user group here: http://powershellgroup.org/
-
Link
Quite often, some users will be provided with a solution, yet won't mark the thread as answered. The moderators of this forum will try to review almost every thread/answer, and may prematurely mark a thread as answered, when it isn't. In cases like those, the original poster can feel free to unmark the thread as answered.
Found 32275 threads
-
0 Votes
ran Get-WindowsUpdateLog cmdlet for multiple machines remotely and get the logs into common location
Get-WindowsUpdateLog Converting C:\Windows\logs\WindowsUpdate into C:\Users\Admin\Desktop\WindowsUpdate.log ...Unanswered | 6 Replies | 1491 Views | Created by NattyKanan1 - Saturday, July 25, 2020 3:17 PM | Last reply by Vector BCO - Sunday, July 26, 2020 12:40 PM -
1 Votes
Modifying who can add/remove GPO links on an OU, using powershell
Hello there, I'm trying to figure out a way to allow a security group to be able to add/remove GPO links on a OU, using powershell. It's easy using the ...Proposed | 12 Replies | 2064 Views | Created by Jesper Vindum - Thursday, July 23, 2020 6:30 AM | Last reply by Jesper Vindum - Saturday, July 25, 2020 10:10 AM -
1 Votes
SelectedIndexChange on ComboBox not working
Hi, I've created a GUI for my PowerShell script using WPF in Visual Studio. I'm trying to capture when a user chooses an item from a combobox and then connect to ...Answered | 3 Replies | 1217 Views | Created by hetfield84 - Friday, July 24, 2020 4:14 PM | Last reply by jrv - Saturday, July 25, 2020 3:33 AM -
1 Votes
Unable to Enter the value of a variable in web.config
I am unable to update the value of $t which either holds enable or disable string. $temp = Read-Host "Do you want to enable or disable IsNotificationService ...Answered | 2 Replies | 1069 Views | Created by ACDBA - Friday, July 24, 2020 6:56 PM | Last reply by Rich Matheisen [Ex-MVP (retired)] - Saturday, July 25, 2020 2:41 AM -
3 Votes
Why does get-eventlog -after take so long to complete?
If I use get-eventlog, and specify the -after parameter it will retrun the relevant events almost immediately, but then "hangs" for a minute or more before it returns control to the console ...Answered | 11 Replies | 24571 Views | Created by mjolinor - Monday, January 4, 2010 10:19 PM | Last reply by RobotScience - Friday, July 24, 2020 6:07 PM -
2 Votes
Deployment package using Powershell to run in multiple servers
Hi . I am using a command line prompt, to install my application on multiple server, after logging into each server. what the existing script does is ...Answered | 33 Replies | 2622 Views | Created by Venkatzeus - Friday, July 10, 2020 3:26 PM | Last reply by Vector BCO - Friday, July 24, 2020 6:03 PM -
0 Votes
How to set audit in Folders and SubFolders
Hi everyone, I tryed to find something about it on Google, but I couldn't. How can I set audit permissions for folders, subfolders and files by ...Unanswered | 9 Replies | 1527 Views | Created by Windows Man - Thursday, July 23, 2020 1:29 PM | Last reply by Vector BCO - Friday, July 24, 2020 3:39 PM -
0 Votes
User Ids status not coming in output file
HI I need one help on below powerhsell script fo output. I am not getting samaccountname in output file and if user already disabled, that status also not ...Unanswered | 2 Replies | 858 Views | Created by Mr. Raj - Thursday, July 23, 2020 8:36 PM | Last reply by Mr. Raj - Friday, July 24, 2020 10:14 AM -
1 Votes
How to release / unlock file from process
New-SCSMManagementPackBundle -ManagementPack "myFile.mp" -Resource "my.dll" -Name "myFile.mpb" -Force New-SCSMManagementPackBundle : the process can't access file ...Unanswered | 11 Replies | 4630 Views | Created by Zero3000 - Friday, July 17, 2020 10:40 AM | Last reply by jrv - Friday, July 24, 2020 12:06 AM -
0 Votes
Powershell Test-Path if Exist Exit Script
Hi I require some assistance please. I am using a script which i found online, to redirect the Downloads folder to OneDrive. I want to be able ...Unanswered | 2 Replies | 2345 Views | Created by Guji - Thursday, July 23, 2020 11:36 AM | Last reply by jrv - Thursday, July 23, 2020 7:31 PM -
2 Votes
how to represent a number (string or INT) as HH:MM:SS
I am parsing a log file and on each line it gives me milliseconds from when the job/log was started as each event occurs. Kind of like below 230 Started doing a ...Answered | 2 Replies | 920 Views | Created by Robert Little - Thursday, July 23, 2020 2:32 PM | Last reply by Robert Little - Thursday, July 23, 2020 6:20 PM -
1 Votes
convert comma separated value to number
Hi I'm trying to send data trough a webcall API and have to send a specific value as number. $groupmembers = Get-ADGroupMember ...Unanswered | 5 Replies | 1020 Views | Created by 267522ilogic - Wednesday, July 15, 2020 11:46 AM | Last reply by Yang Young - Thursday, July 23, 2020 5:52 AM -
0 Votes
Script made to check service status on remote servers and start service if stopped is not working as expected. please assist.
> $OutputPath if ($Check_Service1.status -eq "Running") { Write-Output $Server : Started BES Client service Successfully" } ...Answered | 3 Replies | 1077 Views | Created by Vishal Tarwani - Monday, July 13, 2020 11:56 AM | Last reply by Yang Young - Thursday, July 23, 2020 5:39 AM -
1 Votes
create a sufolder inside a directory if it doesnt exist
hi, am having a create a subfolder inside a directory, if doesnt exist. its called LOGS folder. And if it exists , i need to create .log files for each and every actions that's ...Answered | 13 Replies | 1120 Views | Created by DADasRF - Monday, July 13, 2020 9:08 AM | Last reply by Yang Young - Thursday, July 23, 2020 5:37 AM -
0 Votes
Date Format Refuses To Change To DD-MM-YYYY
Hi, i have a script that we use to inform users that their AD password is due to expire in xx days. The date format is refusing to change from US to UK, I would like DD-MM-YYYY but ...Answered | 4 Replies | 3516 Views | Created by rob3770 - Friday, July 10, 2020 11:17 AM | Last reply by Yang Young - Thursday, July 23, 2020 5:35 AM -
0 Votes
EXIF Data from JPG File
Hello, I have created a PS script that reads the GPS Latitude and Longitude from a JPG file. In some cases, the GPS coordinates do not ...Answered | 4 Replies | 1672 Views | Created by The Sting Pilot - Thursday, July 9, 2020 12:18 PM | Last reply by Yang Young - Thursday, July 23, 2020 5:34 AM -
0 Votes
Need help on a power shell script
.\RemediationScript.ps1 Transcript started, output file is C:\Users\vtarwani\Desktop\Remediation\Remediationlog.csv servername.abc.def.efg : Connected Invoke-Command : A ...Answered | 11 Replies | 1541 Views | Created by Vishal Tarwani - Thursday, July 9, 2020 10:30 AM | Last reply by Yang Young - Thursday, July 23, 2020 5:33 AM -
1 Votes
Search AD accounts with special characters
Hi Is there a way to search AD accounts with special characters? I created an AD account name%@domain and the following command does not find ...Proposed | 3 Replies | 1051 Views | Created by pcdoctoday - Wednesday, July 22, 2020 9:24 PM | Last reply by Ian Xue - Thursday, July 23, 2020 4:32 AM -
1 Votes
Powershell - Azure User Last Login
Does the Powershell AzureAD module have a way to get the last login for Azure users? I didn't see an equiv to the LastLoginTimeStamp ...Unanswered | 1 Replies | 793 Views | Created by 10890lrl - Wednesday, July 22, 2020 4:53 PM | Last reply by Yang Young - Thursday, July 23, 2020 2:09 AM -
1 Votes
is there any script for finding out the inactive AD user for more then 45 days and sending an email to respective users manager
Hello All, I am looking for script for finding out the inactive AD user for more then 45 days and sending an email to respective users ...Proposed | 2 Replies | 802 Views | Created by Sai Siva Kumar - Wednesday, July 22, 2020 12:24 PM | Last reply by Yang Young - Thursday, July 23, 2020 1:58 AM
Windows PowerShell announcement
-
Link
Find a PowerShell user group here: http://powershellgroup.org/
-
Link
Quite often, some users will be provided with a solution, yet won't mark the thread as answered. The moderators of this forum will try to review almost every thread/answer, and may prematurely mark a thread as answered, when it isn't. In cases like those, the original poster can feel free to unmark the thread as answered.