True! Only been tested it against packages and TS’s..didn’t notice that..

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Eswar Koneti
Sent: 26 October 2014 01:45
To: mssms@lists.myitforum.com
Subject: RE: [mssms] RE: PoSH script to check if "Fallback source locations for 
content" option is checked

This is only for legacy packages but not for packages created using new 
application model.

Regards,
Eswar Koneti
www.eskonr.com<http://www.eskonr.com>
Sent from Mobile Device, excuse any typo's as a result.

--- Original Message ---

From: "Phil Wilcock" <ph...@2pintsoftware.com<mailto:ph...@2pintsoftware.com>>
Sent: October 26, 2014 5:51 AM
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] RE: PoSH script to check if "Fallback source locations for 
content" option is checked

You can use this bit of SQL too – checks the AdvertFlags to see if that bit is 
flipped…



SELECT

  ad.AdvertisementID,

  ad.AdvertisementName,

  AdvertFlags,

  (AdvertFlags & 0x00020000)/0x00020000 AS DONOT_FALLBACK

FROM dbo.v_Advertisement ad





Of course if the result is a 1 the checkbox is empty as it’s DONOT_FALLBACK



From this great article… - 
http://myitforum.com/cs2/blogs/jnelson/archive/2011/06/21/158110.aspx



Cheers, Phil



From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Johns, Damon (DoJ)
Sent: 24 October 2014 21:51
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] RE: PoSH script to check if "Fallback source locations for 
content" option is checked



Thanks Daniel,



That’s what I was after, Cheers!



Damon



From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Daniel Ratliff
Sent: Friday, 24 October 2014 11:47 PM
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] RE: PoSH script to check if "Fallback source locations for 
content" option is checked



Looks like its in the DeploymentType XML. Just a start, but should get you what 
you need.



Get-CMDeploymentType -ApplicationName "Captivate" | select -expand 
SDMPackageXML | out-file c:\temp\xml.xml



<FallbackToUnprotectedDP>true</FallbackToUnprotectedDP>



Daniel Ratliff



From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Daniel Ratliff
Sent: Friday, October 24, 2014 8:25 AM
To: mssms@lists.myitforum.com<mailto:mssms@lists.myitforum.com>
Subject: [mssms] RE: PoSH script to check if "Fallback source locations for 
content" option is checked



I am pretty sure that is available in the native CM cmdlets. Ill check…



Daniel Ratliff



From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> 
[mailto:listsad...@lists.myitforum.com] On Behalf Of Johns, Damon (DoJ)
Sent: Friday, October 24, 2014 12:08 AM
To: 'mssms@lists.myitforum.com'
Subject: [mssms] PoSH script to check if "Fallback source locations for 
content" option is checked



Hi Everyone,



Has anyone written a Powershell script to check if the option “Allow clients to 
use a fallback source location for content” is enabled or not? I need to check 
if anyone has enabled this option or not for reporting purposes and I don’t 
really want to go through each of my 350 odd apps.



Any assistance would be greatly appreciated!



Cheers

__________________________________________________________

Damon Johns  |  Senior IT Officer

IT Services  |  Department of Justice  |

•        Executive Building    Level 4, 15 Murray Street    HOBART  TAS  7001

•        p:  03 616 53492  |   m:  0417 386 022

•         damon.jo...@justice.tas.gov.au<mailto:damon.jo...@justice.tas.gov.au>





________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.





________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.





Reply via email to