Powershell Print FolderCreation Date Not working

[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
$dir = "D:\Script_Out"
$creation_time = $dir | Select CreationTime
"$creation_time" | Out-File 'D:\creationtime.txt'
I tried executing the above.... The file has been created but the file has @{CreationTime=} .... Could anyone explain what's wrong with the code.....

It looks like the function (Select
CreationTime) you are trying is not working at all, I tried to display the value using write-host but it did not succedeed.
Try as follows.
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
$dir = "C:\Script_Out"
$creation_time = Get-Item C:\Script_Out | Foreach {$_.LastWriteTime}
write-host "the new value is $creation_time"
"$creation_time" | Add-Content 'c:\task\creationtime.txt'
You need to replace C: with D:
Thanks
Manish
Please click Mark as Answer if my post solved your problem and click
Vote as Helpful if this post was useful.

Similar Messages

  • Finger Print Scanner is not working after downloading new operating system 8.1

    hi,
    recently i have installed new OS windows 8.1 for my HP PAVILION DV6 laptop, but my bluetooth and finger print scanner is not working. can any one suggest me solve my problem..
    txs
    best regards
      karim

    Hi @sam1211 ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP Pavilion dv6 Notebook and Bluetooth and HP Simplepass complications since doing a Windows upgrade. Here is a link to the HP Support Assistant. Just download and run the application. Just to make sure all drivers and software are updated as well.
    Here is a document on troubleshooting and using Bluetooth if needed. Under the tips for finding a Bluetooth device, there is a section on making sure the wireless communication is turned on. This is an important section. 
    Here is another document with some great information about Bluetooth fixes.
    Here is a link to troubleshoot the HP Simplepass software.
    The HP SimplePass Identity Protection Software must be updated to v8.00.57 or later. Here is a link to download the latest. You will have to uninstall the old software.
    Hope this helps you with the Bluetooth and HP Simplepass.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • GUI JAVA 7.20 rev.2 (on Mac OSX 10.6.3): Print preview does not work!

    I've just started using rev 2 of java sapgui and print preview is not working anymore.
    Client: OSX 10.6.3
    SAP: ERP5.0 on WAS 640
    Has anyone experienced the same problem?

    This is the output in console when print-previewing:
    I'm going to open a support message as adviced.
    <code>
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]     Exception in thread "Loader for htmlViewer8_XZ_7" java.lang.NullPointerException
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at com.sap.plaf.frog.FrogListUI.updateColors(FrogListUI.java:63)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at com.sap.plaf.frog.FrogListUI.propertyChange(FrogListUI.java:48)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:318)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at java.awt.Component.firePropertyChange(Component.java:8233)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at javax.swing.JComponent.firePropertyChange(JComponent.java:4428)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at javax.swing.JComponent.setEnabled(JComponent.java:2638)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.annotation.ActionsPanel.setEnabled(ActionsPanel.java:418)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.annotation.ActionsPanel.<init>(ActionsPanel.java:106)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.annotation.AnnotationPanel.setGUI(AnnotationPanel.java:128)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.annotation.AnnotationPanel.<init>(AnnotationPanel.java:73)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.SwingViewBuilder.buildAnnotationPanel(SwingViewBuilder.java:1574)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.SwingViewBuilder.buildUtilityTabbedPane(SwingViewBuilder.java:1541)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.SwingViewBuilder.buildUtilityAndDocumentSplitPane(SwingViewBuilder.java:1501)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.SwingViewBuilder.buildContents(SwingViewBuilder.java:499)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at org.icepdf.ri.common.SwingViewBuilder.buildViewerPanel(SwingViewBuilder.java:482)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.pilots.pdf.ThePilot.createComponent(ThePilot.java:149)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.storm.Viewport.setPilot(VCDO)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.storm.StormBase.append(VCDO)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.storm.StormBase.do_clear_content(VCDO)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.storm.StormBase.do_render_content(VCDO)
    04/05/10 10.45.41     [0x0-0x3e63e6].com.sap.platin[6491]          at ice.storm.Viewport.runAsynchronousLoad(VCDO)
    </code>
    Edited by: Lorenzo Nicora on May 4, 2010 10:52 AM

  • Print Spooler does not work after Win 8.1 install

    I upgraded several computers to Win 8.1.  Most are operating normally and do not have this problem.  This is relevant to show that it is not a printer hardware or compatibility problem.  On one computer, the print function is not working. 
    I've tried reinstalling printers, getting new drivers, etc.  It comes down to this.  An active (connected) printer is selected and print test page is selected.  The dialog box says that the print queue is full.  I went to the queue subdirectory
    and deleted all files, no change to the results.  The Print spooler is active in task manager.  Stopping and restarting the print spooler makes no difference.  Any ideas?

    I had similar problems with HP Printers on the LAN (after upgrade from Windows 8 tot 8.1 
    32bit)
    HP Laserjet 4000  Laserjet 4050 and Laserjet 4250 - all with Network interface.
    Erratic behaviour: inserting blank pages, no duplex printing, programs stalling when printing etc…
    Printers and network are fully functional and work perfectly with W7 and XP. Not with Windows 8.1.
    Strange thing: Epson Aculaser and Ricoh Aficio 3224  worked fine but those were installed after the Windows update.
    So definitely something with the Microsoft drivers for the HP Laserjet printers.
    After a few installs and uninstalls of the HP printer drivers the problems stayed.
    Then I removed all HP related driver files (C:\\Windows\\system32\\spool\\PRINTERS")
    and all references in the Register because the standard uninstall of the drivers did not remove all files.
    -> First uninstall ALL  HP printers (laserjet, deskjet, officejet etc ..)
    -> Then look in
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Print Processors]
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers]
    Make a backup of the registry keys and then remove all files starting with hp….
    Remove the print processors starting with hp 
    (i.e. hpzpplhn.exe)
    Then restart your system.
    Reinstall the printers, they should be OK now.
    If you still have duplex printing problems : replace the hpzpplhm print processor with the winprint processor. (may give other limitations, google for more info).
    In my case this solved the erratic printing problems.

  • Ipad 2 Print button does not work after 6 upgrade?

    Since we upgraded to iOS6, our print button does not work and does not find our printer.  It was working fine until iOS6.  Called an Apple Technician and he had me reset, which wiped out all of my saved information but didn't fix the print.  He then started talking about a restore but the phone line went dead.  Has anyone had this problem?

    Today's iOS 6.1 update fixed the printer problem.

  • AcroPDF ActiveX print functions are not working with Adobe Reader 9.2 / Actobat Reader 9.3

    AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
    The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
    Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!

    Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
    BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround?

  • The print control could not work?

    Hi,
    I want to set my characters upside down in my smartforms,and i got something from the net about print control.I used the print control 'COL2V' in 'CNSAPWIN'.
    But when  i printed this form,it seems the print control did not work.So,anyone who could help me?

    If you Google COL2V you'll find that this is a control for ABAP List for "inversed" font, which is not upside down, I believe, but just the color inversion (e.g. white on black background).
    There are many questions on SCN regarding the text rotation (use Search) but since even SAP delivers a bitmap where a rotated text needs to be in the Smartform, I doubt there is such option through the print controls.

  • Why does my printer HP 3080 not work with Mac OS X VERSION 10.7.5

    Why does my printer HP 3080 not work with Mac OS X VERSION 10.7.5. Am I missing a driver? If so where do I go to download it? thanks

    What's the full model number and name of the printer?  I can't seem to find any HP printer with the numbers 3080 in the model number.
    How are you connecting the printer to the Mac?
    I am a printer tech for HP.

  • MY PRINTER SCANER IS NOT WORKING

    MY PRINTER SCANER IS NOT WORKING 
    WHAT CAN I DO

    Hello laharpur,
    Welcome to the HP Support Forums!
    I would like to help with your All-in-One not working, could you reply with the model of printer and the Operating System installed on your computer Windows or Mac?
    I will keep an eye out for your reply.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • The print tab does not work in mapquest

    The print tab does not work in mapquest

    You are on the right track to getting the printer installed regarding firewall but perhaps it has saved in a different port on your computer than can communicate correctly.  Search Devices and Printers on the Windows 8 PC so you can pull up the printers' folder. Do you see the Officejet 6500 in here (meaning have you installed it again)?  If you do not see it here, check your Print Server Properties and make sure the driver is not in here either, if so remove it.  Restart the Print Spooler. Make sure you uninstall it completely and shut down the PC (see video link on how to uninstall HP drivers and restart the print spooler in Windows 8 if needed).
    Remember to re-install the Full Feature Software and Drivers (for your OS and region) when the PC reboots.  Try the test print and if it does not print:
    1. Right-click on it and select Printer Properties.  
    2. Under the Ports tab make sure you see the printer's IP address here or a serial number.  Sometimes the HP network -rediscovery ports can be tricky.  
    3. When the printer is high-lighted in this window, click Add Port.  
    4. Select Standard TCP/IP and follow the rest of the prompts in the Wizard to enter in the printer's current IP address.
    5. Try to print.
    If this does not help you, you may have other computer problems.  
    Have you ever installed a printer on this PC before?  
    What is the name of the anti-virus software you use?
    Are you on a server, proxy, or other elaborate wireless setup?  
    Answer those questions for me please if the above information does not help you. I will do my best to assist. 
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Print queue does not work

    Since the update I did from Tiger to Leopard the Print Queue does not work. When I print a document the printer starts to jump up and down on the Dock for more than 5 minutes. Printing finishes and the icon of the printer is still "dancing" on the Dock. If I try to open Print Queue the window does not open immediately but after a long time and I can't see the printing documents that are waiting in the queue. As a result I can't stop or pause or delete a printing document. The same thing happens if I try to open Print Queue from the Print & Fax Preferences' window. The window opens after a long delay and nothing can't be controlled from this window. I forgot to say that the printer icon remains on the Dock and Force Quit is the only option I have when trying to quit it.
    I have tried Permissions Repair. Nothing happened. I installed the latest driver. The problem is still there. Only after Reseting Printing System the problem is fixed but until the first reboot. If I restart the computer then the problem appears again and the only thing I can do is to Reset again the Printing System. So, if I want to control the printing procedure, I have to Reset Printing System after every restart!!! Any help???
    P.S. I have a Canon iP4500 but I don't think that the printer is the problem because with Tiger I had never face this problem and I have also printed with this printer from a MacBook running Leopard with no problems.

    1) I tried Print Therapy and after I had repaired Permissions the problem was solved (some permission problems were found) until the next restart.
    2) Then I tried to stop and start again the cupsd process and again the problem was solved until the next restart of the computer.
    3) Then I replaced the cupsd.conf file with a new one but the app asked to restart the computer and after this the problem was back.
    4) Print Therapy does not find any problems neither in the properties of the root user nor in the current user or any other group.
    5) Also the verification of the temporary files find no problems.
    In conclusion I think that the problem lies in the cupsd process because when stopped and restarted (we can forget that by Repairing Permissions actually we restart cupsd) I have no problem until the next restart of the computer.

  • Iphone 5 cellular data not working,

    iphone 5 cellular data not working, so i reset the all phone settings and it is showing only apple symbol on the screen afer i switched on the top.How to fix this problem

    Hold the sleep / wake button and the home button down until the phone shuts off and then allow it to reboot again
    Please let us know if that helps

  • My finger print reader is not working and this unknown driver is not installing HP4230s

    my finger print reader is not working and i have tried the downloads available on hp website and many other but its not showing in the area where we configure the passwords for the pc
    and my other problem is as i have updated my pc to win 8 or 8.1 this device is not getting installed the hardware id is : ACPI\VEN_HPQ&DEV_0004
    kindly solve these problems as i really want to use this finger print and i dont know what is this unknown device all about

    my hp envy mp notebook fingerprint is not working, give the software for it !

  • Tecra M5: finger print sensor is not working properly since a drink was spilt into the keyboard

    My finger print sensor is not working properly since a drink was spilt into the keyboard. When booting up, it automatically "fails" 5 times in a row (without any attempts to swipe a finger), then defaults to password entry to boot the machine's hard drive.
    This is not a problem and all i want to do is disable the finger print sensor, but cannot work out how to do this. I've tried uninstalling the driver, which I seemed to do without any problems, but when rebooting, the sensor still seems active, and still goes through the same process.
    Everything else works fine and this is just a minor niggle, but I'd like to remove the annoyance of it beeping at me 5 times while it does its thing!
    Can anyone tell me how I completely disable it?
    Thank you.

    Have you removed the fingerprint software? If yes check if in device manager is listed some unknown device. Please post the result.
    Maybe you can try to disable this unknown device and it will not be recognized as new hardware every time when you start the notebook.

  • Finger print reader does not work

    i followed the directions and my print was scanned, rescanned,and the edges were scanned and accepted but the reader does not react when the phone is locked....i deleated and rescanned and followed all directions which accepted my finger print....once again thereader does not unlock the phone...any suggestions?

    I looked for software and found a suggestion which I down loaded. Now the finger print reader does not work either on Internet Explorer or on Firefox. So I had to do a reset to an early time to get rid of that soft ware. We are back to where I started, with the finger print reader working fine on Explorer 11 and it does not work at all on FireFox. There must be some work around, has this not occurred with other folks.

Maybe you are looking for