How to use Powershell script to get OU info for current logged in user
Hello folks,I am fresh new to Powershell but I know it is feasible to use powershell to get OU info from active directory for the current logged in user, I wonder who can explain to me how to do...
View ArticleHex changes after piping to findstr ???
Re: cat CPO0008.VDI | findstr HDRE > HDRfileHex format of input file: 48 44 52 45 31 38 31 34Hex format of output file: FF FE 48 00 44 00 52 00 45 00 31 00 38 00 31 00 34...
View ArticleGet-PrintJob returning an error
Greetings Everyone, I am writing a Powershell script that takes a printer name and printer IP address and uses a WQL query to return a list of workstations that the printer is installed on. The script...
View ArticleHow to recover from copying directory tree from (now deleted domain) user to...
On my windows 10 notebook computer I had two accounts: my personal local account and a domain account.After I moved the files from my domain account %USERPROFILE% to my personal account %USERPROFILE%,...
View ArticleNeed help isolating script parameters from other running scripts.
My script uses the param, works great.Param( [Parameter(Mandatory=$True)] [string]$servername)The script takes 20 mins or so to complete. When I spawn a new powershell instance to call the same...
View ArticleReuse WPF window in PS
Hi! I am new to WPF and PS. I have a main window that has a button. When the button is clicked, it will open another wpf window called w2. If I close w2 and try to click the button again, I get an...
View ArticleProblem running script with right click open with powershell
I have created a script. It runs fine with no errors IN powershell ise and when I open it IN powershell ( See link 1) http://tinypic.com/r/wl8y0l/9 But when I right click and run with powershell this...
View ArticleNeed Powershell Script to get shared folder and NTFS permission from list of...
Hi Friends, I need powershell script to dump all the shared folder and thier permission from serverlist.txt. the below code just giving me the shares but not the permissions.$strComputer = gc...
View ArticleWindows Context Menu Item { Rename file with Random Hash } PIPELINE...
Powershell %{Rename-Item "%1" "$(-join ((1..12) | %{(65..90) + (97..122) | Get-Random} | %{[char]$_}) + $_.extension)"} So, in Powershell, If you would create a directory somewhere, E.G....
View ArticleUninstalling Software using PowerShell
Right, this is what I have.. I understand why its not working but cant think of way round it or easier way to get to the point I want to be at..I have script where I can check disk space and install on...
View Articleduring daily task via task scheduler
how to replicate folders from central location to multiple servers around 500 servers and folder needs to replicate delta changes also if any incremental folder added or delta changes only those...
View ArticleCount object based by properties
HI All, I'm trying to count objects based by properties. Example, I would like to know how many users have attribute Country set with Italy, how many with France etc... not knowing which value is set...
View ArticleFunction doesn't work like wished
Hello guys Im working on a Powershell script which should gives me all files from the wished source file which are older than 2 days. Here's my script. function GenerateForm {...
View ArticleActivating windows via powershell
Hi, I am trying to activate windows via powershell and have found this...
View ArticleVerify the tampstamp option was used on a signed script
We've run into the issue of the code signing certificate expiring and scripts stop functioning. I see that the way around this is to use the -timestampserver option but I haven’t been able to verify...
View ArticleRemoving driver with powershell
Hi,I am trying to uninstall a I4600 driver. On the first time, Windows 8.1 did not install the driver. So I install the software driver and everything installed fine.So I uninstall the software driver...
View ArticleMove-ADObject user account from child to parent domain
Hello Everyone,I have a need to move a user from a child domain to the parent domain. While running the below cmdlet I am getting back an error stating "Server is unwilling to process the...
View ArticleMigrated documents Internal Links are broken
We are migrating documents from files server to overdrive physical folder for each user. We have notices so many documents containing internal link references become as broke link.First of all I want...
View Articleopen files in the cloud
I know this is a PowerShell forum but I figured the technical expertise would be found here. I need to do the following. Machine abc does not have Office installed locally. A user who is logged into...
View ArticlePowerShell doesn't output error - yet nothing is happening.
I have a script that I crafted up to get a list of account that need disabled, then piped the users and move them to a different OU. It doesn't appear to actually be working. It gets all the way down...
View Article