Convert into zip file to .dns file with powershell

HI
I am using below command to take DNS zone backup and after zone export I am moving that file to other folder
with below script.
DNSCMD /zoneexport contoso.org contoso.org.dns
Move-Item c:\windows\system32\dns\contoso.org.dns e:\dns\contoso.org.dns
Now I want to convert.dns file to zip file so that I can send it to mail for all team members.

Hi there,
You can use the Write-Zip cmdlet available in the
PowerShell Community Extensions
There is a similar thread at below link:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/8f98f06e-79fe-401c-92f0-a548d4304dcc/how-to-zip-files-and-folders-using-powershell?forum=winserverpowershell
Hope this helps
Knowledge is Power{Shell}.

Similar Messages

  • OK , I have my instructional coaches creating power point presentation add audio to each slide with the presenter 10 add ins. I need these presentation converted into MP4 like you can do with adobe presenter video creator.

    Love the Adobe products first. OK , I have my instructional coaches creating power point presentation add audio to each slide with the presenter 10 add ins. I need these presentation converted into MP4 like you can do with adobe presenter video creator.

    If you import the PPT deck into Captivate it will not bring the audio from Presenter. But you can import it into Captivate after the slide deck has been imported. The audio files aren't necessarily named in a logical fashion in the source files for the presentation, so I would recommend that you publish the presentation locally and then find the 'data' folder in the published output and the audio files will be named in a way that you can infer the slide they are associated with. Not the simplest proceedure but it should be pretty painless.

  • Why is a 4MB Pages document converting into a 20.7MB epub file?  How can I reduce the size?

    I'm using Pages 4.3 to create epub files.  It converted a 112-page, 4 MB Pages document to a 20.7 MB epub file.  Yet when I converted the Pages document to a mobi file (for Amazon ebooks), it's only 3.6 MB.  Obviously I can't use a 20.7 MB file.  Why is it doing this and what can I do about it?
    Thanks for any information.

    bdaul wrote:
    > Urami,
    >
    > Thanks for the note. You mention "Reduce their quality
    in library,
    > individually each, it should let you bring down the site
    a bit."
    >
    > My source was taking an image apart in Photoshop then
    animating it's
    > reconstruction using AfterEffects Pro...producing a .mov
    file...outputing a FLV
    > (?) file...bringing it into FLASH...can you tell me more
    of where I need to in
    > which application?
    > '
    that's the thing that pump size.
    Video files.
    Please take note that FLV is not much better than regular
    video. In fact it's
    larger and lousier quality. So you could import MOV to flash
    and keep it as SWF.
    This would keep the file smaller a bit. Than you can always
    load these files
    in run time, swf and flv. Making main movie small and just
    stream the content when
    needed.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Converting html file into zip file and send email attaching zip file

    Hi Experts,
    I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
    So, Now i need to compress the data for less than 7MB.
    I decided to convert HTML File into ZIP File.
    Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
    Correct answer rewarded,
    Thanks & Regards,
    N. HARISH KUMAR

    Hi Experts,
    *// HTML_TAB converting into ZIP File
       DATA  : zip_tool TYPE REF TO cl_abap_zip,
               filename TYPE string ,
               filename_zip TYPE string .
       DATA  : t_data_tab TYPE TABLE OF x255,
               bin_size TYPE i,
               buffer_x TYPE xstring,
               buffer_zip TYPE xstring.
    filename = text-007.                                                                          "'HTML_TAB
    *describe the attachment
       DESCRIBE TABLE html_tab LINES tab_lines.
       bin_size = tab_lines * 255.
       CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
         EXPORTING
           input_length = bin_size
         IMPORTING
           buffer       = buffer_x
         TABLES
           binary_tab   = html_tab.
       IF sy-subrc <> 0.
    *     message id sy-msgid type sy-msgty number sy-msgno
    *     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    *create zip tool
       CREATE OBJECT zip_tool.
    *add binary file
       CALL METHOD zip_tool->add
         EXPORTING
           name    = 'FSSAI_MAIL.HTML'
           content = buffer_x.
    *get binary ZIP file
       CALL METHOD zip_tool->save
         RECEIVING
           zip = buffer_zip.
       CLEAR: t_data_tab[],bin_size.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer        = buffer_zip
         IMPORTING
           output_length = bin_size
         TABLES
           binary_tab    = html_tab.
    Thanks & Regards,
    N. HARISH KUMAR

  • How can one convert a PSD file into a RAW or DNG file?

    Lightroom does not assemble panoramas.  One must use an external editor,eg, Photoshop Elements, to construct a panorama.  Lightroom prepares the selected images by converting them to PSD files before sending them to the Elements Editor.  When the panorama is achieved, it cannot be saved as a RAW nor DNG file even if either of those formats were the original data format type in Lightroom.  Thus when the panorama is imported back into Lightroom  it is brought back as the PSD or something of your choosing; but you cannot choose a RAW nor DNG format.  The result is a folder in Lightroom with a hodge-podge of formats.    
    Question:  How can the PSD file panorama be converted into a RAW or DNG file in this transfer from an outside editor to Lightroom?

    That simply cannot be done. The conversion has to take place in order for Photoshop to create the panorama. Photoshop, by itself, without Camera Raw, cannot edit raw image data. By the time an image is opened in Photoshop is no longer raw image data. Photoshop is not capable of saving raw image data. The best thing to do is perform is much of the work as possible using using Lightroom. When I do a panorama image, I highlight all of the images and use the menu option to match total exposures. Then I do as much as possible on those images in Lightroom. Once the images leave Lightroom the raw editing is finished. Anything from that point onward that is done in Photoshop must be saved to a different file format.

  • IDOC to flat File----Problem in File Content Conversion at receiver

    hi experts,
    I am doing a IDOC to flat file secnario.
    My requirment is IDOCXI-Flat file
    Format of flat file is like:--
    Every segment in the IDOC will be converted into a single line of file(without any delimiter). So number of lines in flat file will be equal to number of segments in IDOC.
    I am facing problem in File Content conversion. 
    Please help me out..
    Thanks
    Jaideep

    Check this doc...
    [How To...Convert an IDoc-XML structure to a flat file and vice versa in XI 3.0 |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a]

  • When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    I too have the same problem.  The audio drop out of sync in about 5 sec in not uncommon for the audio to be 30+ sec behind video.  Apple needs to fix this!!!!!!!!!!!!!!!!   its a joke,  my iphone is all messed up after the last update as well.  at one time not to long ago apple products and software were top rated, not so much any more, more and more problems are showing up and apple is unwilling or unalbe to fix the many issues.  Apple needs to fix the audio sync problem, it not the computer hardware or other software it ITUNES!!!!,  there is no workaround other then hitting pause and hitting pause and hitting pause to temp fix the problem. 

  • My goal: "convert into pdf" -- the file is instantly saved with the same name as pdf. feasible?

    Good evening dear experts,
    i use Adobe Acrobat 9 pro extend to convert word, ppt, jepgs etc. into pdfs.
    No if i
    1) convert a ppt into a pdf: it asks --> "save as" --> converts --> opens the file
    2) convert a jpeg into a pdf: it instantly --> opens the file as pdf --> i need to save it manual under "save as"
    In both cases i want to
    my goal: "convert into pdf" --> the file is instantly saved with the same name as pdf
    WITHOUT asking me "save as" + "opening of the file".
    Is the possible, and if yes, HOW ?
    A fast answer is very very much appreciated, for i have to convert hundreds of files tonight in order to get it into 1 pdf
    Thx and greetings from Germany,
    Julia

    We are nearly there!
    A] - righclick "convert-to-method": @Bill: thx again, your approach worked for ppt, doc-files etc.
    2 problems:
    1) exception: for jpegs/bmps it doesn't work (the file is still opened after conversion, strange).
    2) the output-folder. it only accepts the standard "output-folder documents/*.pdf" (which is a step further but not my end-goal). If i choose another output-folder via "browse", this setting is NOT SAVED (even after clicking on "accept" + "ok").
    my goal: the the file should be automatically saved in THE SAME folder the original file is in (seems that can't be achieved and the standard folder is the only thing where to convert in?).
    Personal background for understanding: i have many folders with several ppts in it. Once i send it out to a customer, i always have to convert it into a pdf. thats why i want to save time (i know that i can convert it directly + send per mail, but i want an up-to-date copy of the pdf in the folder as well).
    B] - "the automated solution"- @Sandeep:
    i just watched your link http://tv.adobe.com/watch/acrobat-tips-and-tricks/automating-tasks-in-acrobat/
    about batch processing and i think its really helpful if i want to convert ALL of the files in one folder.
    1 question regarding this: are the subfolders also affected?
    As i understood from the video, i choose 1 "watched folder" and a "destination folder" (can be the same). E.g i have 1 big folder "designs" with many subfolders. I create a batch converting ppts to pdf to "the same folder" Once i run my batch, it converts ppts in the chosen folder "designs" + all subfolders into the same folder, right?
    If this is the case, i get too many pdfs, for i only need the latest ppt-version to be converted (copies of old ppts are also in the files) ;(.
    Do you have an idea how can i solve this?
    Now we are very near to the end-solution of my goal:
    i need this option "to the same folder" in my general settings when i convert a file via right-click. ATM it only works with the standard-folder documents/*.pdf
    In A], my files are now instantly saved with the same name in 1 specific folder. I would be completely happy, if this folder would be alwys the same as the one with the original file (and not 1 specific folder)
    2nd problem with a]: it does not apply to picture files (bmp, jpegs..)
    So if we could solve this, i would be a completely happy girl
    Guys, you are great, thx again for the whole struggle with my concerns!!

  • Is it safe to convert vivado generated Kintex 7 .bit file into SVF file with ISE14.7 Impact?

    Hi,
    I need to configure Kintex 7 chips in our system with SVF files (they will be accessible via SVF capable hardware only).
    Unfortunately Vivado doesn't support generation of SVF files (yet?).
    It seems, that I can convert the .bit file generated by Vivado with Impact from ISE14.7.
    Are there any risks associated with such mixing of tools?
    TIA & Regards,
    Wojtek
     

    We have an early access for svf generation 2015.1. You need to contact Xilinx FAE or open a service request to get the flow.
    Public access for SVF generation will be available from 2015.3 version.

  • Is there a way for converting WCF service into Azure Cloud Service without dealing with project files.

    Here is my situation.
    We provide Platform and SDK to other people where they can build WCF services and deploy that on site. We have a  many ISVs who has built wcf services, packaged them and ship them.
    Packaging consist of couple of manifest file and .dll file that make up wcf service. Now we want to go on cloud with our platform.
    Long story short - I have all the dlls for my wcf service but no project file.
    Is there a way to generate cloud service package from this dll files?

    Hi,
    You can't simply package your dlls and deploy it as a azure cloud service deployment package - you will need to have your project as well as service definition file which will define your role and instances.
    You can read more about packaging an Application by Using the CSPack Command-Line Tool here -http://msdn.microsoft.com/en-us/library/azure/gg433133.aspx
    another way to go to cloud platform is by making use of azure web sites, however you will still need your service files do deploy.
    If you have the dlls and the service files with you - then you can simply use the web site publish wizard and deploy to azure web site.
    Read more about it here - http://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/
    Bhushan | Blog |
    LinkedIn | Twitter

  • How do I convert an .mp4 h.264 file into a simple Mpeg 2 file...

    I've had Quicktime for quitesometime now.
    I'been been through many QT versions but version 7 series, I think has problems.
    I've been dl'ing .mp4 files, with h.264 codecs.
    Quicktime plays them wonderfully but I'd like to put the movies on my media servers and stream them to my network dvd players(thin-clients).
    They can stream mpeg 1 and 2 great, as well as Xvid, Divx, and even VOBs'.
    I installed Quicktime 7 along time ago, and tried an export to many different data file formats. I would either get no video or no sound. I have just about every codec needed to do any conversion to Divx or Xvid.
    I also installed 3ivx.
    Can anyone tell me how something so simple can be so difficult? QuickTime, if it plays it, and shows that its capable of exporting to different formats, should be able to do the job.
    Beleive me, I know what your thinking. I've going as far as formatting, reinstalling Windows XP Pro, Updating, etc many times just to try to re-encode these .mp4 files into something big, yes, a large RAW file. Something that can be easily converted into anything else such as the basic old Mpg 1 or 2 file...
    Please, any help would be apprecaited!
    NeuroPsyche

    I tried ffmpeg but it just doesn't seem like it does a very good job at converting. I dont know why, but I think its because the .mp4 file has 6.1 sound or that new acc codec.
    I'm not sure about it, but when I do use ffmpeg, the sound doens't come out.
    Thanks!
    Dave.
    QuickTime doesn't have the capability to export to
    MPEG-1 or MPEG-2, at least not without third-party
    codecs (and I'm not aware of any for Windows for
    those formats, though there could be some somewhere).
    You might want to take a look at the open-source ffmpeg which can
    convert H.264 to MPEG-1 and MPEG-2 (as well as a
    number of other formats).
    Hope this helps.

  • Images in PDF file being converted into Word elements (e.g. tables and text boxes)

    A friend of mine has recently signed up to ExportPDF so that he can convert PDF format wiring diagrams into Word format.  On trying this the other day, we found that the wiring diagrams in the PDF file were being converted into elements of Word such as tables and text boxes.
    Is there any way to get the diagrams converted into pictures within the Word document so that they can be copied and pasted into other documents?  From looking at the limited settings panel to the right of the document in Reader I can't see it.

    Perhaps an application dedicated to converting PDF's to Word documents may get better results.
    Here's a free online converter I use with occasional success: http://www.pdftoword.com/

  • How to convert a PDF file into a full editable WORD file?

    Hi,
    I tried to convert a pdf file into word but it is not fully editable. I can edit the title from the main page and that's it. The rest of the word document is saved as image. I tried editing teh pdf file but that one is not working either.
    Please help on how to convert a PDF file into a full editable WORD file.
    Thank you

    Not all PDF files are created equal.  When a PDF file is created with Adobe Tools it is usually "tagged" with information about the fonts the images, the layout etc...    This way when the PDF is saved to a new format like PPT or DOC then the results are usually usable.  However, if you have a PDF file that was not tagged for some reason then run the Accessibility tools on the PDF to acquire some basic tagging.  This may get you a better result.  Also if you have a PDF that is an image, then you may want to run OCR on it.

  • When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    FCE can use DV or AIC video formats natively.  Any other format will need to be converted to one of those two if you want to avoid constant rendering.  The clips you use must match the Sequence settings.
    -DH

  • No Microsoft files listed in the settings "convert into PDF files"

    Hi, I wanted to convert different Microsoft Office files, but it doesn't work. There are no Microsoft files listed in the settings "convert into PDF files". I had the trial version of Adobe Acrobat Pro XI installed on a MAC in Windows that runs trough Parallels. Hope somebody can help. Thx

    Hi Rahul,
    many thanks for your suggestion.
    Yes, Parallels is a virtual machine on the top of MAC and I can see all files in the Windows Explorer. Also the ones I created on the MAC top with the Microsoft Office Software Word or Excel for MAC as well the ones I created earlier on a Windows PC.
    Unfortunately there is no possibility to convert files into PDF format with a click on the right mouse. And Adobe also doesn't open Word documents because it doesn't support this format.
    But nonetheless it wouldn't be a solution that I prefer to convert in adavance every single file in a PDF format. I need to create a PDF package from different formats.
    I assume this issue has to do something with MAC or Parallels, because this function of the Adobe Versions Acrobat 8 Pro and XI Pro work well on a Windows PC. I just don't understand why there are no Microsoft Office file formats listed in the Adobe settings. This settings also can't be changed. I tried to find out but couldn't find any hint for this problem thus I'm a bit at a loss... Maybe you have another idea?
    Regards
    Ly

Maybe you are looking for