Quantcast
Viewing all articles
Browse latest Browse all 3825

New Post: Copy a file to windows dir

So i modified the script:
Copy-Item "saplogon.ini" "c:\windows" -Recurse -PassThru -ErrorVariable +errors -ErrorAction SilentlyContinue | Out-File "c:\temp\log.txt" -append
$errors | Out-File -FilePath "c:\temp\log.txt" -append
The setup runs but no logfile was be created. So what goes wrong mit dem script?!

Windows update log:
2013-08-30  15:10:31:678     304    888 Agent     * Added update {3577EAB3-751B-4FD3-AA17-FE84390F6092}.1 to search result
2013-08-30  15:10:31:678     304    888 Agent     * Found 1 updates and 119 categories in search; evaluated appl. rules of 603 out of 1076 deployed entities
2013-08-30  15:10:31:678     304    888 Agent   *********
2013-08-30  15:10:31:678     304    888 Agent   **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates]
2013-08-30  15:10:31:678     304    888 Agent   *************
2013-08-30  15:10:31:689     304    888 Report  REPORT EVENT: {F88C7E03-E9A7-45CF-AC10-00D84735D67E}    2013-08-30 15:10:25:264+0200    1   183 101 {3577EAB3-751B-4FD3-AA17-FE84390F6092}  1   0   AutomaticUpdates    Success Content Install Installation Successful: Windows successfully installed the following update: test2
2013-08-30  15:10:31:689     304    888 Report  CWERReporter finishing event handling. (00000000)
2013-08-30  15:10:31:689     304    d68 AU  >>##  RESUMED  ## AU: Search for updates [CallId = {E214BE18-1AF3-41DD-8191-6C0C73362533}]
2013-08-30  15:10:31:689     304    d68 AU    # 1 updates detected
2013-08-30  15:10:31:690     304    d68 AU  #########
2013-08-30  15:10:31:690     304    d68 AU  ##  END  ##  AU: Search for updates [CallId = {E214BE18-1AF3-41DD-8191-6C0C73362533}]
2013-08-30  15:10:31:690     304    d68 AU  #############
2013-08-30  15:10:31:690     304    d68 AU  Featured notifications is disabled.
2013-08-30  15:10:31:690     304    d68 AU  Setting AU scheduled install time to 2013-08-31 00:00:00
2013-08-30  15:10:31:690     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:690     304    d68 AU  Auto-approving update for download, updateId = {3577EAB3-751B-4FD3-AA17-FE84390F6092}.1, ForUx=0, IsOwnerUx=0, HasDeadline=0, IsMinor=0
2013-08-30  15:10:31:690     304    d68 AU  Auto-approved 1 update(s) for download (NOT for Ux)
2013-08-30  15:10:31:690     304    d68 AU  #############
2013-08-30  15:10:31:690     304    d68 AU  ## START ##  AU: Download updates
2013-08-30  15:10:31:690     304    d68 AU  #########
2013-08-30  15:10:31:690     304    d68 AU    # Approved updates = 1
2013-08-30  15:10:31:693     304    d68 AU  AU initiated download, updateId = {3577EAB3-751B-4FD3-AA17-FE84390F6092}.1, callId = {B17D1105-4A4B-4B5D-9376-AF4AB24AF028}
2013-08-30  15:10:31:693     304    d68 AU  Setting AU scheduled install time to 2013-08-31 00:00:00
2013-08-30  15:10:31:693     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:693     304    d68 AU  AU setting pending client directive to 'Download Progress'
2013-08-30  15:10:31:693     304    d68 AU  Changing existing AU client directive from 'Install Complete Ux' to 'Download Progress', session id = 0x3
2013-08-30  15:10:31:697     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:697     304    d68 AU    # Pending download calls = 1
2013-08-30  15:10:31:697     304    d68 AU  <<## SUBMITTED ## AU: Download updates
2013-08-30  15:10:31:699     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:700     304    888 DnldMgr *************
2013-08-30  15:10:31:700     304    888 DnldMgr ** START **  DnldMgr: Downloading updates [CallerId = AutomaticUpdates]
2013-08-30  15:10:31:700     304    888 DnldMgr *********
2013-08-30  15:10:31:700     304    888 DnldMgr   * Call ID = {B17D1105-4A4B-4B5D-9376-AF4AB24AF028}
2013-08-30  15:10:31:700     304    888 DnldMgr   * Priority = 2, Interactive = 0, Owner is system = 1, Explicit proxy = 0, Proxy session id = -1, ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
2013-08-30  15:10:31:700     304    888 DnldMgr   * Updates to download = 1
2013-08-30  15:10:31:700     304    888 Agent     *   Title = test2
2013-08-30  15:10:31:700     304    888 Agent     *   UpdateId = {3577EAB3-751B-4FD3-AA17-FE84390F6092}.1
2013-08-30  15:10:31:700    3484    1320    CltUI   AU client got new directive = 'Download Progress', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2013-08-30  15:10:31:715     304    888 DnldMgr ***********  DnldMgr: New download job [UpdateId = {3577EAB3-751B-4FD3-AA17-FE84390F6092}.1]  ***********
2013-08-30  15:10:31:716     304    888 DnldMgr   * All files for update were already downloaded and are valid.
2013-08-30  15:10:31:721     304    888 Agent   *********
2013-08-30  15:10:31:721     304    888 Agent   **  END  **  Agent: Downloading updates [CallerId = AutomaticUpdates]
2013-08-30  15:10:31:721     304    888 Agent   *************
2013-08-30  15:10:31:721     304    d68 AU  >>##  RESUMED  ## AU: Download update [UpdateId = {3577EAB3-751B-4FD3-AA17-FE84390F6092}, succeeded]
2013-08-30  15:10:31:721     304    d68 AU  #########
2013-08-30  15:10:31:721     304    d68 AU  ##  END  ##  AU: Download updates
2013-08-30  15:10:31:721     304    d68 AU  #############
2013-08-30  15:10:31:722     304    d68 AU  Setting AU scheduled install time to 2013-08-31 00:00:00
2013-08-30  15:10:31:722     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:722     304    d68 AU  AU setting pending client directive to 'Install Approval'
2013-08-30  15:10:31:722     304    d68 AU  Changing existing AU client directive from 'Download Progress' to 'Install Approval', session id = 0x3
2013-08-30  15:10:31:724     304    d68 AU  Successfully wrote event for AU health state:0
2013-08-30  15:10:31:726    3484    1320    CltUI   AU client got new directive = 'Install Approval', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2013-08-30  15:10:31:766     304    850 AU  Getting featured update notifications.  fIncludeDismissed = true
2013-08-30  15:10:31:766     304    850 AU  No featured updates available.
2013-08-30  15:10:31:772     304    850 AU  Getting featured update notifications.  fIncludeDismissed = true
2013-08-30  15:10:31:772     304    850 AU  No featured updates available.
2013-08-30  15:10:31:778     304    850 AU  Getting featured update notifications.  fIncludeDismissed = true
2013-08-30  15:10:31:778     304    850 AU  No featured updates available.
2013-08-30  15:10:36:689     304    888 Report  REPORT EVENT: {A357F897-5DAB-4E1B-B883-A1933F370965}    2013-08-30 15:10:31:722+0200    1   188 102 {00000000-0000-0000-0000-000000000000}  0   0   AutomaticUpdates    Success Content Install Installation Ready: The following updates are downloaded and ready for installation. This computer is currently scheduled to install these updates on ‎Samstag, ‎31. ‎August ‎2013 at 02:00:  - test2
2013-08-30  15:10:36:689     304    888 Report  CWERReporter finishing event handling. (00000000)

Viewing all articles
Browse latest Browse all 3825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>