Powershell: informations about last Windows graphical copy - powershell

This is my first post in stackoverflow, so hi to everybody!
I have a strange question. I'm searching for a way to get informations about the last Windows copy with PowerShell (version 3.0). For example, I copy (graphical way, not throw Powershell) one file from one destination to another and than I want to get information about this copy with Powershell (I need only the last copy operation). Exist a way to have this information?
Thanks a lot and sorry for my bad english!
Federico

This question fits better on SuperUser as you would need to enable file auditing, have a look here:
https://superuser.com/questions/521945/file-auditing-in-windows

Related

How do I create a powershell script that will give a directory listing of a directory specified by the user?

currently learning how to write scripts for the first time, specifically in powershell. I figured this would be a simple exercise, and I know that get-childitem is a good place to start for this script. Unfortunately, I am having a hard time articulating the things I see online in order to use them myself. Could someone show me how to do this and give me a simple breakdown for it? Thank you tons.

How to set directory-property comments

I'm trying to find a way to set comments with powershell for a directory.
How can I set for a folder comments (like contains contact files)?
Thanks for infos
This is a quite interesting question so i quickly did a bit of research. It is not as trivial as one would hope. In fact at least on W10 its basically impossible to do it via UI but i found a way to do it with Powershell:
First you have to make the Folder a system folder (somehow comments are only shown on system folders on my machine, got to test on yours yourself):
attrib +s <Folderpath>
Not sure if we can do it with a cmdlet (probably but no time to research right now).
Then you have to create a "Desktop.ini" file inside the folder like so:
"[.ShellClassInfo]","Infotip=YOUR COMMENT HERE"|Out-File <Folderpath>\Desktop.ini
and thats basically it :)

"How to Read an SDK" Update for PowerShell?

This is going to sound like a dumb question, but I was wondering where I could find the "Help" file on how to read PowerShell's Help files. To illustrate, when I was first learning VBS, I came across this Sesame Script article on "How to Read an SDK". This was written when VBS was the prominent scripting language for system administration in a Windows environment, so there's no PowerShell examples. I figured there would be a PowerShell equivalent by now, so I've been searching the MSDN/TechNet Library for the past couple weeks and haven't found anything. I've read the Windows PowerShell Owner's Manual, but there was nothing on this specific topic in it nor any resources to which I should go to. So, has anyone found it? Does an update or equivalent even exist within Microsoft's official documentation?
Another reason I ask is because I found a video that helped me accurately read the Help information that comes from the "Get-Help" cmdlet; there's nothing wrong with it, I like the video, but I was wondering where the helpful gentleman, or anybody else, could find the information? It must exist, since he made a video about it, right?
The Windows PowerShell User's Guide has many sub-pages about how to use PowerShell. Use the navigation tree at the left to browse the different topics.
This page in particular talks about how to get help for CmdLets and other topics.
To directly answer the question, the command you can use is this:
Get-Help About_Command_Syntax

Writing a macro

I'm mostly new to programming and so I have come here for some help.
Recently, at work, the program that we have used for years has drastically changed and all of our old file types are no longer supported. This has left us completely out in the cold as to how we can access our old files without using the older software. With that being said, here is my problem with macros that I'm in need of help:
I need to be able to open a file in a specific program, copy all the text in the file, paste the text into a new notepad document and then save the notepad file with file's original name as a simple text document. I need to do this to an entire folder (and eventually folders within a folder but that can wait for now)
If I need to clarify anything let me know. Like I said, I'm new to this stuff and I'd appreciate any tips you guys could give me.
Since you mention Notepad, I'll assume that you are working in Windows. In that case, you're probably best off writing it in PowerScript. I don't have the skills for that, but if you add "Windows" and "PowerScript" to the tags, you may have a better chance of find someone sho does. (You may want to try this question over at SuperUser)

Matlab and MrVista

I'm new to MATLAB and mrVista.
I'm running Matlab Version 7.8.0.347 (R2009a) 32-bit(win32) from February 12, 2009
OS is Windows 7 Professional
I downloaded the most recent MrVista_hourly.zip and extracted it into my C:\Program_Files_(x86)\MATLAB directory.
I think I need to run mrvInstall, but when I do, I get the following:
EDU>> mrvInstall
Checking VISATSOFT installation.
Windows, 32-bit, installation
Checking and possibly installing .NET framework.
This can take several minutes
Checking for visualization library (.dll) files.
You are missing msvcp70.dll.
So, I'm completely lost at this point. Do I just need to download msvcp70.dll from the net? If so, is there a safe place to download it from? If there's some other way I'm supposed to get mrVista to work from MATLAB, instead of mrvInstall, please let me know that.
Thanks in advance for your help.
EDIT: I've downloaded and installed the dll and still isn't working. I'll go ask on Super User. Thanks for trying to help anyway.
EDIT2: before asking on superuser, I tried once more to solve it myself. Turns out, under the File -> Set Path you have to Add_With_Subfolders the specific vistasoft folder. (Even though I'd already added with subfolders the parent directory where vistasoft lives, that wasn't good enough.) So, once I added the path, and made sure I was in the directory where my data lives, I was able to run the initial command from the tutorial:
mrVista inplane
It opens up very nicely now. No compiles or installs or other commands were actually necessary. Methinks I'm going to go edit a wiki now so no one else has this problem.
There's a pretty comprehensive discussion of Visual C++ runtime DLLs here
Whoever built the file that uses msvcp70.dll (and msvcr70.dll) presumably had Visual Studio 2002 and the right to redistribute that file.
You're probably not going to get much help beyond that because I'm a MatLab user and I have no idea what mrVista is. You've provided no link, no explanation, nothing that someone could use to help you.
See this page on MrVista Wiki:
http://white.stanford.edu/newlm/index.php/Troubleshooting#MESH
There is information on this dll and where to get it from.
I guess "serverfault" is VERY badly named if it's the go-to place for things that have zero to do with servers;-). Maybe the complaint shd actually point to superuser.com?
Me, I've researched the top google hits for this DLL, the very top one seems to be on "dll-files.com" which has no bad reports I can see and is rated green/safe by mcafee, so that's where I would risk downloading it from. Weird that I can't find it on a MSFT site, though.