Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Wilson44

    Issue creating registry key on remote computer

    Where are you creating the key on a remote computer? Is this wrapped in an Invoke-Command script block or something? Looking at the code you posted, it would attempt to write the registry key to the local computer, which may very well be the cause of your access denied errors. My apologies if...
  2. Wilson44

    List Latest File in all Sub Folders of a Share

    Something like this might get you heading in the right direction at least: $myDirectory = "C:\Temp" $myFiles = Get-ChildItem $myDirectory -Recurse -File $myFiles | Group-Object Directory | foreach { $_.Group | sort LastWriteTime | select -Last 1 Directory,Name,LastWriteTime }

Part and Inventory Search

Back
Top